	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_start_xmit
_bnad_start_xmit:                       ## @bnad_start_xmit
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_skb_headlen
	movq	%rax, %r12
	movq	(%r15), %rax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	_tx_skb_too_short@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_BFI_TX_MAX_DATA_PER_VECTOR@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %r12
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	_tx_skb_headlen_zero@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_BNAD_UPDATE_CTR
LBB0_6:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
LBB0_7:
	movl	(%rbx), %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.9:
	movq	_BNAD_TXQ_TX_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%rbx), %rsi
	callq	_test_bit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	jmp	LBB0_11
LBB0_10:
	movl	$1, %edi
LBB0_11:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	_tx_skb_stopping@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_13:
	movq	(%rbx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	56(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_shinfo
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rbx
	leaq	1(%rbx), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_BNA_TXQ_WI_NEEDED
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_BFI_TX_MAX_VECTORS_PER_PKT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	_tx_skb_max_vectors@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_15:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_BNA_QE_FREE_CNT
	xorl	%edi, %edi
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_22
## %bb.16:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	cmpq	24(%rbx), %rax
	je	LBB0_18
## %bb.17:
	movq	_BNAD_TXQ_FREE_SENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%rbx), %rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_26
LBB0_18:
	movq	%r13, %rdi
	callq	_netif_stop_queue
	movq	_netif_queue_stop@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_BNAD_UPDATE_CTR
LBB0_19:
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_BNA_QE_FREE_CNT
	xorl	%edi, %edi
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	setg	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_netif_queue_stop@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_BNAD_UPDATE_CTR
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_21:
	movq	%r13, %rdi
	callq	_netif_wake_queue
	movq	_netif_queue_wakeup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_BNAD_UPDATE_CTR
LBB0_22:
	movq	%rbx, %rsi
	movq	40(%rbx), %rax
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r13
	shlq	$5, %r13
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r13), %rcx
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	callq	_bnad_txq_wi_prepare
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_6
LBB0_24:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, 24(%rcx,%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rcx,%r13)
	leaq	(%rbx,%rbx,2), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, 16(%rcx,%rax,8)
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, (%rcx,%rax,8)
	movq	(%r14), %rdi
	movl	8(%r15), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdx
	callq	_dma_map_single
	movl	%eax, %ebx
	movq	(%r14), %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_29
LBB0_25:
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	_tx_skb_map_failed@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_26:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bnad_txcmpl_process
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_BNAD_TXQ_TX_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movl	48(%rbx), %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_bna_ib_ack
LBB0_28:
	xorl	%eax, %eax
	callq	_smp_mb__before_atomic
	movq	_BNAD_TXQ_FREE_SENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_bit
	jmp	LBB0_19
LBB0_29:
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rsi
	addq	$8, %rsi
	movl	%ebx, %edi
	callq	_BNA_SET_DMA_ADDR
	movq	%r12, %rdi
	callq	_htons
	movq	(%r13), %rcx
	movq	%rax, (%rcx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rax,%rcx,8), %rdi
	movl	%ebx, %esi
	movl	%ebx, %edx
	callq	_dma_unmap_addr_set
	movq	-120(%rbp), %rax                ## 8-byte Reload
	incq	(%rax)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	jle	LBB0_36
## %bb.30:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %rcx
	addq	$8, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rcx, %rbx
	callq	_skb_shinfo
	movq	8(%rax), %r13
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	addq	%rbx, %r13
	movq	%r13, %rdi
	callq	_skb_frag_size
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_39
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movq	_BFI_TX_MAX_VECTORS_PER_WI@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_BNA_QE_INDX_INC
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	addq	%rbx, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_BNA_TXQ_WI_EXTENSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_htons
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx,%rbx)
	xorl	%ebx, %ebx
