	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_server
_start_server:                          ## @start_server
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_nonfork@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	callq	_fork
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	jns	LBB0_4
## %bb.3:
	movq	$0, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	_instance@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_instance_handle_sigchld@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movl	$1, %edi
	callq	_ead_pcap_reopen
	xorl	%eax, %eax
	callq	_ead_pktloop
	movq	_pcap_fp@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_pcap_close
	movq	_pcap_fp_rx@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	cmpq	(%rbx), %rdi
	je	LBB0_7
## %bb.6:
	callq	_pcap_close
LBB0_7:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_nonfork,4,2                    ## @nonfork
	.comm	_instance,8,3                   ## @instance
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_instance_handle_sigchld,4,2    ## @instance_handle_sigchld
	.comm	_pcap_fp,8,3                    ## @pcap_fp
	.comm	_pcap_fp_rx,8,3                 ## @pcap_fp_rx
	.no_dead_strip	_start_server
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_server
_start_server:                          ; @start_server
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _nonfork@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nonfork@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_5
; %bb.1:
	bl	_fork
	str	x0, [x19]
	cbz	x0, LBB0_5
; %bb.2:
	tbz	x0, #63, LBB0_4
; %bb.3:
	str	xzr, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh3:
	adrp	x8, _instance@GOTPAGE
Lloh4:
	ldr	x8, [x8, _instance@GOTPAGEOFF]
Lloh5:
	str	x19, [x8]
Lloh6:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _instance_handle_sigchld@GOTPAGE
Lloh10:
	ldr	x8, [x8, _instance_handle_sigchld@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_signal
	mov	w0, #1
	bl	_ead_pcap_reopen
	bl	_ead_pktloop
Lloh12:
	adrp	x19, _pcap_fp@GOTPAGE
Lloh13:
	ldr	x19, [x19, _pcap_fp@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_pcap_close
Lloh14:
	adrp	x8, _pcap_fp_rx@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pcap_fp_rx@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
	bl	_pcap_close
LBB0_7:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_nonfork,4,2                    ; @nonfork
	.comm	_instance,8,3                   ; @instance
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_instance_handle_sigchld,4,2    ; @instance_handle_sigchld
	.comm	_pcap_fp,8,3                    ; @pcap_fp
	.comm	_pcap_fp_rx,8,3                 ; @pcap_fp_rx
	.no_dead_strip	_start_server
.subsections_via_symbols
