	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_delete_lan_hmc_object
_i40e_delete_lan_hmc_object:            ## @i40e_delete_lan_hmc_object
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r15
	movq	24(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.2:
	movq	_I40E_HMC_INFO_SIGNATURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%rdi), %rax
	jne	LBB0_10
## %bb.3:
	cmpq	$0, 16(%rdi)
	je	LBB0_11
## %bb.4:
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	(%r15), %rdx
	movq	8(%r15), %rsi
	movq	(%rax,%rsi,8), %rax
	cmpq	%rax, %rdx
	jge	LBB0_15
## %bb.6:
	movq	16(%r15), %rcx
	leaq	(%rcx,%rdx), %rbx
	cmpq	%rax, %rbx
	jle	LBB0_17
## %bb.7:
	movq	_I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_8:
	movq	_I40E_ERR_BAD_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_13
LBB0_9:
	movq	_I40E_ERR_BAD_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_13
LBB0_10:
	movq	_I40E_ERR_BAD_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_13
LBB0_11:
	movq	_I40E_ERR_BAD_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_13
LBB0_12:
	movq	_I40E_ERR_BAD_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	L_.str.4(%rip), %rsi
LBB0_13:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
LBB0_14:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_I40E_ERR_INVALID_HMC_OBJ_INDEX@GOTPCREL(%rip), %rax
LBB0_16:
	movq	(%rax), %r12
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_hw_dbg
	jmp	LBB0_14
LBB0_17:
	leaq	-72(%rbp), %r8
	leaq	-64(%rbp), %r9
	callq	_I40E_FIND_PD_INDEX_LIMIT
	movq	-72(%rbp), %rbx
	movq	-64(%rbp), %rcx
	cmpq	%rcx, %rbx
	jae	LBB0_27
## %bb.18:
	movq	_I40E_HMC_PD_CNT_IN_SD@GOTPCREL(%rip), %r13
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rbx
	cmpq	%rcx, %rbx
	jae	LBB0_27
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	movq	%rbx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rax, -56(%rbp)
	movq	24(%r15), %rsi
	movq	16(%rsi), %rdi
	shlq	$4, %rax
	cmpl	$128, (%rdi,%rax)
	jne	LBB0_19
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	8(%rdi,%rax), %rax
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_19
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_i40e_remove_pd_bp
	testq	%rax, %rax
	jne	LBB0_41
## %bb.26:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-64(%rbp), %rcx
	jmp	LBB0_19
LBB0_27:
	movq	24(%r15), %rdi
	movq	(%r15), %rdx
	movq	8(%r15), %rsi
	movq	16(%r15), %rcx
	leaq	-56(%rbp), %r8
	leaq	-48(%rbp), %r9
	callq	_I40E_FIND_SD_INDEX_LIMIT
	movq	-56(%rbp), %rbx
	movq	24(%r15), %rsi
	movq	8(%rsi), %rax
	cmpq	%rax, %rbx
	jae	LBB0_38
## %bb.28:
	movq	-48(%rbp), %rcx
	cmpq	%rax, %rcx
	ja	LBB0_38
## %bb.29:
	cmpq	%rcx, %rbx
	jae	LBB0_40
## %bb.30:
	movq	%rbx, %r13
	shlq	$4, %r13
	orq	$4, %r13
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rsi), %rax
	cmpl	$0, (%rax,%r13)
	je	LBB0_36
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	-4(%rax,%r13), %eax
	cmpl	$128, %eax
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpl	$129, %eax
	jne	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_i40e_remove_sd_bp
	testq	%rax, %rax
	je	LBB0_36
	jmp	LBB0_41
LBB0_35:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_i40e_remove_pd_page
	testq	%rax, %rax
	jne	LBB0_41
LBB0_36:                                ##   in Loop: Header=BB0_31 Depth=1
	incq	%rbx
	cmpq	-48(%rbp), %rbx
	jae	LBB0_40
## %bb.37:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	24(%r15), %rsi
	addq	$16, %r13
	jmp	LBB0_31
