	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_free_tx_skbs
_bnxt_free_tx_skbs:                     ## @bnxt_free_tx_skbs
	.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
	cmpq	$0, 24(%rdi)
	je	LBB0_19
## %bb.1:
	cmpl	$0, 4(%rdi)
	jle	LBB0_19
## %bb.2:
	movq	32(%rdi), %r14
	movq	_TX_DESC_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	(%rdi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%ecx, %ecx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_netdev_get_tx_queue
	movl	%eax, %edi
	callq	_netdev_tx_reset_queue
	movq	%rbx, %rdi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movslq	4(%rbx), %rax
	cmpq	%rax, %rcx
	jge	LBB0_19
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rdi), %rsi
	xorl	%r15d, %r15d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_addr
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_len
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_dma_unmap_single
	movq	32(%r14,%r12,8), %rdi
	callq	_xdp_return_frame
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, (%r13)
	movq	$0, 32(%r14,%r12,8)
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=2
	incl	%r15d
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=2
	cmpl	-52(%rbp), %r15d                ## 4-byte Folded Reload
	jge	LBB0_3
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
	movq	(%rsi,%rcx,8), %r14
	movslq	%r15d, %rax
	leaq	(%rax,%rax,4), %r12
	leaq	(%r14,%r12,8), %r13
	movslq	8(%rdi), %rax
	cmpq	%rax, %rcx
	jge	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	(%r13), %rax
	movq	_XDP_REDIRECT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	24(%r14,%r12,8), %rbx
	testq	%rbx, %rbx
	movq	_mapping@GOTPCREL(%rip), %rdx
	je	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=2
	leaq	(%r14,%r12,8), %rax
	addq	$24, %rax
	movq	$0, (%rax)
	cmpq	$0, 16(%r14,%r12,8)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%rdi, %r14
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	$2, %r15d
	jmp	LBB0_7
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	(%rdx), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_addr
	movl	%eax, %r13d
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_skb_headlen
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_single
	movl	8(%r14,%r12,8), %eax
	addl	$2, %r15d
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=2
	shlq	$2, -64(%rbp)                   ## 8-byte Folded Spill
	xorl	%r14d, %r14d
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %eax
	andl	%r15d, %eax
	movslq	%eax, %r13
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	(%rax), %rbx
	addq	%r14, %rbx
	leaq	(,%r13,4), %rdi
	addq	%r13, %rdi
	shlq	$3, %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addq	(%rcx,%rax,8), %rdi
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_unmap_addr
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_skb_frag_size
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_page
	incl	%r15d
	addq	$4, %r14
	cmpq	%r14, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_16
	jmp	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	-96(%rbp), %r12                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_DESC_CNT,4,2                ## @TX_DESC_CNT
	.comm	_XDP_REDIRECT,8,3               ## @XDP_REDIRECT
	.comm	_mapping,4,2                    ## @mapping
	.comm	_len,4,2                        ## @len
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.no_dead_strip	_bnxt_free_tx_skbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_free_tx_skbs
_bnxt_free_tx_skbs:                     ; @bnxt_free_tx_skbs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_19
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.2:
	mov	x20, #0
	ldr	x19, [x21, #32]
Lloh0:
	adrp	x8, _TX_DESC_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TX_DESC_CNT@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh2:
	ldr	w8, [x8]
	mul	w26, w8, w9
Lloh3:
	adrp	x25, _XDP_REDIRECT@GOTPAGE
Lloh4:
	ldr	x25, [x25, _XDP_REDIRECT@GOTPAGEOFF]
	str	w26, [sp, #20]                  ; 4-byte Folded Spill
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21, #16]
	mov	x1, x20
	bl	_netdev_get_tx_queue
	bl	_netdev_tx_reset_queue
	add	x20, x20, #1
	ldrsw	x8, [x21, #4]
	cmp	x20, x8
	b.ge	LBB0_19
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_16 Depth 3
	cmp	w26, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
	ldr	x10, [x21, #24]
	str	x10, [sp, #40]                  ; 8-byte Folded Spill
	str	x20, [sp, #24]                  ; 8-byte Folded Spill
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=2
Lloh5:
	adrp	x8, _mapping@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mapping@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_dma_unmap_addr
	mov	x22, x0
Lloh8:
	adrp	x8, _len@GOTPAGE
Lloh9:
	ldr	x8, [x8, _len@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_dma_unmap_len
	mov	x2, x0
Lloh11:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_dma_unmap_single
	madd	x22, x24, x28, x27
	ldr	x0, [x22, #32]
	bl	_xdp_return_frame
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	str	xzr, [x23]
	str	xzr, [x22, #32]
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w28, w24, #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	cmp	w28, w26
	b.ge	LBB0_3
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_16 Depth 3
	ldr	x27, [x10, x20, lsl #3]
	sxtw	x24, w28
	mov	w8, #40
	smaddl	x23, w28, w8, x27
	mov	w28, #40
	ldrsw	x8, [x21, #8]
	cmp	x20, x8
	b.ge	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x23]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=2
	madd	x8, x24, x28, x27
	ldr	x22, [x8, #24]!
Lloh14:
	adrp	x9, _mapping@GOTPAGE
Lloh15:
	ldr	x9, [x9, _mapping@GOTPAGEOFF]
	cbz	x22, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	str	xzr, [x8]
	madd	x8, x24, x28, x27
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x22
	bl	_dev_kfree_skb
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	add	w28, w24, #2
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w1, [x9]
	mov	x0, x23
	bl	_dma_unmap_addr
	mov	x23, x0
	str	x22, [sp, #32]                  ; 8-byte Folded Spill
	mov	x0, x22
	bl	_skb_headlen
	mov	x2, x0
Lloh16:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x21, x19
	mov	x0, x19
	mov	x1, x23
	bl	_dma_unmap_single
	madd	x8, x24, x28, x27
	ldr	w8, [x8, #8]
	add	w28, w24, #2
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x27, #0
	lsl	x26, x8, #2
	mov	x19, x21
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	ldp	x20, x25, [sp, #24]             ; 16-byte Folded Reload
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x21, #12]
	and	w24, w8, w28
	mov	x0, x25
	bl	_skb_shinfo
	ldr	x8, [x0]
	add	x23, x8, x27
	ldr	x8, [x22, x20, lsl #3]
	mov	w9, #40
	smaddl	x0, w24, w9, x8
Lloh19:
	adrp	x8, _mapping@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mapping@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_dma_unmap_addr
	mov	x24, x0
	mov	x0, x23
	bl	_skb_frag_size
	mov	x2, x0
Lloh22:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x24
	bl	_dma_unmap_page
	add	w28, w28, #1
	add	x27, x27, #4
	cmp	x26, x27
	b.ne	LBB0_16
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x19, x21
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	ldp	x20, x25, [sp, #24]             ; 16-byte Folded Reload
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x25
	bl	_dev_kfree_skb
	ldr	w26, [sp, #20]                  ; 4-byte Folded Reload
Lloh25:
	adrp	x25, _XDP_REDIRECT@GOTPAGE
Lloh26:
	ldr	x25, [x25, _XDP_REDIRECT@GOTPAGEOFF]
	mov	x10, x22
	b	LBB0_8
LBB0_19:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_DESC_CNT,4,2                ; @TX_DESC_CNT
	.comm	_XDP_REDIRECT,8,3               ; @XDP_REDIRECT
	.comm	_mapping,4,2                    ; @mapping
	.comm	_len,4,2                        ; @len
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.no_dead_strip	_bnxt_free_tx_skbs
.subsections_via_symbols
