	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_free_mem                 ## -- Begin function bnx2x_free_mem
	.p2align	4, 0x90
_bnx2x_free_mem:                        ## @bnx2x_free_mem
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	68(%rdi), %edi
	movl	4(%r14), %edx
	movl	64(%r14), %esi
	addl	(%r14), %edx
	callq	_BNX2X_PCI_FREE
	movq	%r14, %rdi
	callq	_IS_VF
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	56(%r14), %esi
	movl	60(%r14), %edi
	movl	$4, %edx
	callq	_BNX2X_PCI_FREE
	movl	48(%r14), %esi
	movl	52(%r14), %edi
	movl	$4, %edx
	callq	_BNX2X_PCI_FREE
	movq	%r14, %rdi
	callq	_L2_ILT_LINES
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	movl	$8, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rax
	movl	(%rax,%rbx), %edi
	movl	-8(%rax,%rbx), %edx
	movl	-4(%rax,%rbx), %esi
	callq	_BNX2X_PCI_FREE
	incq	%r15
	movq	%r14, %rdi
	callq	_L2_ILT_LINES
	cltq
	addq	$12, %rbx
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_4:
	movq	_ILT_MEMOP_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bnx2x_ilt_mem_op
	movq	32(%r14), %rax
	movl	(%rax), %edi
	callq	_BNX2X_FREE
	movl	24(%r14), %esi
	movl	28(%r14), %edi
	movq	_BCM_PAGE_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_BNX2X_PCI_FREE
	movl	16(%r14), %esi
	movl	20(%r14), %edi
	movq	_NUM_EQ_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	imull	(%rbx), %edx
	callq	_BNX2X_PCI_FREE
	movl	8(%r14), %esi
	movl	12(%r14), %edi
	movq	_SRC_T2_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_BNX2X_PCI_FREE
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_iov_free_mem             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ILT_MEMOP_FREE,4,2             ## @ILT_MEMOP_FREE
	.comm	_BCM_PAGE_SIZE,4,2              ## @BCM_PAGE_SIZE
	.comm	_NUM_EQ_PAGES,4,2               ## @NUM_EQ_PAGES
	.comm	_SRC_T2_SZ,4,2                  ## @SRC_T2_SZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_free_mem                 ; -- Begin function bnx2x_free_mem
	.p2align	2
_bnx2x_free_mem:                        ; @bnx2x_free_mem
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w0, [x0, #68]
	ldr	w1, [x19, #64]
	ldp	w8, w9, [x19]
	add	w2, w9, w8
	bl	_BNX2X_PCI_FREE
	mov	x0, x19
	bl	_IS_VF
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldp	w1, w0, [x19, #56]
	mov	w2, #4
	bl	_BNX2X_PCI_FREE
	ldp	w1, w0, [x19, #48]
	mov	w2, #4
	bl	_BNX2X_PCI_FREE
	mov	x0, x19
	bl	_L2_ILT_LINES
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x8, x8, x20
	ldp	w1, w0, [x8, #4]
	ldr	w2, [x8]
	bl	_BNX2X_PCI_FREE
	add	x21, x21, #1
	mov	x0, x19
	bl	_L2_ILT_LINES
	add	x20, x20, #12
	cmp	x21, w0, sxtw
	b.lt	LBB0_4
LBB0_5:
Lloh0:
	adrp	x8, _ILT_MEMOP_FREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ILT_MEMOP_FREE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bnx2x_ilt_mem_op
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
	bl	_BNX2X_FREE
	ldp	w1, w0, [x19, #24]
Lloh3:
	adrp	x20, _BCM_PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _BCM_PAGE_SIZE@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_BNX2X_PCI_FREE
	ldp	w1, w0, [x19, #16]
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _NUM_EQ_PAGES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NUM_EQ_PAGES@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	mul	w2, w9, w8
	bl	_BNX2X_PCI_FREE
	ldp	w1, w0, [x19, #8]
Lloh8:
	adrp	x8, _SRC_T2_SZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SRC_T2_SZ@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_BNX2X_PCI_FREE
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_bnx2x_iov_free_mem
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ILT_MEMOP_FREE,4,2             ; @ILT_MEMOP_FREE
	.comm	_BCM_PAGE_SIZE,4,2              ; @BCM_PAGE_SIZE
	.comm	_NUM_EQ_PAGES,4,2               ; @NUM_EQ_PAGES
	.comm	_SRC_T2_SZ,4,2                  ; @SRC_T2_SZ
.subsections_via_symbols