LBB0_38:
	movq	_I40E_ERR_INVALID_SD_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_14
LBB0_40:
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_41:
	movq	%rax, %r12
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_ERR_BAD_PTR,8,3           ## @I40E_ERR_BAD_PTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i40e_delete_hmc_object: bad info ptr\n"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"i40e_delete_hmc_object: bad sd_entry\n"

L_.str.4:                               ## @.str.4
	.asciz	"i40e_delete_hmc_object: bad hmc_info->hmc_obj\n"

	.comm	_I40E_ERR_INVALID_HMC_OBJ_INDEX,8,3 ## @I40E_ERR_INVALID_HMC_OBJ_INDEX
L_.str.5:                               ## @.str.5
	.asciz	"i40e_delete_hmc_object: returns error %d\n"

	.comm	_I40E_ERR_INVALID_HMC_OBJ_COUNT,8,3 ## @I40E_ERR_INVALID_HMC_OBJ_COUNT
	.comm	_I40E_HMC_PD_CNT_IN_SD,8,3      ## @I40E_HMC_PD_CNT_IN_SD
	.comm	_I40E_ERR_INVALID_SD_INDEX,8,3  ## @I40E_ERR_INVALID_SD_INDEX
	.no_dead_strip	_i40e_delete_lan_hmc_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_delete_lan_hmc_object
_i40e_delete_lan_hmc_object:            ; @i40e_delete_lan_hmc_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x0
	cbz	x1, LBB0_8
; %bb.1:
	mov	x20, x1
	ldr	x0, [x1, #24]
	cbz	x0, LBB0_9
; %bb.2:
Lloh0:
	adrp	x8, _I40E_HMC_INFO_SIGNATURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_HMC_INFO_SIGNATURE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.3:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_11
; %bb.4:
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_12
; %bb.5:
	ldp	x2, x1, [x20]
	ldr	x8, [x8, x1, lsl #3]
	cmp	x2, x8
	b.ge	LBB0_13
; %bb.6:
	ldr	x3, [x20, #16]
	add	x9, x3, x2
	cmp	x9, x8
	b.le	LBB0_17
; %bb.7:
Lloh3:
	adrp	x8, _I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_ERR_INVALID_HMC_OBJ_COUNT@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
Lloh5:
	adrp	x8, _I40E_ERR_BAD_PTR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40E_ERR_BAD_PTR@GOTPAGEOFF]
Lloh7:
	ldr	x21, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_15
LBB0_9:
Lloh10:
	adrp	x8, _I40E_ERR_BAD_PTR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _I40E_ERR_BAD_PTR@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_10:
Lloh15:
	adrp	x8, _I40E_ERR_BAD_PTR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I40E_ERR_BAD_PTR@GOTPAGEOFF]
Lloh17:
	ldr	x21, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_11:
Lloh20:
	adrp	x8, _I40E_ERR_BAD_PTR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _I40E_ERR_BAD_PTR@GOTPAGEOFF]
Lloh22:
	ldr	x21, [x8]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_12:
Lloh25:
	adrp	x8, _I40E_ERR_BAD_PTR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _I40E_ERR_BAD_PTR@GOTPAGEOFF]
Lloh27:
	ldr	x21, [x8]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_13:
Lloh30:
	adrp	x8, _I40E_ERR_INVALID_HMC_OBJ_INDEX@GOTPAGE
Lloh31:
	ldr	x8, [x8, _I40E_ERR_INVALID_HMC_OBJ_INDEX@GOTPAGEOFF]
LBB0_14:
	ldr	x21, [x8]
	str	x21, [sp]
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_15:
	mov	x0, x19
	bl	_hw_dbg
LBB0_16:
	mov	x0, x21
	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
	add	sp, sp, #112
	ret
