	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uapi_get_obj_id
_uapi_get_obj_id:                       ## @uapi_get_obj_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_UVERBS_ATTR_TYPE_IDR@GOTPCREL(%rip), %r8
	movq	_UVERBS_ATTR_TYPE_FD@GOTPCREL(%rip), %rsi
	leaq	12(%rdi), %rdx
	movq	_UVERBS_ATTR_TYPE_IDRS_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.2:
	movq	_UVERBS_API_KEY_ERR@GOTPCREL(%rip), %rdi
	jmp	LBB0_3
LBB0_1:
	addq	$8, %rdi
LBB0_3:
	cmpq	(%rsi), %rax
	cmoveq	%rdx, %rdi
	cmpq	(%r8), %rax
	cmoveq	%rdx, %rdi
	movl	(%rdi), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVERBS_ATTR_TYPE_IDR,8,3       ## @UVERBS_ATTR_TYPE_IDR
	.comm	_UVERBS_ATTR_TYPE_FD,8,3        ## @UVERBS_ATTR_TYPE_FD
	.comm	_UVERBS_ATTR_TYPE_IDRS_ARRAY,8,3 ## @UVERBS_ATTR_TYPE_IDRS_ARRAY
	.comm	_UVERBS_API_KEY_ERR,4,2         ## @UVERBS_API_KEY_ERR
	.no_dead_strip	_uapi_get_obj_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uapi_get_obj_id
_uapi_get_obj_id:                       ; @uapi_get_obj_id
	.cfi_startproc
; %bb.0:
	add	x8, x0, #12
	ldr	x9, [x0], #8
Lloh0:
	adrp	x10, _UVERBS_ATTR_TYPE_IDR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _UVERBS_ATTR_TYPE_IDR@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _UVERBS_ATTR_TYPE_FD@GOTPAGE
Lloh4:
	ldr	x11, [x11, _UVERBS_ATTR_TYPE_FD@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
Lloh6:
	adrp	x12, _UVERBS_ATTR_TYPE_IDRS_ARRAY@GOTPAGE
Lloh7:
	ldr	x12, [x12, _UVERBS_ATTR_TYPE_IDRS_ARRAY@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
Lloh9:
	adrp	x13, _UVERBS_API_KEY_ERR@GOTPAGE
Lloh10:
	ldr	x13, [x13, _UVERBS_API_KEY_ERR@GOTPAGEOFF]
	cmp	x9, x12
	csel	x12, x0, x13, eq
	cmp	x9, x11
	ccmp	x9, x10, #4, ne
	csel	x8, x8, x12, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UVERBS_ATTR_TYPE_IDR,8,3       ; @UVERBS_ATTR_TYPE_IDR
	.comm	_UVERBS_ATTR_TYPE_FD,8,3        ; @UVERBS_ATTR_TYPE_FD
	.comm	_UVERBS_ATTR_TYPE_IDRS_ARRAY,8,3 ; @UVERBS_ATTR_TYPE_IDRS_ARRAY
	.comm	_UVERBS_API_KEY_ERR,4,2         ; @UVERBS_API_KEY_ERR
	.no_dead_strip	_uapi_get_obj_id
.subsections_via_symbols
