	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_init_lan_hmc              ## -- Begin function i40e_init_lan_hmc
	.p2align	4, 0x90
_i40e_init_lan_hmc:                     ## @i40e_init_lan_hmc
	.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
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	_I40E_HMC_INFO_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rdi)
	movl	64(%rdi), %eax
	movl	%eax, 56(%rdi)
	leaq	48(%rdi), %rsi
	movq	_I40E_HMC_LAN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$3, %eax
	leal	(%rax,%rax,2), %edx
	callq	_i40e_allocate_virt_mem
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	48(%r13), %r15
	movq	%r15, 40(%r13)
	movq	_I40E_HMC_LAN_FULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15,%r12,8)
	movq	$0, 16(%r15,%r12,8)
	movq	_I40E_HMC_LAN_TX@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_I40E_GLHMC_LANQMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rd32
	leaq	(%rbx,%rbx,2), %rbx
	movq	%rax, (%r15,%rbx,8)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, 8(%r15,%rbx,8)
	movq	$0, 16(%r15,%rbx,8)
	movq	_I40E_GLHMC_LANTXOBJSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rd32
	movq	%rax, %rdi
	callq	_BIT_ULL
	movl	%eax, 12(%r15,%rbx,8)
	movq	(%r15,%rbx,8), %rcx
	cmpq	%r14, %rcx
	jge	LBB0_3
## %bb.2:
	movq	%r14, %rdx
	movq	_I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	jmp	LBB0_6
LBB0_3:
	leaq	(%r15,%r12,8), %rdx
	leaq	(%r15,%rbx,8), %rax
	addq	$8, %rax
	addq	%rcx, (%rdx)
	movl	(%rax), %eax
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	addl	%eax, 8(%rdx)
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	40(%r13), %r12
	movq	_I40E_HMC_LAN_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_I40E_GLHMC_LANQMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rd32
	leaq	(%rbx,%rbx,2), %r14
	movq	%rax, (%r12,%r14,8)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, 8(%r12,%r14,8)
	movq	40(%r13), %rax
	movq	_I40E_HMC_LAN_TX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movslq	8(%rax,%rcx,8), %rdx
	movslq	12(%rax,%rcx,8), %rdi
	imulq	%rdx, %rdi
	addq	16(%rax,%rcx,8), %rdi
	movq	%rdi, 16(%r12,%r14,8)
	callq	_i40e_align_l2obj_base
	movq	%rax, 16(%r12,%r14,8)
	movq	_I40E_GLHMC_LANRXOBJSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rd32
	movq	%rax, %rdi
	callq	_BIT_ULL
	movl	%eax, 12(%r12,%r14,8)
	movq	(%r12,%r14,8), %rcx
	cmpq	%rbx, %rcx
	jge	LBB0_7
## %bb.4:
	movq	_I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_7:
	leaq	(%r12,%r14,8), %rax
	addq	$8, %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	%rcx, (%rdx)
	movl	(%rax), %eax
	addl	%eax, 8(%rdx)
	movq	40(%r13), %r14
	movq	_I40E_HMC_FCOE_CTX@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_I40E_GLHMC_FCOEMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rd32
	leaq	(%rbx,%rbx,2), %r12
	movq	%rax, (%r14,%r12,8)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, 8(%r14,%r12,8)
	movq	40(%r13), %rax
	movq	_I40E_HMC_LAN_RX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movslq	8(%rax,%rcx,8), %rdx
	movslq	12(%rax,%rcx,8), %rdi
	imulq	%rdx, %rdi
	addq	16(%rax,%rcx,8), %rdi
	movq	%rdi, 16(%r14,%r12,8)
	callq	_i40e_align_l2obj_base
	movq	%rax, 16(%r14,%r12,8)
	movq	_I40E_GLHMC_FCOEDDPOBJSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rd32
	movq	%rax, %rdi
	callq	_BIT_ULL
	movl	%eax, 12(%r14,%r12,8)
	movq	(%r14,%r12,8), %rcx
	cmpq	%rbx, %rcx
	jge	LBB0_9
