	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_hmc_get_object_va
_i40e_hmc_get_object_va:                ## @i40e_hmc_get_object_va
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.8:
	movq	%rcx, %r15
	movq	_I40E_HMC_INFO_SIGNATURE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rbx), %rcx
	jne	LBB0_9
## %bb.10:
	movl	%edx, %r12d
	movl	%edx, %ecx
	leaq	(%rcx,%rcx,2), %r13
	cmpq	%r15, (%rax,%r13,8)
	jbe	LBB0_11
## %bb.12:
	leaq	-64(%rbp), %r8
	leaq	-80(%rbp), %r9
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_I40E_FIND_SD_INDEX_LIMIT
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	movq	-64(%rbp), %rcx
	movl	16(%rdx,%r13,8), %eax
	imull	%r15d, %eax
	addl	8(%rdx,%r13,8), %eax
	movq	_I40E_SD_TYPE_PAGED@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rcx,%rcx,2), %rdi
	cmpq	(%rsi,%rdi,8), %rdx
	jne	LBB0_17
## %bb.13:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	leaq	-72(%rbp), %r8
	leaq	-88(%rbp), %r9
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_I40E_FIND_PD_INDEX_LIMIT
	movq	-72(%rbp), %rax
	movq	_I40E_HMC_PD_CNT_IN_SD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_14
## %bb.15:
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rcx
	jmp	LBB0_16
LBB0_1:
	movq	_I40E_ERR_BAD_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	jmp	LBB0_5
LBB0_3:
	movq	_I40E_ERR_BAD_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_7:
	movq	_I40E_ERR_BAD_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_9:
	movq	_I40E_ERR_BAD_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.3(%rip), %rsi
LBB0_4:
	movq	%rbx, %rdi
LBB0_5:
	xorl	%eax, %eax
	callq	_hw_dbg
LBB0_19:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_hw_dbg
	movq	_I40E_ERR_INVALID_HMC_OBJ_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_19
LBB0_17:
	movq	_I40E_HMC_DIRECT_BP_SIZE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movslq	%edx, %rax
	shlq	$2, %rax
	addq	8(%rsi,%rdi,8), %rax
	jmp	LBB0_18
LBB0_14:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %ecx
LBB0_16:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%r13,%rax,8), %rsi
	movq	_I40E_HMC_PAGED_BP_SIZE@GOTPCREL(%rip), %rdi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cltd
	idivl	(%rdi)
	movslq	%edx, %rax
	shlq	$2, %rax
	addq	(%rsi,%rcx,8), %rax
LBB0_18:
	movq	%rax, (%r14)
	xorl	%r14d, %r14d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_ERR_BAD_PTR,4,2           ## @I40E_ERR_BAD_PTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i40e_hmc_get_object_va: bad hmc_info ptr\n"

L_.str.1:                               ## @.str.1
	.asciz	"i40e_hmc_get_object_va: bad hmc_info->hmc_obj ptr\n"

L_.str.2:                               ## @.str.2
	.asciz	"i40e_hmc_get_object_va: bad object_base ptr\n"

	.comm	_I40E_HMC_INFO_SIGNATURE,8,3    ## @I40E_HMC_INFO_SIGNATURE
L_.str.3:                               ## @.str.3
	.asciz	"i40e_hmc_get_object_va: bad hmc_info->signature\n"

L_.str.4:                               ## @.str.4
	.asciz	"i40e_hmc_get_object_va: returns error %d\n"

	.comm	_I40E_ERR_INVALID_HMC_OBJ_INDEX,4,2 ## @I40E_ERR_INVALID_HMC_OBJ_INDEX
	.comm	_I40E_SD_TYPE_PAGED,8,3         ## @I40E_SD_TYPE_PAGED
	.comm	_I40E_HMC_PD_CNT_IN_SD,8,3      ## @I40E_HMC_PD_CNT_IN_SD
	.comm	_I40E_HMC_PAGED_BP_SIZE,4,2     ## @I40E_HMC_PAGED_BP_SIZE
	.comm	_I40E_HMC_DIRECT_BP_SIZE,4,2    ## @I40E_HMC_DIRECT_BP_SIZE
	.no_dead_strip	_i40e_hmc_get_object_va
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_hmc_get_object_va
_i40e_hmc_get_object_va:                ; @i40e_hmc_get_object_va
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_8
; %bb.2:
	mov	x19, x1
	cbz	x1, LBB0_9
; %bb.3:
Lloh0:
	adrp	x9, _I40E_HMC_INFO_SIGNATURE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_HMC_INFO_SIGNATURE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x10, [x20]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.4:
	mov	x21, x3
	mov	x22, x2
	mov	w9, #24
	umull	x9, w2, w9
	ldr	x8, [x8, x9]
	cmp	x8, x3
	b.ls	LBB0_14
