	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_xmit
_be_xmit:                               ## @be_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_skb_get_queue_mapping
	movq	%rax, %r15
	shlq	$5, %r15
	movl	$0, -44(%rbp)
	movq	8(%r14,%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_be_xmit_workarounds
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r13
	leaq	(%r14,%r15), %rbx
	addq	$8, %rbx
	leaq	-64(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_wrb_cnt_for_skb
	movl	-64(%rbp), %r8d
	movl	-44(%rbp), %r9d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	callq	_make_tx_wrbs
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r15), %rbx
	movq	%r13, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rdi
	callq	_BUG_ON
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	%r13, (%rax,%r14,8)
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r14,%r15), %rbx
	addq	$24, %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_atomic_add
	movq	_BE_MAX_TX_FRAG_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_atomic_read
	addq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	xorl	%ecx, %ecx
	cmpq	16(%r14,%r15), %rax
	jl	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	callq	_skb_get_queue_mapping
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%rax, %rsi
	callq	_netif_stop_subqueue
	movl	$1, %ecx
LBB0_4:
	movq	%r12, %rdi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%ecx, %r15d
	callq	_be_txq_notify
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_be_tx_stats_update
	jmp	LBB0_6
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
LBB0_6:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_BE_MAX_TX_FRAG_COUNT,8,3       ## @BE_MAX_TX_FRAG_COUNT
	.no_dead_strip	_be_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_xmit
_be_xmit:                               ; @be_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x27, [x0]
	mov	x0, x22
	bl	_skb_get_queue_mapping
	mov	x25, x0
	add	x20, x27, x0, lsl #5
	mov	x26, x20
	ldr	x28, [x26, #8]!
	str	wzr, [sp, #8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x22
	bl	_be_xmit_workarounds
	cbz	x0, LBB0_7
; %bb.1:
	mov	x23, x0
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x23
	bl	_wrb_cnt_for_skb
	mov	x22, x0
	ldp	w5, w4, [sp, #8]
	mov	x0, x19
	mov	x1, x26
	mov	x2, x23
	mov	x3, x22
	bl	_make_tx_wrbs
	cbz	x0, LBB0_4
; %bb.2:
	mov	x24, x0
	mov	x0, x23
	bl	_skb_shinfo
	ldr	w26, [x0]
	ldr	x8, [x20]
	lsl	x28, x28, #3
	ldr	x0, [x8, x28]
	bl	_BUG_ON
	ldr	x8, [x20]
	str	x23, [x8, x28]
	add	x27, x27, x25, lsl #5
	add	x25, x27, #24
	mov	x0, x22
	mov	x1, x25
	bl	_atomic_add
Lloh0:
	adrp	x8, _BE_MAX_TX_FRAG_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BE_MAX_TX_FRAG_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	x28, [x8]
	mov	x0, x25
	bl	_atomic_read
	ldr	x8, [x27, #16]
	add	x9, x0, x28
	cmp	x9, x8
	b.ge	LBB0_5
; %bb.3:
	mov	w21, #0
	b	LBB0_6
LBB0_4:
	str	x28, [x26]
	mov	x0, x23
	bl	_dev_kfree_skb_any
	b	LBB0_7
LBB0_5:
	mov	x0, x23
	bl	_skb_get_queue_mapping
	mov	x1, x0
	mov	x0, x21
	bl	_netif_stop_subqueue
	mov	w21, #1
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_be_txq_notify
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	mov	x3, x26
	mov	x4, x21
	bl	_be_tx_stats_update
LBB0_7:
Lloh3:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_BE_MAX_TX_FRAG_COUNT,8,3       ; @BE_MAX_TX_FRAG_COUNT
	.no_dead_strip	_be_xmit
.subsections_via_symbols