## %bb.8:
	movq	_I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_9:
	leaq	(%r14,%r12,8), %rax
	addq	$8, %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	%rcx, (%rdx)
	movl	(%rax), %eax
	addl	%eax, 8(%rdx)
	movq	40(%r13), %r14
	movq	_I40E_HMC_FCOE_FILT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_I40E_GLHMC_FCOEFMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rd32
	leaq	(%rbx,%rbx,2), %r12
	movq	%rax, (%r14,%r12,8)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, 8(%r14,%r12,8)
	movq	40(%r13), %rax
	movq	_I40E_HMC_FCOE_CTX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movslq	8(%rax,%rcx,8), %rdx
	movslq	12(%rax,%rcx,8), %rdi
	imulq	%rdx, %rdi
	addq	16(%rax,%rcx,8), %rdi
	movq	%rdi, 16(%r14,%r12,8)
	callq	_i40e_align_l2obj_base
	movq	%rax, 16(%r14,%r12,8)
	movq	_I40E_GLHMC_FCOEFOBJSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rd32
	movq	%rax, %rdi
	callq	_BIT_ULL
	movl	%eax, 12(%r14,%r12,8)
	movq	(%r14,%r12,8), %rcx
	cmpq	%rbx, %rcx
	jge	LBB0_11
## %bb.10:
	movq	_I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	L_.str.3(%rip), %rsi
LBB0_5:
	movq	%r13, %rdi
	movq	%rbx, %rdx
LBB0_6:
	movq	%r14, %r8
	callq	_hw_dbg
LBB0_18:
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	(%r14,%r12,8), %rax
	addq	$8, %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	%rcx, (%rdx)
	movl	(%rax), %eax
	addl	%eax, 8(%rdx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r13)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_i40e_calculate_l2fpm_size
	movl	%eax, %r12d
	cmpq	$0, 16(%r13)
	je	LBB0_12
