	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_chroot_string
_check_chroot_string:                   ## @check_chroot_string
	.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
	movq	(%rsi), %r12
	testq	%r12, %r12
	je	LBB0_10
## %bb.1:
	cmpb	$0, (%r12)
	je	LBB0_10
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%r12, %rdi
	movq	%rcx, %rsi
	movl	$1, %edx
	callq	_fname_after_chroot
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal_exit
	movq	(%rbx), %rax
LBB0_4:
	movq	%rax, %rdi
	callq	_is_file
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	testq	%r15, %r15
	je	LBB0_8
## %bb.6:
	cmpb	$0, (%r15)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_fatal_exit
	jmp	LBB0_9
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fatal_exit
LBB0_9:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory"

L_.str.1:                               ## @.str.1
	.asciz	"%s: \"%s\" does not exist in chrootdir %s"

L_.str.2:                               ## @.str.2
	.asciz	"%s: \"%s\" does not exist"

	.no_dead_strip	_check_chroot_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_chroot_string
_check_chroot_string:                   ; @check_chroot_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, [x1]
	cbz	x19, LBB0_4
; %bb.1:
	ldrb	w8, [x19]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x19
	mov	x1, x3
	mov	w2, #1
	bl	_fname_after_chroot
	str	x0, [x22]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_is_file
	cbnz	w0, LBB0_11
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal_exit
	ldr	x0, [x22]
	bl	_is_file
	cbnz	w0, LBB0_11
LBB0_6:
	cbz	x21, LBB0_9
; %bb.7:
	ldrb	w8, [x21]
	cbz	w8, LBB0_9
; %bb.8:
	stp	x19, x21, [sp, #8]
	str	x20, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
	stp	x20, x19, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_10:
	bl	_fatal_exit
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory"

l_.str.1:                               ; @.str.1
	.asciz	"%s: \"%s\" does not exist in chrootdir %s"

l_.str.2:                               ; @.str.2
	.asciz	"%s: \"%s\" does not exist"

	.no_dead_strip	_check_chroot_string
.subsections_via_symbols
