	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_xmit_enqueue
_be_xmit_enqueue:                       ## @be_xmit_enqueue
	.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
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_skb_wrb_cnt
	movl	%eax, %r12d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_be_tx_get_wrb_hdr
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r15), %rax
	xorl	%r13d, %r13d
	movl	$0, %ecx
	cmpq	8(%r15), %rax
	movl	%r12d, -72(%rbp)                ## 4-byte Spill
	jle	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_skb_headlen
	movl	%eax, %edx
	movl	16(%r15), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%edx, %r12d
	callq	_dma_map_single
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	xorl	%r8d, %r8d
	movl	$0, %ecx
	testq	%rax, %rax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_7
## %bb.2:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_be_tx_setup_wrb_frag
	movl	$1, %ecx
	movl	%r12d, %r13d
LBB0_3:
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.4:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movq	%r15, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %r14
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	addq	%r12, %r14
	movq	%r14, %rdi
	callq	_skb_frag_size
	movl	%eax, %r13d
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	callq	_skb_frag_dma_map
	movq	%r15, %r14
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_be_tx_setup_wrb_frag
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addl	%r13d, %eax
	movl	%eax, %r13d
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movq	%r14, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	movq	-104(%rbp), %r12                ## 8-byte Reload
	addq	$4, %r12
	cmpq	%rax, %rbx
	movq	%r14, %r15
	jl	LBB0_5
LBB0_9:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_be_tx_setup_wrb_hdr
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_be_tx_stats_update
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_10
LBB0_6:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
LBB0_7:
	incl	(%rdi)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_be_xmit_restore
	xorl	%eax, %eax
LBB0_10:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_be_xmit_enqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_xmit_enqueue
_be_xmit_enqueue:                       ; @be_xmit_enqueue
	.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	x24, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_skb_wrb_cnt
	mov	x21, x0
	ldr	x25, [x20, #8]
	mov	x0, x19
	bl	_be_tx_get_wrb_hdr
	mov	x22, x0
	ldp	x8, x9, [x23]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.1:
	mov	x0, x23
	bl	_skb_headlen
	mov	x26, x0
	ldr	w1, [x23, #16]
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x2, x26
	bl	_dma_map_single
	mov	x27, x0
	mov	x0, x25
	mov	x1, x27
	bl	_dma_mapping_error
	cbz	x0, LBB0_4
; %bb.2:
	mov	w26, #0
	mov	w3, #0
	b	LBB0_11
LBB0_3:
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	stp	w21, w22, [sp, #24]             ; 8-byte Folded Spill
	mov	w26, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	b	LBB0_5
LBB0_4:
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	stp	w21, w22, [sp, #24]             ; 8-byte Folded Spill
	mov	x0, x19
	mov	x1, x27
	mov	x2, x26
	bl	_be_tx_setup_wrb_frag
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
LBB0_5:
	mov	x0, x23
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x22, #0
	mov	x27, #0
Lloh3:
	adrp	x21, _DMA_TO_DEVICE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DMA_TO_DEVICE@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x24, x8, x22
	mov	x0, x24
	bl	_skb_frag_size
	mov	x28, x0
	ldr	w4, [x21]
	mov	x0, x25
	mov	x1, x24
	mov	w2, #0
	mov	x3, x28
	bl	_skb_frag_dma_map
	mov	x24, x0
	mov	x0, x25
	mov	x1, x24
	bl	_dma_mapping_error
	cbnz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x28
	bl	_be_tx_setup_wrb_frag
	add	w26, w28, w26
	add	x27, x27, #1
	mov	x0, x23
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x22, x22, #4
	cmp	x27, x8
	b.lt	LBB0_7
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	mov	x3, x23
	ldr	w4, [sp, #28]                   ; 4-byte Folded Reload
	bl	_be_tx_setup_wrb_hdr
	mov	x0, x19
	mov	x1, x23
	bl	_be_tx_stats_update
	ldr	w0, [sp, #24]                   ; 4-byte Folded Reload
	b	LBB0_12
LBB0_10:
	ldr	w22, [sp, #28]                  ; 4-byte Folded Reload
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
LBB0_11:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x4, x26
	bl	_be_xmit_restore
	mov	w0, #0
LBB0_12:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_be_xmit_enqueue
.subsections_via_symbols
