	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_skb_get_queue_mapping
	movq	%rax, %r12
	leaq	(,%rax,8), %r14
	addq	(%rbx), %r14
	movq	$0, -56(%rbp)
	xorl	%eax, %eax
	callq	_netdev_xmit_more
	movl	%eax, %r13d
	leaq	-56(%rbp), %rdx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_be_xmit_workarounds
	movq	%rax, %r15
	movq	%rax, -72(%rbp)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %r13
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_be_get_wrb_params_from_skb
	movq	%rbx, %rdi
	movq	%r14, %r12
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_be_xmit_enqueue
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	%r12, %r14
LBB0_3:
	movq	%r14, %rdi
	callq	_tx_stats
	incl	(%rax)
	testl	%r13d, %r13d
	jne	LBB0_15
## %bb.4:
	cmpq	$0, (%r14)
	je	LBB0_15
## %bb.5:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	jmp	LBB0_14
LBB0_6:
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_be_send_pkt_to_bmc
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movl	-56(%rbp), %edi
	movq	_OS2BMC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_BE_WRB_F_SET
	movq	-72(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %r14
	movq	%r12, %rsi
	callq	_be_xmit_enqueue
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_3
## %bb.8:
	movq	-72(%rbp), %rdi
	callq	_skb_get
LBB0_9:
	movq	%r12, %rbx
	movq	%r12, %rdi
	callq	_be_is_txq_full
	testq	%rax, %rax
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_netif_stop_subqueue
	movq	%rbx, %rdi
	callq	_tx_stats
	incl	4(%rax)
LBB0_11:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.12:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	___netif_subqueue_stopped
	testq	%rax, %rax
	je	LBB0_15
LBB0_13:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
LBB0_14:
	callq	_be_xmit_flush
LBB0_15:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OS2BMC,4,2                     ## @OS2BMC
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x24, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x24
	bl	_skb_get_queue_mapping
	mov	x23, x0
	ldr	x8, [x19]
	add	x20, x8, x0, lsl #3
	str	xzr, [sp]
	bl	_netdev_xmit_more
	mov	x22, x0
	mov	x2, sp
	mov	x0, x19
	mov	x1, x24
	bl	_be_xmit_workarounds
	mov	x24, x0
	str	x0, [sp, #8]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x2, sp
	mov	x0, x19
	mov	x1, x24
	bl	_be_get_wrb_params_from_skb
	mov	x3, sp
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	bl	_be_xmit_enqueue
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.2:
	mov	x0, x24
	bl	_dev_kfree_skb_any
LBB0_3:
	mov	x0, x20
	bl	_tx_stats
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
	cbnz	w22, LBB0_6
; %bb.4:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_be_xmit_flush
LBB0_6:
Lloh0:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	add	x1, sp, #8
	mov	x0, x19
	bl	_be_send_pkt_to_bmc
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w0, [sp]
Lloh3:
	adrp	x8, _OS2BMC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OS2BMC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_BE_WRB_F_SET
	ldr	x2, [sp, #8]
	mov	x3, sp
	mov	x0, x19
	mov	x1, x20
	bl	_be_xmit_enqueue
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.9:
	ldr	x0, [sp, #8]
	bl	_skb_get
LBB0_10:
	mov	x0, x20
	bl	_be_is_txq_full
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x21
	mov	x1, x23
	bl	_netif_stop_subqueue
	mov	x0, x20
	bl	_tx_stats
	ldr	w8, [x0, #4]
	add	w8, w8, #1
	str	w8, [x0, #4]
LBB0_12:
	cbz	w22, LBB0_5
; %bb.13:
	mov	x0, x21
	mov	x1, x23
	bl	___netif_subqueue_stopped
	cbnz	x0, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OS2BMC,4,2                     ; @OS2BMC
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_be_xmit
.subsections_via_symbols
