	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ks_start_xmit
_ks_start_xmit:                         ## @ks_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_disable_irq
	movq	%rbx, %rdi
	callq	_ks_disable_int
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	%rbx, %rdi
	callq	_ks_tx_fifo_space
	movq	(%r12), %rcx
	addq	$12, %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setge	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%r12), %esi
	movq	(%r12), %rdx
	movq	%rbx, %rdi
	callq	_ks_write_qmu
	movl	(%r12), %eax
	addl	%eax, 8(%r15)
	incl	4(%r15)
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	jmp	LBB0_3
LBB0_2:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	callq	_ks_enable_int
	movl	(%r15), %edi
	callq	_enable_irq
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.no_dead_strip	_ks_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ks_start_xmit
_ks_start_xmit:                         ; @ks_start_xmit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	w0, [x19]
	bl	_disable_irq
	mov	x0, x21
	bl	_ks_disable_int
	mov	x0, x21
	bl	_spin_lock
	mov	x0, x21
	bl	_ks_tx_fifo_space
	ldr	x8, [x22]
	add	x8, x8, #12
	cmp	x0, x8
	cset	w0, ge
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x22, #8]
	ldr	x2, [x22]
	mov	x0, x21
	bl	_ks_write_qmu
	ldr	w8, [x22]
	ldp	w10, w9, [x19, #4]
	add	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x19, #4]
	mov	x0, x22
	bl	_dev_kfree_skb
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
LBB0_3:
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x21
	bl	_ks_enable_int
	ldr	w0, [x19]
	bl	_enable_irq
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	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	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.no_dead_strip	_ks_start_xmit
.subsections_via_symbols