; %bb.5:
	mov	w25, w22
	add	x4, sp, #24
	add	x5, sp, #16
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	w3, #1
	bl	_I40E_FIND_SD_INDEX_LIMIT
	ldr	x23, [sp, #24]
	ldp	x8, x24, [x20, #8]
	mov	w9, #24
	madd	x8, x25, x9, x8
	ldr	w10, [x8, #8]
	ldr	w8, [x8, #16]
Lloh3:
	adrp	x11, _I40E_SD_TYPE_PAGED@GOTPAGE
Lloh4:
	ldr	x11, [x11, _I40E_SD_TYPE_PAGED@GOTPAGEOFF]
	madd	w25, w8, w21, w10
Lloh5:
	ldr	x8, [x11]
	mul	x9, x23, x9
	ldr	x9, [x24, x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.6:
	add	x4, sp, #40
	add	x5, sp, #32
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	w3, #1
	bl	_I40E_FIND_PD_INDEX_LIMIT
	mov	w21, #0
	ldr	x8, [sp, #40]
Lloh6:
	adrp	x9, _I40E_HMC_PD_CNT_IN_SD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I40E_HMC_PD_CNT_IN_SD@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	mov	w9, #24
	madd	x9, x23, x9, x24
	ldr	x9, [x9, #16]
Lloh9:
	adrp	x10, _I40E_HMC_PAGED_BP_SIZE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _I40E_HMC_PAGED_BP_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	sdiv	w11, w25, w10
	msub	w10, w11, w10, w25
	ldr	x8, [x9, x8, lsl #3]
	add	x8, x8, w10, sxtw #2
	b	LBB0_16
LBB0_7:
Lloh12:
	adrp	x8, _I40E_ERR_BAD_PTR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I40E_ERR_BAD_PTR@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_8:
Lloh17:
	adrp	x8, _I40E_ERR_BAD_PTR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _I40E_ERR_BAD_PTR@GOTPAGEOFF]
Lloh19:
	ldr	w21, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh22:
	adrp	x8, _I40E_ERR_BAD_PTR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _I40E_ERR_BAD_PTR@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh27:
	adrp	x8, _I40E_ERR_BAD_PTR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _I40E_ERR_BAD_PTR@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_11:
	mov	x0, x20
LBB0_12:
	bl	_hw_dbg
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_14:
	str	xzr, [sp]
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_hw_dbg
Lloh34:
	adrp	x8, _I40E_ERR_INVALID_HMC_OBJ_INDEX@GOTPAGE
Lloh35:
	ldr	x8, [x8, _I40E_ERR_INVALID_HMC_OBJ_INDEX@GOTPAGEOFF]
Lloh36:
	ldr	w21, [x8]
	b	LBB0_13
LBB0_15:
	mov	w21, #0
Lloh37:
	adrp	x8, _I40E_HMC_DIRECT_BP_SIZE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _I40E_HMC_DIRECT_BP_SIZE@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	sdiv	w9, w25, w8
	msub	w8, w9, w8, w25
	mov	w9, #24
	madd	x9, x23, x9, x24
	ldr	x9, [x9, #8]
	add	x8, x9, w8, sxtw #2
LBB0_16:
	str	x8, [x19]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_ERR_BAD_PTR,4,2           ; @I40E_ERR_BAD_PTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i40e_hmc_get_object_va: bad hmc_info ptr\n"

l_.str.1:                               ; @.str.1
	.asciz	"i40e_hmc_get_object_va: bad hmc_info->hmc_obj ptr\n"

l_.str.2:                               ; @.str.2
	.asciz	"i40e_hmc_get_object_va: bad object_base ptr\n"

	.comm	_I40E_HMC_INFO_SIGNATURE,8,3    ; @I40E_HMC_INFO_SIGNATURE
l_.str.3:                               ; @.str.3
	.asciz	"i40e_hmc_get_object_va: bad hmc_info->signature\n"

l_.str.4:                               ; @.str.4
	.asciz	"i40e_hmc_get_object_va: returns error %d\n"

	.comm	_I40E_ERR_INVALID_HMC_OBJ_INDEX,4,2 ; @I40E_ERR_INVALID_HMC_OBJ_INDEX
	.comm	_I40E_SD_TYPE_PAGED,8,3         ; @I40E_SD_TYPE_PAGED
	.comm	_I40E_HMC_PD_CNT_IN_SD,8,3      ; @I40E_HMC_PD_CNT_IN_SD
	.comm	_I40E_HMC_PAGED_BP_SIZE,4,2     ; @I40E_HMC_PAGED_BP_SIZE
	.comm	_I40E_HMC_DIRECT_BP_SIZE,4,2    ; @I40E_HMC_DIRECT_BP_SIZE
	.no_dead_strip	_i40e_hmc_get_object_va
.subsections_via_symbols
