	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kaweth_start_xmit
_kaweth_start_xmit:                     ## @kaweth_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	%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, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spin_lock_irq
	movq	%rbx, %rdi
	callq	_kaweth_async_set_rx_mode
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movl	48(%rbx), %edi
	callq	_IS_BLOCKED
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	%r15, %rdi
	callq	_skb_cloned
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_skb_headroom
	cmpl	$1, %eax
	jg	LBB0_5
LBB0_3:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_skb_copy_expand
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_dev_kfree_skb_irq
	movq	%r12, %r15
	testq	%r12, %r12
	je	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	___skb_push
	movq	%rax, %r12
	movl	(%r15), %edi
	addl	$-2, %edi
	callq	_cpu_to_le16
	movl	%eax, (%r12)
	movq	%r15, 40(%rbx)
	movl	16(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	32(%rbx), %r13d
	movl	%r13d, %edi
	movl	$2, %esi
	callq	_usb_sndbulkpipe
	movl	(%r15), %r8d
	movq	_kaweth_usb_transmit_complete@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%rbx, (%rsp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	callq	_usb_fill_bulk_urb
	movq	$0, 24(%rbx)
	movl	16(%rbx), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	leaq	4(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
LBB0_7:
	incl	12(%rbx)
	movq	%r14, %rdi
	callq	_netif_start_queue
	movq	%r15, %rdi
	callq	_dev_kfree_skb_irq
LBB0_9:
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	incl	12(%rbx)
	movq	%r14, %rdi
	callq	_netif_start_queue
	jmp	LBB0_9
LBB0_8:
	incl	8(%rbx)
	movl	(%r15), %eax
	addl	%eax, 4(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_kaweth_usb_transmit_complete,4,2 ## @kaweth_usb_transmit_complete
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kaweth failed tx_urb %d\n"

	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_kaweth_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kaweth_start_xmit
_kaweth_start_xmit:                     ; @kaweth_start_xmit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	bl	_spin_lock_irq
	mov	x0, x19
	bl	_kaweth_async_set_rx_mode
	mov	x0, x20
	bl	_netif_stop_queue
	ldr	w0, [x19, #48]
	bl	_IS_BLOCKED
	cbnz	x0, LBB0_6
; %bb.1:
	mov	x0, x21
	bl	_skb_cloned
Lloh0:
	adrp	x25, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x25, [x25, _GFP_ATOMIC@GOTPAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_skb_headroom
	cmp	w0, #1
	b.gt	LBB0_4
LBB0_3:
	ldr	w3, [x25]
	mov	x0, x21
	mov	w1, #2
	mov	w2, #0
	bl	_skb_copy_expand
	mov	x22, x0
	mov	x0, x21
	bl	_dev_kfree_skb_irq
	mov	x21, x22
	cbz	x22, LBB0_8
LBB0_4:
	mov	x0, x21
	mov	w1, #2
	bl	___skb_push
	mov	x22, x0
	ldr	w8, [x21]
	sub	w0, w8, #2
	bl	_cpu_to_le16
	str	w0, [x22]
	str	x21, [x19, #40]
	ldr	w23, [x19, #16]
	ldr	w24, [x19, #32]
	mov	x0, x24
	mov	w1, #2
	bl	_usb_sndbulkpipe
	mov	x2, x0
	ldr	w4, [x21]
Lloh2:
	adrp	x8, _kaweth_usb_transmit_complete@GOTPAGE
Lloh3:
	ldr	x8, [x8, _kaweth_usb_transmit_complete@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
	mov	x0, x23
	mov	x1, x24
	mov	x3, x22
	mov	x6, x19
	bl	_usb_fill_bulk_urb
	str	xzr, [x19, #24]
	ldr	w0, [x19, #16]
	ldr	w1, [x25]
	bl	_usb_submit_urb
	cbz	w0, LBB0_9
; %bb.5:
	mov	x2, x0
	add	x0, x20, #4
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_6:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	mov	x0, x20
	bl	_netif_start_queue
	mov	x0, x21
	bl	_dev_kfree_skb_irq
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irq
Lloh7:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh9:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	mov	x0, x20
	bl	_netif_start_queue
	b	LBB0_7
LBB0_9:
	ldur	d0, [x19, #4]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x21]
	add.2s	v0, v0, v1
	stur	d0, [x19, #4]
Lloh10:
	adrp	x8, _jiffies@GOTPAGE
Lloh11:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_kaweth_usb_transmit_complete,4,2 ; @kaweth_usb_transmit_complete
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kaweth failed tx_urb %d\n"

	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_kaweth_start_xmit
.subsections_via_symbols
