	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_from_string
_handle_from_string:                    ## @handle_from_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$-1, %ebx
	cmpl	$4, %esi
	jne	LBB0_3
## %bb.1:
	callq	_get_u32
	movl	%eax, %ebx
	movq	_HANDLE_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_handle_is_ok
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_HANDLE_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_handle_is_ok
	xorl	%ecx, %ecx
	cmpq	$1, %rax
	sbbl	%ecx, %ecx
	orl	%ecx, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HANDLE_FILE,4,2                ## @HANDLE_FILE
	.comm	_HANDLE_DIR,4,2                 ## @HANDLE_DIR
	.no_dead_strip	_handle_from_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_from_string
_handle_from_string:                    ; @handle_from_string
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w1, #4
	b.ne	LBB0_3
; %bb.1:
	bl	_get_u32
	mov	x19, x0
Lloh0:
	adrp	x8, _HANDLE_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HANDLE_FILE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_handle_is_ok
	cbnz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _HANDLE_DIR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HANDLE_DIR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_handle_is_ok
	cmp	x0, #0
	csinv	w19, w19, wzr, ne
	b	LBB0_4
LBB0_3:
	mov	w19, #-1
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HANDLE_FILE,4,2                ; @HANDLE_FILE
	.comm	_HANDLE_DIR,4,2                 ; @HANDLE_DIR
	.no_dead_strip	_handle_from_string
.subsections_via_symbols
