	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spawn_child
_spawn_child:                           ## @spawn_child
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r13
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$4, -188(%rbp)
	movslq	%ecx, %rax
	movl	(%rsi,%rax,4), %edi
	leaq	-184(%rbp), %rsi
	leaq	-188(%rbp), %rdx
	callq	_accept
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_rk_IS_BAD_SOCKET
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_rk_SOCK_ERRNO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %edi
	callq	_krb5_warn
	jmp	LBB0_16
LBB0_2:
	leaq	-184(%rbp), %rsi
	leaq	-180(%rbp), %rdx
	movl	%r12d, %edi
	callq	_krb5_sockaddr2address
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_krb5_warn
	jmp	LBB0_8
LBB0_4:
	leaq	-180(%rbp), %rdi
	leaq	-176(%rbp), %rsi
	leaq	-200(%rbp), %rcx
	movl	$128, %edx
	callq	_krb5_print_address
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_krb5_warn
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	leaq	-176(%rbp), %rdx
	movl	%r12d, %edi
	callq	_krb5_warnx
LBB0_7:
	leaq	-180(%rbp), %rsi
	movl	%r12d, %edi
	callq	_krb5_free_address
LBB0_8:
	xorl	%eax, %eax
	callq	_fork
	testq	%rax, %rax
	je	LBB0_9
## %bb.15:
	movl	%r14d, %edi
	callq	_rk_closesocket
LBB0_16:
	movl	$1, %ebx
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%ebx, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.10:
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	callq	_rk_closesocket
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_11
LBB0_12:
	movq	_STDIN_FILENO@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%r14d, %edi
	callq	_dup2
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%r14d, %edi
	callq	_dup2
	xorl	%ebx, %ebx
	cmpl	(%r12), %r14d
	je	LBB0_17
## %bb.13:
	cmpl	(%r15), %r14d
	je	LBB0_17
## %bb.14:
	movl	%r14d, %edi
	callq	_rk_closesocket
	jmp	LBB0_17
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_rk_SOCK_ERRNO,4,2              ## @rk_SOCK_ERRNO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"accept"

L_.str.1:                               ## @.str.1
	.asciz	"krb5_sockaddr2address"

L_.str.2:                               ## @.str.2
	.asciz	"krb5_print_address"

L_.str.3:                               ## @.str.3
	.asciz	"connection from %s"

	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.no_dead_strip	_spawn_child
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spawn_child
_spawn_child:                           ; @spawn_child
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	w8, #4
	str	w8, [sp, #12]
	ldr	w0, [x1, w3, sxtw #2]
	add	x1, sp, #16
	add	x2, sp, #12
	bl	_accept
	mov	x19, x0
	bl	_rk_IS_BAD_SOCKET
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _rk_SOCK_ERRNO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rk_SOCK_ERRNO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	bl	_krb5_warn
	b	LBB0_5
LBB0_2:
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x22
	bl	_krb5_sockaddr2address
	cbz	w0, LBB0_8
; %bb.3:
	mov	x1, x0
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_krb5_warn
	bl	_fork
	cbz	x0, LBB0_12
LBB0_4:
	mov	x0, x19
	bl	_rk_closesocket
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.7:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_8:
	add	x0, sp, #8
	add	x1, sp, #24
	mov	x3, sp
	mov	w2, #128
	bl	_krb5_print_address
	cbz	w0, LBB0_10
; %bb.9:
	mov	x1, x0
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_krb5_warn
	b	LBB0_11
LBB0_10:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #24
	mov	x0, x22
	bl	_krb5_warnx
LBB0_11:
	add	x1, sp, #8
	mov	x0, x22
	bl	_krb5_free_address
	bl	_fork
	cbnz	x0, LBB0_4
LBB0_12:
	cbz	w21, LBB0_15
; %bb.13:
	mov	w21, w21
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	bl	_rk_closesocket
	subs	x21, x21, #1
	b.ne	LBB0_14
LBB0_15:
Lloh17:
	adrp	x20, _STDIN_FILENO@GOTPAGE
Lloh18:
	ldr	x20, [x20, _STDIN_FILENO@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_dup2
Lloh19:
	adrp	x21, _STDOUT_FILENO@GOTPAGE
Lloh20:
	ldr	x21, [x21, _STDOUT_FILENO@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_dup2
	ldr	w8, [x20]
	ldr	w9, [x21]
	cmp	w19, w8
	ccmp	w19, w9, #4, ne
	b.ne	LBB0_17
; %bb.16:
	mov	w0, #0
	b	LBB0_6
LBB0_17:
	mov	x0, x19
	bl	_rk_closesocket
	mov	w0, #0
	b	LBB0_6
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_rk_SOCK_ERRNO,4,2              ; @rk_SOCK_ERRNO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"accept"

l_.str.1:                               ; @.str.1
	.asciz	"krb5_sockaddr2address"

l_.str.2:                               ; @.str.2
	.asciz	"krb5_print_address"

l_.str.3:                               ; @.str.3
	.asciz	"connection from %s"

	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.no_dead_strip	_spawn_child
.subsections_via_symbols
