	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bnxt_free_vnic_attributes
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bnxt_free_vnic_attributes:             ## @bnxt_free_vnic_attributes
	.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	8(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r15
	cmpl	$0, (%rdi)
	jle	LBB0_9
## %bb.2:
	movq	16(%r15), %r14
	movl	$56, %ebx
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx), %rdi
	callq	_kfree
	movq	$0, (%r12,%rbx)
	movq	-8(%r12,%rbx), %rdi
	callq	_kfree
	movq	$0, -8(%r12,%rbx)
	movq	-24(%r12,%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-16(%r12,%rbx), %ecx
	movl	-12(%r12,%rbx), %esi
	movq	%r14, %rdi
	callq	_dma_free_coherent
	movq	$0, -24(%r12,%rbx)
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-40(%r12,%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-32(%r12,%rbx), %ecx
	movq	%r14, %rdi
	callq	_dma_free_coherent
	movq	$0, -40(%r12,%rbx)
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, -56(%r12,%rbx)
	movslq	(%r15), %rax
	cmpq	%rax, %r13
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %r12
	addq	$64, %rbx
	incq	%r13
	jmp	LBB0_3
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_bnxt_free_vnic_attributes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_free_vnic_attributes
_bnxt_free_vnic_attributes:             ; @bnxt_free_vnic_attributes
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x22, [x0, #8]
	cbz	x22, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x21, #0
	ldr	x20, [x19, #16]
	mov	w23, #1
Lloh0:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x22, x21
	ldr	x0, [x25, #56]
	bl	_kfree
	str	xzr, [x25, #56]
	ldr	x0, [x25, #48]
	bl	_kfree
	str	xzr, [x25, #48]
	ldr	x2, [x25, #32]
	cbz	x2, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w3, w1, [x25, #40]
	mov	x0, x20
	bl	_dma_free_coherent
	str	xzr, [x25, #32]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x25, #16]
	cbz	x2, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24]
	add	x8, x22, x21
	ldr	w3, [x8, #24]
	mov	x0, x20
	bl	_dma_free_coherent
	str	xzr, [x25, #16]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x22, x21
	stp	xzr, xzr, [x8]
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x19, #8]
	add	x21, x21, #64
	add	x23, x23, #1
	b	LBB0_3
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_bnxt_free_vnic_attributes
.subsections_via_symbols