LBB0_34:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	(%r14), %rdi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rcx
	callq	_skb_frag_dma_map
	movq	(%r14), %rdi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=1
	addq	%r13, %r12
	leaq	(,%rbx,4), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	addq	%rcx, %rdi
	movq	_dma_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	callq	_dma_unmap_len_set
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	shlq	$4, %rbx
	leaq	(%rax,%rbx), %rsi
	addq	$8, %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_BNA_SET_DMA_ADDR
	movq	%r13, %rdi
	callq	_htons
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%rbx)
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax), %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %esi
	callq	_dma_unmap_addr_set
	movq	-120(%rbp), %rax                ## 8-byte Reload
	incq	(%rax)
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	addq	$4, %rcx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	decq	%rax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_31
	jmp	LBB0_37
LBB0_36:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_37:
	xorl	%edi, %edi
	cmpq	(%r15), %r12
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_40
## %bb.38:
	movq	8(%rbx), %rcx
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_bnad_tx_buff_unmap
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	_tx_skb_len_mismatch@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_39:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rcx
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_bnad_tx_buff_unmap
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	_tx_skb_frag_zero@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_40:
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_BNA_QE_INDX_INC
	movq	%r14, 8(%rbx)
	xorl	%eax, %eax
	callq	_wmb
	movq	_BNAD_TXQ_TX_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%rbx), %rsi
	callq	_test_bit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	movq	%rbx, %r14
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.41:
	movq	%r15, %rdi
	callq	_skb_tx_timestamp
	movq	%r14, %rdi
	callq	_bna_txq_prod_indx_doorbell
	jmp	LBB0_7
LBB0_42:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rcx
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_bnad_tx_buff_unmap
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_tx_skb_too_short,4,2           ## @tx_skb_too_short
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_BFI_TX_MAX_DATA_PER_VECTOR,8,3 ## @BFI_TX_MAX_DATA_PER_VECTOR
	.comm	_tx_skb_headlen_zero,4,2        ## @tx_skb_headlen_zero
	.comm	_BNAD_TXQ_TX_STARTED,4,2        ## @BNAD_TXQ_TX_STARTED
	.comm	_tx_skb_stopping,4,2            ## @tx_skb_stopping
	.comm	_BFI_TX_MAX_VECTORS_PER_PKT,8,3 ## @BFI_TX_MAX_VECTORS_PER_PKT
	.comm	_tx_skb_max_vectors,4,2         ## @tx_skb_max_vectors
	.comm	_BNAD_TXQ_FREE_SENT,4,2         ## @BNAD_TXQ_FREE_SENT
	.comm	_netif_queue_stop,4,2           ## @netif_queue_stop
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_netif_queue_wakeup,4,2         ## @netif_queue_wakeup
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_tx_skb_map_failed,4,2          ## @tx_skb_map_failed
	.comm	_tx_skb_frag_zero,4,2           ## @tx_skb_frag_zero
	.comm	_BFI_TX_MAX_VECTORS_PER_WI,8,3  ## @BFI_TX_MAX_VECTORS_PER_WI
	.comm	_BNA_TXQ_WI_EXTENSION,8,3       ## @BNA_TXQ_WI_EXTENSION
	.comm	_dma_len,4,2                    ## @dma_len
	.comm	_tx_skb_len_mismatch,4,2        ## @tx_skb_len_mismatch
	.no_dead_strip	_bnad_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_start_xmit
_bnad_start_xmit:                       ; @bnad_start_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x26, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x20
	bl	_skb_headlen
	mov	x22, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, le
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_dev_kfree_skb_any
Lloh3:
	adrp	x8, _tx_skb_too_short@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tx_skb_too_short@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _BFI_TX_MAX_DATA_PER_VECTOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BFI_TX_MAX_DATA_PER_VECTOR@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x22, x8
	cset	w0, gt
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.3:
	cmp	x22, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_8
LBB0_4:
	mov	x0, x20
	bl	_dev_kfree_skb_any
Lloh8:
	adrp	x8, _tx_skb_headlen_zero@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tx_skb_headlen_zero@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_BNAD_UPDATE_CTR
LBB0_6:
Lloh10:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x21, [x8]
	cbz	x21, LBB0_11
; %bb.9:
Lloh12:
	adrp	x8, _BNAD_TXQ_TX_STARTED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNAD_TXQ_TX_STARTED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x1, x21, #32
	bl	_test_bit
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_12
LBB0_10:
	mov	x0, x20
	bl	_dev_kfree_skb_any
