	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OBJ_obj2nid                    ## -- Begin function OBJ_obj2nid
	.p2align	4, 0x90
_OBJ_obj2nid:                           ## @OBJ_obj2nid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	%rdi, -8(%rbp)
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	cmpq	$0, 8(%rdi)
	je	LBB0_8
## %bb.3:
	movq	_added@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_ADDED_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -16(%rbp)
	movq	%rdi, -24(%rbp)
	leaq	-24(%rbp), %rsi
	movq	%rax, %rdi
	callq	_lh_ADDED_OBJ_retrieve
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rax), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_obj_objs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NUM_OBJ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-8(%rbp), %rdi
	callq	_OBJ_bsearch_obj
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_nid_objs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax), %eax
	movl	(%rcx,%rax,4), %eax
	jmp	LBB0_10
LBB0_8:
	movq	_NID_undef@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	_added,8,3                      ## @added
	.comm	_ADDED_DATA,4,2                 ## @ADDED_DATA
	.comm	_obj_objs,4,2                   ## @obj_objs
	.comm	_NUM_OBJ,4,2                    ## @NUM_OBJ
	.comm	_nid_objs,8,3                   ## @nid_objs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OBJ_obj2nid                    ; -- Begin function OBJ_obj2nid
	.p2align	2
_OBJ_obj2nid:                           ; @OBJ_obj2nid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	stur	x0, [x29, #-8]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x8, x0
	ldr	x0, [x0]
	cbnz	x0, LBB0_10
; %bb.2:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_8
; %bb.3:
Lloh0:
	adrp	x9, _added@GOTPAGE
Lloh1:
	ldr	x9, [x9, _added@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x9]
	cbz	x0, LBB0_6
; %bb.4:
Lloh3:
	adrp	x9, _ADDED_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADDED_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [sp, #16]
	str	x8, [sp, #8]
	add	x1, sp, #8
	bl	_lh_ADDED_OBJ_retrieve
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x0]
	b	LBB0_9
LBB0_6:
Lloh6:
	adrp	x8, _obj_objs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _obj_objs@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _NUM_OBJ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NUM_OBJ@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	sub	x0, x29, #8
	bl	_OBJ_bsearch_obj
	cbz	x0, LBB0_8
; %bb.7:
Lloh12:
	adrp	x8, _nid_objs@GOTPAGE
Lloh13:
	ldr	x8, [x8, _nid_objs@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w9, [x0]
	ldr	w0, [x8, x9, lsl #2]
	b	LBB0_10
LBB0_8:
Lloh15:
	adrp	x8, _NID_undef@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
LBB0_10:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	_added,8,3                      ; @added
	.comm	_ADDED_DATA,4,2                 ; @ADDED_DATA
	.comm	_obj_objs,4,2                   ; @obj_objs
	.comm	_NUM_OBJ,4,2                    ; @NUM_OBJ
	.comm	_nid_objs,8,3                   ; @nid_objs
.subsections_via_symbols
