	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_tx_int
_bnxt_tx_int:                           ## @bnxt_tx_int
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rdi, %r14
	movq	(%rsi), %r12
	movl	16(%rdi), %edi
	movl	24(%r12), %esi
	callq	_netdev_get_tx_queue
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	(%r12), %r15
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movq	8(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r14,%rbx,8), %rax
	addq	$8, %rax
	movq	$0, (%rax)
	movq	%r15, %r13
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_NEXT_TX
	movq	%rax, %r15
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	addl	(%r13), %ebx
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
	movq	-112(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	16(%r12), %r14
	movq	%r15, %rdi
	callq	_NEXT_TX
	movq	%rax, %r12
	leaq	(%r15,%r15,2), %rbx
	movq	16(%r14,%rbx,8), %r15
	movq	$0, 16(%r14,%rbx,8)
	cmpq	$0, 8(%r14,%rbx,8)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r14,%rbx,8), %rdi
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_unmap_addr
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_headlen
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_dma_unmap_single
	movl	(%r14,%rbx,8), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	shlq	$2, -56(%rbp)                   ## 8-byte Folded Spill
	xorl	%r14d, %r14d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_NEXT_TX
	movq	%rax, %r12
	leaq	(%rax,%rax,2), %rdi
	shlq	$3, %rdi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	16(%rax), %rdi
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_unmap_addr
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_skb_shinfo
	movq	(%rax), %rdi
	addq	%r14, %rdi
	callq	_skb_frag_size
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_dma_unmap_page
	addq	$4, %r14
	cmpq	%r14, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_8
	jmp	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_1:
	xorl	%ebx, %ebx
LBB0_10:
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_netdev_tx_completed_queue
	movq	%r15, (%r12)
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%r14, %rdi
	callq	_netif_tx_queue_stopped
	movq	%rax, %rdi
	callq	_unlikely
	testq	%rax, %rax
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_17
## %bb.11:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_bnxt_tx_avail
	cmpq	(%r15), %rax
	jle	LBB0_17
## %bb.12:
	xorl	%eax, %eax
	callq	_smp_processor_id
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	___netif_tx_lock
	movq	%r14, %rdi
	callq	_netif_tx_queue_stopped
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_bnxt_tx_avail
	cmpq	(%r15), %rax
	jle	LBB0_16
## %bb.14:
	movq	8(%r12), %rax
	movq	_BNXT_DEV_STATE_CLOSING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	_netif_tx_wake_queue
LBB0_16:
	movq	%r14, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___netif_tx_unlock              ## TAILCALL
LBB0_17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mapping,4,2                    ## @mapping
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_BNXT_DEV_STATE_CLOSING,8,3     ## @BNXT_DEV_STATE_CLOSING
	.no_dead_strip	_bnxt_tx_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_tx_int
_bnxt_tx_int:                           ; @bnxt_tx_int
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x2
	mov	x21, x0
	ldr	x28, [x1]
	ldr	w0, [x0, #16]
	ldr	w1, [x28, #24]
	bl	_netdev_get_tx_queue
	stp	x21, x0, [sp]                   ; 16-byte Folded Spill
	ldr	x27, [x28]
	str	w19, [sp, #20]                  ; 4-byte Folded Spill
	cmp	w19, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w20, #0
	mov	w23, #0
	ldr	x24, [x21, #8]
	mov	w21, #24
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x19, x28
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	bl	_NEXT_TX
	mov	x27, x0
	ldr	w8, [x25]
	ldr	w23, [sp, #28]                  ; 4-byte Folded Reload
	add	w23, w23, w8
	mov	x0, x25
	bl	_dev_kfree_skb_any
	ldp	w8, w20, [sp, #20]              ; 8-byte Folded Reload
	add	w20, w20, #1
	cmp	w20, w8
	mov	w21, #24
	mov	x28, x19
	b.eq	LBB0_10
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x22, [x28, #16]
	mov	x0, x27
	bl	_NEXT_TX
	mov	x26, x0
	madd	x8, x27, x21, x22
	ldp	x9, x25, [x8, #8]!
	str	xzr, [x8, #8]
	stp	w20, w23, [sp, #24]             ; 8-byte Folded Spill
	cbnz	x9, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x27, x27, x21, x22
Lloh0:
	adrp	x21, _mapping@GOTPAGE
Lloh1:
	ldr	x21, [x21, _mapping@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x27
	bl	_dma_unmap_addr
	mov	x19, x0
	mov	x0, x25
	bl	_skb_headlen
	mov	x2, x0
Lloh2:
	adrp	x20, _PCI_DMA_TODEVICE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	x0, x24
	mov	x1, x19
	bl	_dma_unmap_single
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, #0
	mov	w23, #24
	mov	x19, x28
	lsl	x28, x8, #2
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x26
	bl	_NEXT_TX
	mov	x26, x0
	ldr	x8, [x19, #16]
	madd	x0, x0, x23, x8
	ldr	w1, [x21]
	bl	_dma_unmap_addr
	mov	x27, x0
	mov	x0, x25
	bl	_skb_shinfo
	ldr	x8, [x0]
	add	x0, x8, x22
	bl	_skb_frag_size
	mov	x2, x0
	ldr	w3, [x20]
	mov	x0, x24
	mov	x1, x27
	bl	_dma_unmap_page
	add	x22, x22, #4
	cmp	x28, x22
	b.ne	LBB0_8
	b	LBB0_4
LBB0_9:
	mov	w23, #0
LBB0_10:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x19
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	mov	x2, x23
	bl	_netdev_tx_completed_queue
	str	x27, [x28]
	bl	_smp_mb
	mov	x0, x19
	bl	_netif_tx_queue_stopped
	bl	_unlikely
	ldr	x21, [sp]                       ; 8-byte Folded Reload
	cbz	x0, LBB0_17
; %bb.11:
	mov	x0, x21
	mov	x1, x28
	bl	_bnxt_tx_avail
	ldr	x8, [x21]
	cmp	x0, x8
	b.le	LBB0_17
; %bb.12:
	bl	_smp_processor_id
	mov	x1, x0
	mov	x0, x19
	bl	___netif_tx_lock
	mov	x0, x19
	bl	_netif_tx_queue_stopped
	cbz	x0, LBB0_16
; %bb.13:
	mov	x0, x21
	mov	x1, x28
	bl	_bnxt_tx_avail
	ldr	x8, [x21]
	cmp	x0, x8
	b.le	LBB0_16
; %bb.14:
	ldr	x8, [x28, #8]
Lloh4:
	adrp	x9, _BNXT_DEV_STATE_CLOSING@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BNXT_DEV_STATE_CLOSING@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_netif_tx_wake_queue
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	___netif_tx_unlock
LBB0_17:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_mapping,4,2                    ; @mapping
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_BNXT_DEV_STATE_CLOSING,8,3     ; @BNXT_DEV_STATE_CLOSING
	.no_dead_strip	_bnxt_tx_int
.subsections_via_symbols