LBB0_17:
	add	x4, sp, #40
	add	x5, sp, #32
	bl	_I40E_FIND_PD_INDEX_LIMIT
	ldp	x8, x22, [sp, #32]
	cmp	x22, x8
	b.hs	LBB0_24
; %bb.18:
Lloh34:
	adrp	x23, _I40E_HMC_PD_CNT_IN_SD@GOTPAGE
Lloh35:
	ldr	x23, [x23, _I40E_HMC_PD_CNT_IN_SD@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x22, x22, #1
	cmp	x22, x8
	b.hs	LBB0_24
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	udiv	x10, x22, x9
	str	x10, [sp, #24]
	ldr	x1, [x20, #24]
	ldr	x11, [x1, #16]
	lsl	x12, x10, #4
	ldr	w12, [x11, x12]
	cmp	w12, #128
	b.ne	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	msub	x9, x10, x9, x22
	add	x10, x11, x10, lsl #4
	ldr	x10, [x10, #8]
	ldr	x9, [x10, x9, lsl #3]
	cbz	x9, LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x19
	mov	x2, x22
	bl	_i40e_remove_pd_bp
	cbnz	x0, LBB0_37
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [sp, #32]
	b	LBB0_19
LBB0_24:
	ldp	x2, x1, [x20]
	ldp	x3, x0, [x20, #16]
	add	x4, sp, #24
	add	x5, sp, #16
	bl	_I40E_FIND_SD_INDEX_LIMIT
	ldr	x22, [sp, #24]
	ldr	x1, [x20, #24]
	ldr	x8, [x1, #8]
	cmp	x22, x8
	b.hs	LBB0_35
; %bb.25:
	ldr	x9, [sp, #16]
	cmp	x9, x8
	b.hi	LBB0_35
; %bb.26:
	cmp	x22, x9
	b.hs	LBB0_36
; %bb.27:
	lsl	x23, x22, #4
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x1, #16]
	add	x9, x8, x23
	ldr	w9, [x9, #4]
	cbz	w9, LBB0_33
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x8, x23]
	cmp	w8, #128
	b.eq	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	cmp	w8, #129
	b.ne	LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	x0, x19
	mov	x2, x22
	bl	_i40e_remove_sd_bp
	cbz	x0, LBB0_33
	b	LBB0_37
LBB0_32:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	x0, x19
	mov	x2, x22
	bl	_i40e_remove_pd_page
	cbnz	x0, LBB0_37
LBB0_33:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x22, x22, #1
	ldr	x8, [sp, #16]
	cmp	x22, x8
	b.hs	LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x1, [x20, #24]
	add	x23, x23, #16
	b	LBB0_28
LBB0_35:
Lloh36:
	adrp	x8, _I40E_ERR_INVALID_SD_INDEX@GOTPAGE
Lloh37:
	ldr	x8, [x8, _I40E_ERR_INVALID_SD_INDEX@GOTPAGEOFF]
Lloh38:
	ldr	x21, [x8]
	b	LBB0_16
LBB0_36:
	mov	x21, #0
	b	LBB0_16
LBB0_37:
	mov	x21, x0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_ERR_BAD_PTR,8,3           ; @I40E_ERR_BAD_PTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i40e_delete_hmc_object: bad info ptr\n"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"i40e_delete_hmc_object: bad sd_entry\n"

l_.str.4:                               ; @.str.4
	.asciz	"i40e_delete_hmc_object: bad hmc_info->hmc_obj\n"

	.comm	_I40E_ERR_INVALID_HMC_OBJ_INDEX,8,3 ; @I40E_ERR_INVALID_HMC_OBJ_INDEX
l_.str.5:                               ; @.str.5
	.asciz	"i40e_delete_hmc_object: returns error %d\n"

	.comm	_I40E_ERR_INVALID_HMC_OBJ_COUNT,8,3 ; @I40E_ERR_INVALID_HMC_OBJ_COUNT
	.comm	_I40E_HMC_PD_CNT_IN_SD,8,3      ; @I40E_HMC_PD_CNT_IN_SD
	.comm	_I40E_ERR_INVALID_SD_INDEX,8,3  ; @I40E_ERR_INVALID_SD_INDEX
	.no_dead_strip	_i40e_delete_lan_hmc_object
.subsections_via_symbols
