	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle
_handle:                                ## @handle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -192(%rbp)
	movq	_max_connections@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_live_children@GOTPCREL(%rip), %r12
	cmpq	%rax, (%r12)
	jl	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	callq	_kill_some_child
	movl	$1, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_check_dead_children
	movq	(%r12), %rax
	cmpq	(%rbx), %rax
	jge	LBB0_3
LBB0_5:
	movq	(%r14), %rdi
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_7
## %bb.6:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	leaq	4(%r14), %rsi
	leaq	-176(%rbp), %r12
	movq	%r12, %rdx
	movl	$128, %ecx
	callq	_inet_ntop
	movl	%r13d, %ebx
	leaq	-180(%rbp), %r13
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_7:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_10
## %bb.8:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	leaq	4(%r14), %rsi
	leaq	-176(%rbp), %r12
	movq	%r12, %rdx
	movl	$128, %ecx
	callq	_inet_ntop
	movl	%r13d, %ebx
	leaq	-180(%rbp), %r13
	leaq	L_.str.3(%rip), %rsi
LBB0_9:
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_argv_array_pushf
	movl	(%r14), %edi
	callq	_ntohs
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %r13d
	movq	%rax, %rdx
	callq	_argv_array_pushf
LBB0_10:
	movq	_cld_argv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -184(%rbp)
	movl	%r15d, -192(%rbp)
	movl	%r15d, %edi
	callq	_dup
	movl	%eax, -188(%rbp)
	leaq	-192(%rbp), %rdi
	callq	_start_command
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	callq	_logerror
	jmp	LBB0_13
LBB0_12:
	leaq	-192(%rbp), %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_add_child
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%r15d, %edi
	callq	_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.4:
	leaq	L_.str(%rip), %rdi
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_logerror                       ## TAILCALL
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,16,2        ## @CHILD_PROCESS_INIT
	.comm	_max_connections,8,3            ## @max_connections
	.comm	_live_children,8,3              ## @live_children
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Too many children, dropping connection"

	.comm	_AF_INET,8,3                    ## @AF_INET
L_.str.1:                               ## @.str.1
	.asciz	"REMOTE_ADDR=%s"

L_.str.2:                               ## @.str.2
	.asciz	"REMOTE_PORT=%d"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
L_.str.3:                               ## @.str.3
	.asciz	"REMOTE_ADDR=[%s]"

	.comm	_cld_argv,4,2                   ## @cld_argv
L_.str.4:                               ## @.str.4
	.asciz	"unable to fork"

	.no_dead_strip	_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle
_handle:                                ; @handle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh6:
	adrp	x22, _max_connections@GOTPAGE
Lloh7:
	ldr	x22, [x22, _max_connections@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh8:
	adrp	x23, _live_children@GOTPAGE
Lloh9:
	ldr	x23, [x23, _live_children@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, #0
	ccmp	x9, x8, #8, ne
	b.lt	LBB0_2
; %bb.1:
	bl	_kill_some_child
	mov	w0, #1
	bl	_sleep
	bl	_check_dead_children
	ldr	x8, [x23]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ge	LBB0_12
LBB0_2:
	ldr	x0, [x20]
Lloh10:
	adrp	x8, _AF_INET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #112]
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	add	x1, x20, #4
	stp	q0, q0, [sp, #16]
	add	x2, sp, #16
	mov	w3, #128
	bl	_inet_ntop
	mov	x8, sp
	orr	x22, x8, #0xc
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh15:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #112]
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	add	x1, x20, #4
	stp	q0, q0, [sp, #16]
	add	x2, sp, #16
	mov	w3, #128
	bl	_inet_ntop
	mov	x8, sp
	orr	x22, x8, #0xc
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_6:
	add	x2, sp, #16
	mov	x0, x22
	bl	_argv_array_pushf
	ldr	w0, [x20]
	bl	_ntohs
	mov	x2, x0
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_argv_array_pushf
LBB0_7:
Lloh22:
	adrp	x8, _cld_argv@GOTPAGE
Lloh23:
	ldr	x8, [x8, _cld_argv@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	w21, [sp]
	mov	x0, x21
	bl	_dup
	str	w0, [sp, #4]
	mov	x0, sp
	bl	_start_command
	cbz	x0, LBB0_9
; %bb.8:
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_logerror
	b	LBB0_10
LBB0_9:
	mov	x0, sp
	mov	x1, x20
	mov	x2, x19
	bl	_add_child
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.11:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_12:
	mov	x0, x21
	bl	_close
	ldur	x8, [x29, #-56]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
Lloh33:
	adrp	x0, l_.str@PAGE
Lloh34:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_logerror
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,16,2        ; @CHILD_PROCESS_INIT
	.comm	_max_connections,8,3            ; @max_connections
	.comm	_live_children,8,3              ; @live_children
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Too many children, dropping connection"

	.comm	_AF_INET,8,3                    ; @AF_INET
l_.str.1:                               ; @.str.1
	.asciz	"REMOTE_ADDR=%s"

l_.str.2:                               ; @.str.2
	.asciz	"REMOTE_PORT=%d"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
l_.str.3:                               ; @.str.3
	.asciz	"REMOTE_ADDR=[%s]"

	.comm	_cld_argv,4,2                   ; @cld_argv
l_.str.4:                               ; @.str.4
	.asciz	"unable to fork"

	.no_dead_strip	_handle
.subsections_via_symbols
