	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ihe_load
_ihe_load:                              ## @ihe_load
	.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
	movq	48(%rdi), %r14
	movq	56(%rdi), %r15
	xorl	%edi, %edi
	movq	%r15, %rax
	orq	%r14, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MAX_ITEM_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	$0, 32(%rbx)
	movl	$0, 8(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_2:
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, 32(%rbx)
	movl	$1, %r14d
	movl	$1, %edi
	callq	_assert
	movq	40(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	24(%rbx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_9
LBB0_4:
	testq	%r15, %r15
	je	LBB0_7
## %bb.5:
	movq	(%r15), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r15, 32(%rbx)
	movq	40(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	24(%rbx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movq	(%r15), %rax
	jmp	LBB0_8
LBB0_7:
	movq	%r14, 32(%rbx)
	movl	24(%rbx), %eax
	orl	28(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	(%r14), %rax
LBB0_8:
	movq	%rax, (%rbx)
	movl	$1, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ITEM_ID,8,3                ## @MAX_ITEM_ID
	.no_dead_strip	_ihe_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ihe_load
_ihe_load:                              ; @ihe_load
	.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
	ldp	x20, x21, [x0, #48]
	orr	x8, x21, x20
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	w20, #0
Lloh0:
	adrp	x8, _MAX_ITEM_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_ITEM_ID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19]
	str	xzr, [x19, #32]
	str	wzr, [x19, #8]
	b	LBB0_9
LBB0_2:
	cmp	x20, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	str	x21, [x19, #32]
	mov	w20, #1
	mov	w0, #1
	bl	_assert
	ldr	x8, [x19, #40]
	ldr	x9, [x19, #16]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	ldr	x8, [x21]
	str	x8, [x19]
	b	LBB0_9
LBB0_4:
	cbz	x21, LBB0_7
; %bb.5:
	ldr	x8, [x21]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:
	str	x21, [x19, #32]
	ldr	x8, [x19, #40]
	ldr	x9, [x19, #16]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	ldr	x8, [x21]
	b	LBB0_8
LBB0_7:
	str	x20, [x19, #32]
	ldp	w9, w8, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	ldr	x8, [x20]
LBB0_8:
	str	x8, [x19]
	mov	w20, #1
LBB0_9:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ITEM_ID,8,3                ; @MAX_ITEM_ID
	.no_dead_strip	_ihe_load
.subsections_via_symbols
