	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function child_one
_child_one:                             ## @child_one
	.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
	leaq	L_.str(%rip), %rdi
	callq	_getpwnam
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_err
LBB0_2:
	movl	(%rbx), %edi
	callq	_setuid
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_4:
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.6:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	callq	_child_two
LBB0_8:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nobody"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"getpwnam(\"%s\")"

L_.str.2:                               ## @.str.2
	.asciz	"setuid(%d)"

L_.str.3:                               ## @.str.3
	.asciz	"fork()"

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.no_dead_strip	_child_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function child_one
_child_one:                             ; @child_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_getpwnam
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
LBB0_2:
	ldr	w0, [x19]
	bl	_setuid
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
LBB0_4:
	bl	_fork
	cbz	w0, LBB0_7
; %bb.5:
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.6:
Lloh12:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
	b	LBB0_8
LBB0_7:
	bl	_child_two
LBB0_8:
Lloh17:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	__exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nobody"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"getpwnam(\"%s\")"

l_.str.2:                               ; @.str.2
	.asciz	"setuid(%d)"

l_.str.3:                               ; @.str.3
	.asciz	"fork()"

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.no_dead_strip	_child_one
.subsections_via_symbols
