	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dofork
_dofork:                                ## @dofork
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_daemon_uname@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	jne	LBB0_4
## %bb.1:
	movl	4(%r15), %edi
	callq	_getpwuid
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_strdup
	movq	%rax, (%r12)
	movl	(%rbx), %eax
	movq	_daemon_defgid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_4:
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.5:
	xorl	%edi, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.6:
	movl	$1, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.7:
	movl	$4, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.8:
	movl	$9, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.9:
	movl	$16, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.10:
	movl	$25, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.11:
	movl	$36, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.12:
	movl	$49, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.13:
	movl	$64, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.14:
	movl	$81, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.15:
	movl	$100, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.16:
	movl	$121, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.17:
	movl	$144, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.18:
	movl	$169, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.19:
	movl	$196, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.20:
	movl	$225, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.21:
	movl	$256, %edi                      ## imm = 0x100
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.22:
	movl	$289, %edi                      ## imm = 0x121
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_29
## %bb.23:
	movl	$324, %edi                      ## imm = 0x144
	callq	_sleep
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	js	LBB0_24
LBB0_29:
	testl	%eax, %eax
	jne	LBB0_38
## %bb.30:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	(%r12), %rdi
	movq	_daemon_defgid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_initgroups
	testl	%eax, %eax
	jne	LBB0_31
## %bb.32:
	movl	(%rbx), %edi
	callq	_setgid
	testl	%eax, %eax
	jne	LBB0_33
## %bb.34:
	movl	4(%r15), %edi
	callq	_setuid
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_38
## %bb.35:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	movl	4(%r15), %ecx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_36
LBB0_2:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	movl	4(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
LBB0_25:
	movq	_LOG_ERR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	(%r15), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	$1, %edi
	callq	_sleep
	movl	$-1, %eax
	cmpl	$128, %r14d
	jne	LBB0_26
LBB0_38:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	movq	(%r12), %rcx
	movl	(%rbx), %r8d
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_37
LBB0_33:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	movl	(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
LBB0_36:
	xorl	%eax, %eax
	callq	_syslog
LBB0_37:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	$1, %edi
	callq	_exit
LBB0_26:
	cmpl	$129, %r14d
	je	LBB0_28
## %bb.27:
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_syslog
LBB0_28:
	movl	$1, %edi
	callq	_exit
LBB0_24:
	movl	$361, %edi                      ## imm = 0x169
	callq	_sleep
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_daemon_uname,8,3               ## @daemon_uname
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Can't lookup default daemon uid (%ld) in password file"

	.comm	_daemon_defgid,4,2              ## @daemon_defgid
	.comm	_errno,8,3                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"%s: initgroups(%s,%u): %m"

L_.str.2:                               ## @.str.2
	.asciz	"%s: setgid(%u): %m"

L_.str.3:                               ## @.str.3
	.asciz	"%s: setuid(%ld): %m"

L_.str.4:                               ## @.str.4
	.asciz	"%s: dofork(): aborting child process..."

L_.str.5:                               ## @.str.5
	.asciz	"%s: dofork(): failure in fork"

L_.str.6:                               ## @.str.6
	.asciz	"bad action (%d) to dofork"

	.no_dead_strip	_dofork
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dofork
_dofork:                                ; @dofork
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _daemon_uname@GOTPAGE
Lloh1:
	ldr	x22, [x22, _daemon_uname@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_fork
	tbz	w0, #31, LBB0_23
	b	LBB0_4
LBB0_2:
	ldr	w0, [x19, #4]
	bl	_getpwuid
	cbz	x0, LBB0_28
; %bb.3:
	mov	x21, x0
	ldr	w0, [x0, #4]
	bl	_strdup
	str	x0, [x22]
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _daemon_defgid@GOTPAGE
Lloh3:
	ldr	x9, [x9, _daemon_defgid@GOTPAGEOFF]
Lloh4:
	str	w8, [x9]
	bl	_fork
	tbz	w0, #31, LBB0_23
LBB0_4:
	mov	w0, #0
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.5:
	mov	w0, #1
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.6:
	mov	w0, #4
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.7:
	mov	w0, #9
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.8:
	mov	w0, #16
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.9:
	mov	w0, #25
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.10:
	mov	w0, #36
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.11:
	mov	w0, #49
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.12:
	mov	w0, #64
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.13:
	mov	w0, #81
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.14:
	mov	w0, #100
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.15:
	mov	w0, #121
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.16:
	mov	w0, #144
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.17:
	mov	w0, #169
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.18:
	mov	w0, #196
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.19:
	mov	w0, #225
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.20:
	mov	w0, #256
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.21:
	mov	w0, #289
	bl	_sleep
	bl	_fork
	tbz	w0, #31, LBB0_23
; %bb.22:
	mov	w0, #324
	bl	_sleep
	bl	_fork
	tbnz	w0, #31, LBB0_38
LBB0_23:
	cbnz	w0, LBB0_31
; %bb.24:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
	ldr	x0, [x22]
Lloh8:
	adrp	x20, _daemon_defgid@GOTPAGE
Lloh9:
	ldr	x20, [x20, _daemon_defgid@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_initgroups
	cbnz	w0, LBB0_32
; %bb.25:
	ldr	w0, [x20]
	bl	_setgid
	cbnz	w0, LBB0_33
; %bb.26:
	ldr	w0, [x19, #4]
	bl	_setuid
	cbz	w0, LBB0_31
; %bb.27:
Lloh10:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	w2, w8, [x19]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_34
LBB0_28:
Lloh15:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	w2, w8, [x19]
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_syslog
LBB0_29:
Lloh20:
	adrp	x21, _LOG_ERR@GOTPAGE
Lloh21:
	ldr	x21, [x21, _LOG_ERR@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w2, [x19]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_syslog
	mov	w0, #1
	bl	_sleep
	cmp	w20, #128
	b.ne	LBB0_35
; %bb.30:
	mov	w0, #-1
LBB0_31:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_32:
Lloh24:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w2, [x19]
	ldr	x8, [x22]
	ldr	w9, [x20]
	stp	x8, x9, [sp]
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_34
LBB0_33:
Lloh29:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldr	w2, [x19]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_34:
	bl	_syslog
Lloh34:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_syslog
	mov	w0, #1
	bl	_exit
LBB0_35:
	cmp	w20, #129
	b.eq	LBB0_37
; %bb.36:
	ldr	w0, [x21]
Lloh39:
	adrp	x1, l_.str.6@PAGE
Lloh40:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x20
	bl	_syslog
LBB0_37:
	mov	w0, #1
	bl	_exit
LBB0_38:
	mov	w0, #361
	bl	_sleep
	b	LBB0_29
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_daemon_uname,8,3               ; @daemon_uname
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Can't lookup default daemon uid (%ld) in password file"

	.comm	_daemon_defgid,4,2              ; @daemon_defgid
	.comm	_errno,8,3                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"%s: initgroups(%s,%u): %m"

l_.str.2:                               ; @.str.2
	.asciz	"%s: setgid(%u): %m"

l_.str.3:                               ; @.str.3
	.asciz	"%s: setuid(%ld): %m"

l_.str.4:                               ; @.str.4
	.asciz	"%s: dofork(): aborting child process..."

l_.str.5:                               ; @.str.5
	.asciz	"%s: dofork(): failure in fork"

l_.str.6:                               ; @.str.6
	.asciz	"bad action (%d) to dofork"

	.no_dead_strip	_dofork
.subsections_via_symbols
