	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fork_postauth
_fork_postauth:                         ## @fork_postauth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_need_controlpersist_detach@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_control_persist_detach
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_debug
	movq	_fork_after_authentication_flag@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	$1, %edi
	movl	$1, %esi
	callq	_daemon
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	popq	%rbp
	retq
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	popq	%rbp
	jmp	_fatal                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_need_controlpersist_detach,8,3 ## @need_controlpersist_detach
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"forking to background"

	.comm	_fork_after_authentication_flag,8,3 ## @fork_after_authentication_flag
L_.str.1:                               ## @.str.1
	.asciz	"daemon() failed: %.200s"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_fork_postauth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fork_postauth
_fork_postauth:                         ; @fork_postauth
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _need_controlpersist_detach@GOTPAGE
Lloh1:
	ldr	x8, [x8, _need_controlpersist_detach@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_control_persist_detach
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug
Lloh5:
	adrp	x8, _fork_after_authentication_flag@GOTPAGE
Lloh6:
	ldr	x8, [x8, _fork_after_authentication_flag@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
	mov	w0, #1
	mov	w1, #1
	bl	_daemon
	tbnz	x0, #63, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_strerror
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_fatal
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_need_controlpersist_detach,8,3 ; @need_controlpersist_detach
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"forking to background"

	.comm	_fork_after_authentication_flag,8,3 ; @fork_after_authentication_flag
l_.str.1:                               ; @.str.1
	.asciz	"daemon() failed: %.200s"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_fork_postauth
.subsections_via_symbols
