	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_unsafe_path
_check_unsafe_path:                     ## @check_unsafe_path
	.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	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %r14
	xorl	%r15d, %r15d
	testq	%r14, %r14
	jne	LBB0_8
	jmp	LBB0_9
LBB0_2:
	cmpl	$0, 36(%rbx)
	jne	LBB0_3
## %bb.4:
	cmpl	$0, 32(%rbx)
	je	LBB0_6
LBB0_3:
	xorl	%r14d, %r14d
LBB0_7:
	movq	8(%rbx), %r15
	testq	%r14, %r14
	je	LBB0_9
LBB0_8:
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_verify_path
	testl	%eax, %eax
	je	LBB0_12
LBB0_9:
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movl	16(%rbx), %esi
	movq	%r15, %rdi
	callq	_verify_path
	movq	%r15, %r14
	testl	%eax, %eax
	je	LBB0_12
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_6:
	movq	(%rbx), %r14
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid path '%s'"

	.no_dead_strip	_check_unsafe_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_unsafe_path
_check_unsafe_path:                     ; @check_unsafe_path
	.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
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x21, #0
	ldr	x20, [x19]
	cbnz	x20, LBB0_5
	b	LBB0_6
LBB0_2:
	ldr	w8, [x19, #36]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_10
LBB0_4:
	mov	x20, #0
	ldr	x21, [x19, #8]
	cbz	x20, LBB0_6
LBB0_5:
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_verify_path
	cbz	w0, LBB0_9
LBB0_6:
	cbz	x21, LBB0_8
; %bb.7:
	ldr	w1, [x19, #16]
	mov	x0, x21
	bl	_verify_path
	mov	x20, x21
	cbz	w0, LBB0_9
LBB0_8:
	mov	w0, #0
	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_9:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x20
	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	_error
LBB0_10:
	ldr	x20, [x19]
	ldr	x21, [x19, #8]
	cbnz	x20, LBB0_5
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid path '%s'"

	.no_dead_strip	_check_unsafe_path
.subsections_via_symbols
