	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_uid_gid_chroot
_do_uid_gid_chroot:                     ## @do_uid_gid_chroot
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.1:
	cmpl	$0, (%rbx)
	jne	LBB0_14
## %bb.2:
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	24(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	callq	_platform_chroot
	jmp	LBB0_7
LBB0_5:
	cmpq	$0, (%r15)
	je	LBB0_7
## %bb.6:
	movq	_M_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	_do_uid_gid_chroot.why_not(%rip), %rdx
	callq	_msg
LBB0_7:
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.8:
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.9:
	leaq	8(%rbx), %rdi
	callq	_platform_group_set
	leaq	4(%rbx), %rdi
	callq	_platform_user_set
	jmp	LBB0_13
LBB0_12:
	testl	%r14d, %r14d
	je	LBB0_14
LBB0_13:
	movl	$1, (%rbx)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	cmpq	$0, (%r15)
	je	LBB0_14
## %bb.11:
	movq	_M_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	_do_uid_gid_chroot.why_not(%rip), %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_msg                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @do_uid_gid_chroot.why_not
_do_uid_gid_chroot.why_not:
	.asciz	"will be delayed because of --client, --pull, or --up-delay"

	.comm	_M_INFO,4,2                     ## @M_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NOTE: chroot %s"

L_.str.1:                               ## @.str.1
	.asciz	"NOTE: UID/GID downgrade %s"

	.comm	_M_ERR,4,2                      ## @M_ERR
	.no_dead_strip	_do_uid_gid_chroot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_uid_gid_chroot
_do_uid_gid_chroot:                     ; @do_uid_gid_chroot
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x21, [x0, #32]
	cbz	x21, LBB0_12
; %bb.1:
	ldr	w8, [x21]
	cbnz	w8, LBB0_12
; %bb.2:
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_7
; %bb.3:
	cbz	w20, LBB0_5
; %bb.4:
	bl	_platform_chroot
	b	LBB0_7
LBB0_5:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
Lloh0:
	adrp	x8, _M_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
Lloh5:
	adrp	x2, _do_uid_gid_chroot.why_not@PAGE
Lloh6:
	add	x2, x2, _do_uid_gid_chroot.why_not@PAGEOFF
	bl	_msg
LBB0_7:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_10
; %bb.8:
	cbz	w20, LBB0_13
; %bb.9:
	add	x0, x21, #8
	bl	_platform_group_set
	add	x0, x21, #4
	bl	_platform_user_set
	b	LBB0_11
LBB0_10:
	cbz	w20, LBB0_12
LBB0_11:
	mov	w8, #1
	str	w8, [x21]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.14:
Lloh7:
	adrp	x8, _M_INFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _M_INFO@GOTPAGEOFF]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x2, _do_uid_gid_chroot.why_not@PAGE
Lloh13:
	add	x2, x2, _do_uid_gid_chroot.why_not@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_msg
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_do_uid_gid_chroot.why_not:             ; @do_uid_gid_chroot.why_not
	.asciz	"will be delayed because of --client, --pull, or --up-delay"

	.comm	_M_INFO,4,2                     ; @M_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NOTE: chroot %s"

l_.str.1:                               ; @.str.1
	.asciz	"NOTE: UID/GID downgrade %s"

	.comm	_M_ERR,4,2                      ; @M_ERR
	.no_dead_strip	_do_uid_gid_chroot
.subsections_via_symbols
