	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function obj_lookup
_obj_lookup:                            ## @obj_lookup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EINVAL@GOTPCREL(%rip), %rax
	testl	%edi, %edi
	js	LBB0_7
## %bb.1:
	movq	_noids@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jle	LBB0_7
## %bb.2:
	movq	_oidtbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	movq	(%rax,%rcx,8), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_OBJ_TYPE_NONE@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	je	LBB0_8
## %bb.5:
	cmpq	%rsi, 8(%rax)
	je	LBB0_8
## %bb.6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_noids,4,2                      ## @noids
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_oidtbl,8,3                     ## @oidtbl
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_OBJ_TYPE_NONE,8,3              ## @OBJ_TYPE_NONE
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_obj_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function obj_lookup
_obj_lookup:                            ; @obj_lookup
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	tbnz	w0, #31, LBB0_7
; %bb.1:
Lloh2:
	adrp	x9, _noids@GOTPAGE
Lloh3:
	ldr	x9, [x9, _noids@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w9, w0
	b.le	LBB0_7
; %bb.2:
Lloh5:
	adrp	x8, _oidtbl@GOTPAGE
Lloh6:
	ldr	x8, [x8, _oidtbl@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x0, [x8, w0, uxtw #3]
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.3:
Lloh8:
	adrp	x8, _OBJ_TYPE_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OBJ_TYPE_NONE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_8
; %bb.4:
	ldr	x8, [x0, #8]
	cmp	x8, x1
	b.eq	LBB0_8
; %bb.5:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _ENXIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_7:
	mov	x0, #0
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _errno@GOTPAGE
Lloh16:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh17:
	str	w8, [x9]
LBB0_8:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_noids,4,2                      ; @noids
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_oidtbl,8,3                     ; @oidtbl
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_OBJ_TYPE_NONE,8,3              ; @OBJ_TYPE_NONE
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_obj_lookup
.subsections_via_symbols