LBB0_17:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r15,%rax,8), %rax
	addq	$12, %rax
	movl	%r12d, (%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_18
LBB0_12:
	movq	_I40E_HMC_DIRECT_BP_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	leal	(%r12,%rsi), %eax
	decl	%eax
	movslq	%eax, %rcx
	movq	%rcx, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_13
## %bb.14:
	movq	%rcx, %rax
	cqto
	idivq	%rsi
	jmp	LBB0_15
LBB0_13:
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_15:
	movl	%eax, (%r13)
	leaq	8(%r13), %rsi
	shll	$2, %eax
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_i40e_allocate_virt_mem
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_18
## %bb.16:
	movq	8(%r13), %rax
	movq	%rax, 16(%r13)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_HMC_INFO_SIGNATURE,4,2    ## @I40E_HMC_INFO_SIGNATURE
	.comm	_I40E_HMC_LAN_MAX,4,2           ## @I40E_HMC_LAN_MAX
	.comm	_I40E_HMC_LAN_FULL,8,3          ## @I40E_HMC_LAN_FULL
	.comm	_I40E_HMC_LAN_TX,8,3            ## @I40E_HMC_LAN_TX
	.comm	_I40E_GLHMC_LANQMAX,4,2         ## @I40E_GLHMC_LANQMAX
	.comm	_I40E_GLHMC_LANTXOBJSZ,4,2      ## @I40E_GLHMC_LANTXOBJSZ
	.comm	_I40E_ERR_INVALID_HMC_OBJ_COUNT,8,3 ## @I40E_ERR_INVALID_HMC_OBJ_COUNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i40e_init_lan_hmc: Tx context: asks for 0x%x but max allowed is 0x%x, returns error %d\n"

	.comm	_I40E_HMC_LAN_RX,8,3            ## @I40E_HMC_LAN_RX
	.comm	_I40E_GLHMC_LANRXOBJSZ,4,2      ## @I40E_GLHMC_LANRXOBJSZ
L_.str.1:                               ## @.str.1
	.asciz	"i40e_init_lan_hmc: Rx context: asks for 0x%x but max allowed is 0x%x, returns error %d\n"

	.comm	_I40E_HMC_FCOE_CTX,8,3          ## @I40E_HMC_FCOE_CTX
	.comm	_I40E_GLHMC_FCOEMAX,4,2         ## @I40E_GLHMC_FCOEMAX
	.comm	_I40E_GLHMC_FCOEDDPOBJSZ,4,2    ## @I40E_GLHMC_FCOEDDPOBJSZ
L_.str.2:                               ## @.str.2
	.asciz	"i40e_init_lan_hmc: FCoE context: asks for 0x%x but max allowed is 0x%x, returns error %d\n"

	.comm	_I40E_HMC_FCOE_FILT,8,3         ## @I40E_HMC_FCOE_FILT
	.comm	_I40E_GLHMC_FCOEFMAX,4,2        ## @I40E_GLHMC_FCOEFMAX
	.comm	_I40E_GLHMC_FCOEFOBJSZ,4,2      ## @I40E_GLHMC_FCOEFOBJSZ
L_.str.3:                               ## @.str.3
	.asciz	"i40e_init_lan_hmc: FCoE filter: asks for 0x%x but max allowed is 0x%x, returns error %d\n"

	.comm	_I40E_HMC_DIRECT_BP_SIZE,4,2    ## @I40E_HMC_DIRECT_BP_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_init_lan_hmc              ; -- Begin function i40e_init_lan_hmc
	.p2align	2
_i40e_init_lan_hmc:                     ; @i40e_init_lan_hmc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w8, [x0, #64]
Lloh0:
	adrp	x9, _I40E_HMC_INFO_SIGNATURE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_HMC_INFO_SIGNATURE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [x0, #56]
	add	x1, x0, #48
Lloh3:
	adrp	x8, _I40E_HMC_LAN_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_HMC_LAN_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	lsl	w2, w8, #3
	bl	_i40e_allocate_virt_mem
	mov	x24, x0
	cbnz	x0, LBB0_11
; %bb.1:
	stp	x20, x21, [sp]                  ; 16-byte Folded Spill
	ldr	x27, [x19, #48]
	str	x27, [x19, #40]
Lloh6:
	adrp	x8, _I40E_HMC_LAN_FULL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_HMC_LAN_FULL@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	mov	w20, #24
	madd	x25, x8, x20, x27
	mov	x24, x25
	str	xzr, [x24, #8]!
	str	xzr, [x25]
	str	xzr, [x25, #16]
Lloh9:
	adrp	x26, _I40E_HMC_LAN_TX@GOTPAGE
Lloh10:
	ldr	x26, [x26, _I40E_HMC_LAN_TX@GOTPAGEOFF]
	ldr	x21, [x26]
Lloh11:
	adrp	x28, _I40E_GLHMC_LANQMAX@GOTPAGE
Lloh12:
	ldr	x28, [x28, _I40E_GLHMC_LANQMAX@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x19
	bl	_rd32
	madd	x20, x21, x20, x27
	str	x0, [x20]
	mov	x27, x20
	str	w23, [x27, #8]!
	str	xzr, [x20, #16]
Lloh13:
	adrp	x8, _I40E_GLHMC_LANTXOBJSZ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _I40E_GLHMC_LANTXOBJSZ@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rd32
	bl	_BIT_ULL
	str	w0, [x20, #12]
	ldr	x3, [x20]
	cmp	x3, x23
	b.ge	LBB0_3
; %bb.2:
Lloh16:
	adrp	x8, _I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPAGEOFF]
Lloh18:
	ldr	x24, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	b	LBB0_10
LBB0_3:
	ldr	x8, [x25]
	add	x8, x8, x3
	str	x8, [x25]
	ldr	w8, [x27]
	ldr	w9, [x24]
	add	w8, w9, w8
	str	w8, [x24]
	ldr	x20, [x19, #40]
Lloh21:
	adrp	x27, _I40E_HMC_LAN_RX@GOTPAGE
Lloh22:
	ldr	x27, [x27, _I40E_HMC_LAN_RX@GOTPAGEOFF]
	ldr	x21, [x27]
	ldr	w1, [x28]
	mov	x0, x19
	bl	_rd32
	mov	w8, #24
	madd	x20, x21, x8, x20
	str	x0, [x20]
	mov	x28, x20
	str	w22, [x28, #8]!
	ldr	x9, [x19, #40]
	ldr	x10, [x26]
	madd	x8, x10, x8, x9
	ldr	x9, [x8, #16]
	ldpsw	x10, x8, [x8, #8]
	madd	x0, x8, x10, x9
	str	x0, [x20, #16]
	bl	_i40e_align_l2obj_base
	str	x0, [x20, #16]
Lloh23:
	adrp	x8, _I40E_GLHMC_LANRXOBJSZ@GOTPAGE
Lloh24:
	ldr	x8, [x8, _I40E_GLHMC_LANRXOBJSZ@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rd32
	bl	_BIT_ULL
	str	w0, [x20, #12]
	ldr	x3, [x20]
	cmp	x3, x22
	b.ge	LBB0_5
; %bb.4:
Lloh26:
	adrp	x8, _I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPAGEOFF]
Lloh28:
	ldr	x24, [x8]
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	b	LBB0_10
LBB0_5:
	ldr	x8, [x25]
	add	x8, x8, x3
	str	x8, [x25]
	ldr	w8, [x28]
	ldr	w9, [x24]
	add	w8, w9, w8
	str	w8, [x24]
	ldr	x20, [x19, #40]
Lloh31:
	adrp	x26, _I40E_HMC_FCOE_CTX@GOTPAGE
Lloh32:
	ldr	x26, [x26, _I40E_HMC_FCOE_CTX@GOTPAGEOFF]
	ldr	x21, [x26]
Lloh33:
	adrp	x8, _I40E_GLHMC_FCOEMAX@GOTPAGE
Lloh34:
	ldr	x8, [x8, _I40E_GLHMC_FCOEMAX@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rd32
	mov	w8, #24
	madd	x20, x21, x8, x20
	str	x0, [x20]
	mov	x28, x20
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	str	w21, [x28, #8]!
	ldr	x9, [x19, #40]
	ldr	x10, [x27]
	madd	x8, x10, x8, x9
	ldr	x9, [x8, #16]
	ldpsw	x10, x8, [x8, #8]
	madd	x0, x8, x10, x9
	str	x0, [x20, #16]
	bl	_i40e_align_l2obj_base
	str	x0, [x20, #16]
Lloh36:
	adrp	x8, _I40E_GLHMC_FCOEDDPOBJSZ@GOTPAGE
Lloh37:
	ldr	x8, [x8, _I40E_GLHMC_FCOEDDPOBJSZ@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rd32
	bl	_BIT_ULL
	str	w0, [x20, #12]
	ldr	x3, [x20]
	cmp	x3, x21
	b.ge	LBB0_7
; %bb.6:
Lloh39:
	adrp	x8, _I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPAGEOFF]
Lloh41:
	ldr	x24, [x8]
Lloh42:
	adrp	x1, l_.str.2@PAGE
Lloh43:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:
	ldr	x8, [x25]
	add	x8, x8, x3
	str	x8, [x25]
	ldr	w8, [x28]
	ldr	w9, [x24]
	add	w8, w9, w8
	str	w8, [x24]
	ldr	x20, [x19, #40]
Lloh44:
	adrp	x8, _I40E_HMC_FCOE_FILT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _I40E_HMC_FCOE_FILT@GOTPAGEOFF]
Lloh46:
	ldr	x21, [x8]
Lloh47:
	adrp	x8, _I40E_GLHMC_FCOEFMAX@GOTPAGE
Lloh48:
	ldr	x8, [x8, _I40E_GLHMC_FCOEFMAX@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rd32
	mov	w8, #24
	madd	x20, x21, x8, x20
	str	x0, [x20]
	mov	x27, x20
	ldr	x21, [sp]                       ; 8-byte Folded Reload
	str	w21, [x27, #8]!
	ldr	x9, [x19, #40]
	ldr	x10, [x26]
	madd	x8, x10, x8, x9
	ldr	x9, [x8, #16]
	ldpsw	x10, x8, [x8, #8]
	madd	x0, x8, x10, x9
	str	x0, [x20, #16]
	bl	_i40e_align_l2obj_base
	str	x0, [x20, #16]
Lloh50:
	adrp	x8, _I40E_GLHMC_FCOEFOBJSZ@GOTPAGE
Lloh51:
	ldr	x8, [x8, _I40E_GLHMC_FCOEFOBJSZ@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rd32
	bl	_BIT_ULL
	str	w0, [x20, #12]
	ldr	x3, [x20]
	cmp	x3, x21
	b.ge	LBB0_12
; %bb.8:
Lloh53:
	adrp	x8, _I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPAGEOFF]
Lloh55:
	ldr	x24, [x8]
Lloh56:
	adrp	x1, l_.str.3@PAGE
Lloh57:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_9:
	mov	x0, x19
	mov	x2, x21
LBB0_10:
	mov	x4, x24
	bl	_hw_dbg
LBB0_11:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	ldr	x8, [x25]
	add	x8, x8, x3
	str	x8, [x25]
	ldr	w8, [x27]
	ldr	w9, [x24]
	add	w8, w9, w8
	str	w8, [x24]
	stp	xzr, xzr, [x19, #24]
	mov	x0, x23
	mov	x1, x22
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, x21
	bl	_i40e_calculate_l2fpm_size
	mov	x20, x0
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_14
LBB0_13:
	mov	x24, #0
	add	x8, x25, #12
	str	w20, [x8]
	b	LBB0_11
LBB0_14:
Lloh58:
	adrp	x8, _I40E_HMC_DIRECT_BP_SIZE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _I40E_HMC_DIRECT_BP_SIZE@GOTPAGEOFF]
Lloh60:
	ldrsw	x8, [x8]
	add	w9, w20, w8
	sub	w9, w9, #1
	sxtw	x9, w9
	sdiv	x8, x9, x8
	mov	x1, x19
	str	w8, [x1], #8
	lsl	w2, w8, #2
	mov	x0, x19
	bl	_i40e_allocate_virt_mem
	mov	x24, x0
	cbnz	x0, LBB0_11
; %bb.15:
	ldr	x8, [x19, #8]
	str	x8, [x19, #16]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_HMC_INFO_SIGNATURE,4,2    ; @I40E_HMC_INFO_SIGNATURE
	.comm	_I40E_HMC_LAN_MAX,4,2           ; @I40E_HMC_LAN_MAX
	.comm	_I40E_HMC_LAN_FULL,8,3          ; @I40E_HMC_LAN_FULL
	.comm	_I40E_HMC_LAN_TX,8,3            ; @I40E_HMC_LAN_TX
	.comm	_I40E_GLHMC_LANQMAX,4,2         ; @I40E_GLHMC_LANQMAX
	.comm	_I40E_GLHMC_LANTXOBJSZ,4,2      ; @I40E_GLHMC_LANTXOBJSZ
	.comm	_I40E_ERR_INVALID_HMC_OBJ_COUNT,8,3 ; @I40E_ERR_INVALID_HMC_OBJ_COUNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i40e_init_lan_hmc: Tx context: asks for 0x%x but max allowed is 0x%x, returns error %d\n"

	.comm	_I40E_HMC_LAN_RX,8,3            ; @I40E_HMC_LAN_RX
	.comm	_I40E_GLHMC_LANRXOBJSZ,4,2      ; @I40E_GLHMC_LANRXOBJSZ
l_.str.1:                               ; @.str.1
	.asciz	"i40e_init_lan_hmc: Rx context: asks for 0x%x but max allowed is 0x%x, returns error %d\n"

	.comm	_I40E_HMC_FCOE_CTX,8,3          ; @I40E_HMC_FCOE_CTX
	.comm	_I40E_GLHMC_FCOEMAX,4,2         ; @I40E_GLHMC_FCOEMAX
	.comm	_I40E_GLHMC_FCOEDDPOBJSZ,4,2    ; @I40E_GLHMC_FCOEDDPOBJSZ
l_.str.2:                               ; @.str.2
	.asciz	"i40e_init_lan_hmc: FCoE context: asks for 0x%x but max allowed is 0x%x, returns error %d\n"

	.comm	_I40E_HMC_FCOE_FILT,8,3         ; @I40E_HMC_FCOE_FILT
	.comm	_I40E_GLHMC_FCOEFMAX,4,2        ; @I40E_GLHMC_FCOEFMAX
	.comm	_I40E_GLHMC_FCOEFOBJSZ,4,2      ; @I40E_GLHMC_FCOEFOBJSZ
l_.str.3:                               ; @.str.3
	.asciz	"i40e_init_lan_hmc: FCoE filter: asks for 0x%x but max allowed is 0x%x, returns error %d\n"

	.comm	_I40E_HMC_DIRECT_BP_SIZE,4,2    ; @I40E_HMC_DIRECT_BP_SIZE
.subsections_via_symbols
