	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lookup_iova
_lookup_iova:                           ## @lookup_iova
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	subq	(%rdi), %rbx
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %r14
	addq	8(%rdi), %rbx
	movq	16(%rdi), %rdi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	24(%r13), %rax
	andq	%rbx, %rax
	movq	%rax, (%r12)
	movb	16(%r13), %cl
	shrq	%cl, %rbx
	movl	32(%r13), %eax
	andl	%ebx, %eax
	movl	%eax, (%r15)
	movb	40(%r13), %cl
	shrq	%cl, %rbx
	movl	%ebx, (%r14)
	jmp	LBB0_7
LBB0_2:
	movq	48(%r13), %r9
	movq	(%r9), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdi
	xorl	%ecx, %ecx
	cmpq	%rdi, %rbx
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_4:
	movq	_RXE_BUF_PER_MAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	subq	%rdi, %rbx
	incl	%edx
	xorl	%edi, %edi
	cmpl	%esi, %edx
	sete	%dil
	cmovel	%r8d, %edx
	addl	%edi, %ecx
	movq	(%r9,%rcx,8), %rdi
	movq	(%rdi), %rdi
	movslq	%edx, %rax
	movq	(%rdi,%rax,8), %rdi
	cmpq	%rdi, %rbx
	jae	LBB0_5
LBB0_6:
	movl	%ecx, (%r14)
	movl	%edx, (%r15)
	movq	%rbx, (%r12)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RXE_BUF_PER_MAP,4,2            ## @RXE_BUF_PER_MAP
	.no_dead_strip	_lookup_iova
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lookup_iova
_lookup_iova:                           ; @lookup_iova
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x0
	ldp	x8, x9, [x0]
	sub	x8, x1, x8
	add	x23, x8, x9
	ldr	x0, [x0, #16]
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x22, #24]
	and	x8, x8, x23
	str	x8, [x21]
	ldr	x8, [x22, #16]
	lsr	x8, x23, x8
	ldr	w9, [x22, #32]
	and	w9, w8, w9
	str	w9, [x20]
	ldr	x9, [x22, #40]
	lsr	x8, x8, x9
	str	w8, [x19]
	b	LBB0_7
LBB0_2:
	ldr	x10, [x22, #48]
	ldr	x8, [x10]
	ldr	x8, [x8]
	ldr	x11, [x8]
	cmp	x23, x11
	b.hs	LBB0_4
; %bb.3:
	mov	w9, #0
	mov	w8, #0
	b	LBB0_6
LBB0_4:
	mov	w8, #0
	mov	w9, #0
Lloh0:
	adrp	x12, _RXE_BUF_PER_MAP@GOTPAGE
Lloh1:
	ldr	x12, [x12, _RXE_BUF_PER_MAP@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w13, w8, #1
	cmp	w13, w12
	cinc	w9, w9, eq
	ldr	x13, [x10, w9, uxtw #3]
	csinc	w8, wzr, w8, eq
	ldr	x13, [x13]
	sub	x23, x23, x11
	ldr	x11, [x13, w8, sxtw #3]
	cmp	x23, x11
	b.hs	LBB0_5
LBB0_6:
	str	w9, [x19]
	str	w8, [x20]
	str	x23, [x21]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RXE_BUF_PER_MAP,4,2            ; @RXE_BUF_PER_MAP
	.no_dead_strip	_lookup_iova
.subsections_via_symbols
