	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctrl_xmit
_ctrl_xmit:                             ## @ctrl_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_is_imm
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_WARN_ON
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	_NET_XMIT_DROP@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movl	4(%rbx), %edi
	movl	$4, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %r12d
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movl	(%r14), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%r12d, (%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	___skb_queue_tail
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	_NET_XMIT_CN@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	leaq	8(%r14), %r12
	movq	8(%r14), %r13
	shlq	$2, %r13
	addq	16(%r14), %r13
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_inline_tx_skb
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_txq_advance
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_txq_avail
	movq	_TXQ_STOP_THRES@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ctrlq_check_stop
LBB0_6:
	movl	24(%r14), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ring_tx_db
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	_NET_XMIT_SUCCESS@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NET_XMIT_DROP,4,2              ## @NET_XMIT_DROP
	.comm	_NET_XMIT_CN,4,2                ## @NET_XMIT_CN
	.comm	_TXQ_STOP_THRES,8,3             ## @TXQ_STOP_THRES
	.comm	_NET_XMIT_SUCCESS,4,2           ## @NET_XMIT_SUCCESS
	.no_dead_strip	_ctrl_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctrl_xmit
_ctrl_xmit:                             ; @ctrl_xmit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_is_imm
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_WARN_ON
	mov	x0, x19
	bl	_dev_kfree_skb
Lloh0:
	adrp	x8, _NET_XMIT_DROP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NET_XMIT_DROP@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	ldr	w0, [x19, #4]
	mov	w1, #4
	bl	_DIV_ROUND_UP
	mov	x22, x0
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock
	ldr	w0, [x20]
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	str	w22, [x19]
	mov	x0, x21
	mov	x1, x19
	bl	___skb_queue_tail
	mov	x0, x21
	bl	_spin_unlock
Lloh2:
	adrp	x8, _NET_XMIT_CN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NET_XMIT_CN@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	x23, x20
	ldp	x8, x9, [x23, #8]!
	add	x24, x9, x8, lsl #2
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_inline_tx_skb
	mov	x0, x23
	mov	x1, x22
	bl	_txq_advance
	mov	x0, x23
	bl	_txq_avail
Lloh4:
	adrp	x8, _TXQ_STOP_THRES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TXQ_STOP_THRES@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x24
	bl	_ctrlq_check_stop
LBB0_6:
	ldr	w0, [x20, #24]
	mov	x1, x23
	mov	x2, x22
	bl	_ring_tx_db
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x19
	bl	_kfree_skb
Lloh7:
	adrp	x8, _NET_XMIT_SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NET_XMIT_SUCCESS@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_XMIT_DROP,4,2              ; @NET_XMIT_DROP
	.comm	_NET_XMIT_CN,4,2                ; @NET_XMIT_CN
	.comm	_TXQ_STOP_THRES,8,3             ; @TXQ_STOP_THRES
	.comm	_NET_XMIT_SUCCESS,4,2           ; @NET_XMIT_SUCCESS
	.no_dead_strip	_ctrl_xmit
.subsections_via_symbols
