	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_release_tx_buffers      ## -- Begin function qlcnic_release_tx_buffers
	.p2align	4, 0x90
_qlcnic_release_tx_buffers:             ## @qlcnic_release_tx_buffers
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	4(%rsi), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rbx)
	jle	LBB0_12
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rbx
	incl	%r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r13d
	jge	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	16(%rbx), %r15
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	movl	8(%r15), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_single
	movq	$0, (%r15)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %r15
	movl	$1, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	incl	%r14d
	addq	$16, %r15
	cmpl	%eax, %r14d
	jge	LBB0_9
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	(%r12), %edi
	movl	8(%r15), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_page
	movq	$0, (%r15)
	movl	(%rbx), %eax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	callq	_dev_kfree_skb_any
	movq	$0, 8(%rbx)
	jmp	LBB0_11
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_release_tx_buffers      ; -- Begin function qlcnic_release_tx_buffers
	.p2align	2
_qlcnic_release_tx_buffers:             ; @qlcnic_release_tx_buffers
	.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
	mov	x19, x1
	mov	x21, x0
	add	x20, x1, #4
	mov	x0, x20
	bl	_spin_lock
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	w22, #0
	ldr	x23, [x19, #8]
Lloh0:
	adrp	x24, _PCI_DMA_TODEVICE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #24
	add	w22, w22, #1
	ldr	w8, [x19]
	cmp	w22, w8
	b.ge	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x25, [x23, #16]
	ldr	x1, [x25]
	cbz	x1, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	ldr	w2, [x25, #8]
	ldr	w3, [x24]
	bl	_pci_unmap_single
	str	xzr, [x25]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #16
	mov	w26, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	w26, w26, #1
	add	x25, x25, #16
	cmp	w26, w8
	b.ge	LBB0_10
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x25]
	cbz	x1, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x21]
	ldr	w2, [x25, #8]
	ldr	w3, [x24]
	bl	_pci_unmap_page
	str	xzr, [x25]
	ldr	w8, [x23]
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x23, #8]
	cbz	x0, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_dev_kfree_skb_any
	str	xzr, [x23, #8]
	b	LBB0_2
LBB0_12:
	mov	x0, x20
	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
	b	_spin_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
.subsections_via_symbols