Lloh15:
	adrp	x8, _tx_skb_stopping@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tx_skb_stopping@GOTPAGEOFF]
	b	LBB0_5
LBB0_11:
	mov	w0, #1
	bl	_unlikely
	cbnz	x0, LBB0_10
LBB0_12:
	ldp	x8, x23, [x21]
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	ldr	x27, [x21, #56]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x25, [x0]
	add	x28, x25, #1
	mov	x0, x28
	bl	_BNA_TXQ_WI_NEEDED
	mov	x24, x0
Lloh17:
	adrp	x8, _BFI_TX_MAX_VECTORS_PER_PKT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BFI_TX_MAX_VECTORS_PER_PKT@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x25, x8
	cset	w0, ge
	bl	_unlikely
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_dev_kfree_skb_any
Lloh20:
	adrp	x8, _tx_skb_max_vectors@GOTPAGE
Lloh21:
	ldr	x8, [x8, _tx_skb_max_vectors@GOTPAGEOFF]
	b	LBB0_5
LBB0_14:
	stp	x27, x23, [sp, #48]             ; 16-byte Folded Spill
	mov	x0, x21
	ldr	x23, [sp, #72]                  ; 8-byte Folded Reload
	mov	x1, x23
	bl	_BNA_QE_FREE_CNT
	cmp	x24, x0
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_21
; %bb.15:
	mov	x27, x24
	mov	x24, x23
	str	x25, [sp, #64]                  ; 8-byte Folded Spill
	ldp	x8, x9, [x21, #16]
	ldr	x8, [x8]
Lloh22:
	adrp	x25, _netif_queue_stop@GOTPAGE
Lloh23:
	ldr	x25, [x25, _netif_queue_stop@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.16:
Lloh24:
	adrp	x8, _BNAD_TXQ_FREE_SENT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BNAD_TXQ_FREE_SENT@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	add	x23, x21, #32
	mov	x1, x23
	bl	_test_and_set_bit
	cbz	w0, LBB0_25
LBB0_17:
	mov	x0, x26
	bl	_netif_stop_queue
	ldr	w1, [x25]
	mov	x0, x19
	bl	_BNAD_UPDATE_CTR
LBB0_18:
	bl	_smp_mb
	mov	x0, x21
	mov	x1, x24
	bl	_BNA_QE_FREE_CNT
	cmp	x27, x0
	cset	w0, gt
	bl	_likely
	cbz	x0, LBB0_20
; %bb.19:
	ldr	w1, [x25]
	mov	x0, x19
	bl	_BNAD_UPDATE_CTR
Lloh27:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_7
LBB0_20:
	mov	x0, x26
	bl	_netif_wake_queue
Lloh29:
	adrp	x8, _netif_queue_wakeup@GOTPAGE
Lloh30:
	ldr	x8, [x8, _netif_queue_wakeup@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_BNAD_UPDATE_CTR
	ldr	x25, [sp, #64]                  ; 8-byte Folded Reload
LBB0_21:
	ldr	x8, [x21, #40]
	ldr	x26, [sp, #56]                  ; 8-byte Folded Reload
	add	x23, x8, x26, lsl #5
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	_bnad_txq_wi_prepare
	cbz	x0, LBB0_23
; %bb.22:
	mov	x0, x20
	bl	_dev_kfree_skb_any
	b	LBB0_6
LBB0_23:
	stp	x28, xzr, [x23, #16]
	mov	w8, #24
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
	madd	x27, x26, x8, x28
	str	x20, [x27, #16]
	str	xzr, [x27]
	ldr	x0, [x19]
	ldr	w1, [x20, #8]
Lloh32:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
	mov	x2, x22
	bl	_dma_map_single
	mov	x24, x0
	ldr	x0, [x19]
	mov	x1, x24
	bl	_dma_mapping_error
	cbz	x0, LBB0_28
LBB0_24:
	mov	x0, x20
	bl	_dev_kfree_skb_any
Lloh35:
	adrp	x8, _tx_skb_map_failed@GOTPAGE
Lloh36:
	ldr	x8, [x8, _tx_skb_map_failed@GOTPAGEOFF]
	b	LBB0_5
LBB0_25:
	mov	x0, x19
	mov	x1, x21
	bl	_bnad_txcmpl_process
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
Lloh37:
	adrp	x8, _BNAD_TXQ_TX_STARTED@GOTPAGE
Lloh38:
	ldr	x8, [x8, _BNAD_TXQ_TX_STARTED@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	bl	_likely
	cbz	x0, LBB0_27
; %bb.26:
	ldr	w0, [x21, #48]
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	bl	_bna_ib_ack
LBB0_27:
	bl	_smp_mb__before_atomic
Lloh40:
	adrp	x8, _BNAD_TXQ_FREE_SENT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BNAD_TXQ_FREE_SENT@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_clear_bit
	b	LBB0_18
LBB0_28:
	ldr	x8, [x23]
	add	x1, x8, #8
	mov	x0, x24
	bl	_BNA_SET_DMA_ADDR
	mov	x0, x22
	bl	_htons
	ldr	x8, [x23]
	str	x0, [x8]
	mov	w8, #24
	madd	x8, x26, x8, x28
	ldr	x0, [x8, #8]!
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mov	x1, x24
	mov	x2, x24
	bl	_dma_unmap_addr_set
	ldr	x8, [x27]
	add	x8, x8, #1
	str	x8, [x27]
	cmp	x25, #1
	b.lt	LBB0_35
; %bb.29:
	str	x25, [sp, #64]                  ; 8-byte Folded Spill
	str	x23, [sp, #24]                  ; 8-byte Folded Spill
	mov	x23, #0
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
	str	x27, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x25, [sp, #16]                  ; 8-byte Folded Reload
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x28, x8, x23
	mov	x0, x28
	bl	_skb_frag_size
	mov	x27, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_38
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
	add	x26, x26, #1
Lloh43:
	adrp	x8, _BFI_TX_MAX_VECTORS_PER_WI@GOTPAGE
Lloh44:
	ldr	x8, [x8, _BFI_TX_MAX_VECTORS_PER_WI@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	cmp	x26, x8
	b.ne	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x26, [sp, #56]                  ; 8-byte Folded Reload
	mov	x0, x26
	mov	x1, x24
	bl	_BNA_QE_INDX_INC
	ldr	x8, [x21, #40]
	add	x24, x8, x26, lsl #5
Lloh46:
	adrp	x8, _BNA_TXQ_WI_EXTENSION@GOTPAGE
Lloh47:
	ldr	x8, [x8, _BNA_TXQ_WI_EXTENSION@GOTPAGEOFF]
Lloh48:
	ldr	x0, [x8]
	bl	_htons
	mov	x26, #0
	str	x24, [sp, #24]                  ; 8-byte Folded Spill
	str	x0, [x24, #8]
LBB0_33:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x0, [x19]
Lloh49:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh51:
	ldr	w4, [x8]
	mov	x1, x28
	mov	w2, #0
	mov	x3, x27
	bl	_skb_frag_dma_map
	mov	x24, x0
	ldr	x0, [x19]
	mov	x1, x24
	bl	_dma_mapping_error
	cbnz	x0, LBB0_41
; %bb.34:                               ;   in Loop: Header=BB0_30 Depth=1
	add	x22, x27, x22
	ldr	x8, [x25]
	lsl	x28, x26, #2
	add	x0, x8, x28
Lloh52:
	adrp	x8, _dma_len@GOTPAGE
Lloh53:
	ldr	x8, [x8, _dma_len@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x2, x27
	bl	_dma_unmap_len_set
	stp	x23, x26, [sp, #32]             ; 16-byte Folded Spill
	ldr	x23, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x8, [x23]
	lsl	x26, x26, #4
	add	x8, x8, x26
	add	x1, x8, #8
	mov	x0, x24
	bl	_BNA_SET_DMA_ADDR
	mov	x0, x27
	bl	_htons
	ldr	x8, [x23]
	ldr	x23, [sp, #32]                  ; 8-byte Folded Reload
	str	x0, [x8, x26]
	ldr	x8, [x25]
	add	x0, x8, x28
	mov	x1, x24
	mov	x2, x24
	bl	_dma_unmap_addr_set
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x8, [x27]
	add	x8, x8, #1
	str	x8, [x27]
	add	x23, x23, #4
	ldp	x8, x24, [sp, #64]              ; 16-byte Folded Reload
	subs	x8, x8, #1
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	b.ne	LBB0_30
	b	LBB0_36
LBB0_35:
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
LBB0_36:
	ldr	x8, [x20]
	cmp	x22, x8
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_39
; %bb.37:
	ldr	x3, [x21, #8]
	mov	x0, x19
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x2, x24
	bl	_bnad_tx_buff_unmap
	mov	x0, x20
	bl	_dev_kfree_skb_any
Lloh55:
	adrp	x8, _tx_skb_len_mismatch@GOTPAGE
Lloh56:
	ldr	x8, [x8, _tx_skb_len_mismatch@GOTPAGEOFF]
	b	LBB0_5
LBB0_38:
	ldr	x3, [x21, #8]
	mov	x0, x19
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x2, x24
	bl	_bnad_tx_buff_unmap
	mov	x0, x20
	bl	_dev_kfree_skb_any
Lloh57:
	adrp	x8, _tx_skb_frag_zero@GOTPAGE
Lloh58:
	ldr	x8, [x8, _tx_skb_frag_zero@GOTPAGEOFF]
	b	LBB0_5
LBB0_39:
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x24
	bl	_BNA_QE_INDX_INC
	str	x19, [x21, #8]
	bl	_wmb
Lloh59:
	adrp	x8, _BNAD_TXQ_TX_STARTED@GOTPAGE
Lloh60:
	ldr	x8, [x8, _BNAD_TXQ_TX_STARTED@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	add	x1, x21, #32
	bl	_test_bit
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_6
; %bb.40:
	mov	x0, x20
	bl	_skb_tx_timestamp
	mov	x0, x21
	bl	_bna_txq_prod_indx_doorbell
	b	LBB0_6
LBB0_41:
	ldr	x3, [x21, #8]
	mov	x0, x19
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x2, [sp, #72]                   ; 8-byte Folded Reload
	bl	_bnad_tx_buff_unmap
	b	LBB0_24
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_tx_skb_too_short,4,2           ; @tx_skb_too_short
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_BFI_TX_MAX_DATA_PER_VECTOR,8,3 ; @BFI_TX_MAX_DATA_PER_VECTOR
	.comm	_tx_skb_headlen_zero,4,2        ; @tx_skb_headlen_zero
	.comm	_BNAD_TXQ_TX_STARTED,4,2        ; @BNAD_TXQ_TX_STARTED
	.comm	_tx_skb_stopping,4,2            ; @tx_skb_stopping
	.comm	_BFI_TX_MAX_VECTORS_PER_PKT,8,3 ; @BFI_TX_MAX_VECTORS_PER_PKT
	.comm	_tx_skb_max_vectors,4,2         ; @tx_skb_max_vectors
	.comm	_BNAD_TXQ_FREE_SENT,4,2         ; @BNAD_TXQ_FREE_SENT
	.comm	_netif_queue_stop,4,2           ; @netif_queue_stop
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_netif_queue_wakeup,4,2         ; @netif_queue_wakeup
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_tx_skb_map_failed,4,2          ; @tx_skb_map_failed
	.comm	_tx_skb_frag_zero,4,2           ; @tx_skb_frag_zero
	.comm	_BFI_TX_MAX_VECTORS_PER_WI,8,3  ; @BFI_TX_MAX_VECTORS_PER_WI
	.comm	_BNA_TXQ_WI_EXTENSION,8,3       ; @BNA_TXQ_WI_EXTENSION
	.comm	_dma_len,4,2                    ; @dma_len
	.comm	_tx_skb_len_mismatch,4,2        ; @tx_skb_len_mismatch
	.no_dead_strip	_bnad_start_xmit
.subsections_via_symbols
