	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan78xx_start_xmit
_lan78xx_start_xmit:                    ## @lan78xx_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, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_skb_tx_timestamp
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_lan78xx_tx_prep
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	addq	$16, %r12
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_skb_queue_tail
	movq	24(%r15), %rax
	movq	(%rax), %rax
	movq	_USB_SPEED_SUPER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## %bb.3:
	movq	%r12, %rdi
	callq	_skb_queue_len
	cmpl	$11, %eax
	jl	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_netif_stop_queue
	jmp	LBB0_6
LBB0_5:
	movq	_tx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r15), %rdx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	callq	_netif_dbg
	movq	8(%r15), %rax
	incl	4(%rax)
	incl	(%rax)
LBB0_6:
	movq	%r15, %rdi
	callq	_tasklet_schedule
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_USB_SPEED_SUPER,8,3            ## @USB_SPEED_SUPER
	.comm	_tx_err,4,2                     ## @tx_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lan78xx_tx_prep return NULL\n"

	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_lan78xx_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan78xx_start_xmit
_lan78xx_start_xmit:                    ; @lan78xx_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	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	cbz	x21, LBB0_5
; %bb.1:
	mov	x0, x21
	bl	_skb_tx_timestamp
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_lan78xx_tx_prep
	cbz	x0, LBB0_5
; %bb.2:
	mov	x1, x0
	add	x21, x19, #16
	mov	x0, x21
	bl	_skb_queue_tail
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _USB_SPEED_SUPER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _USB_SPEED_SUPER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.3:
	mov	x0, x21
	bl	_skb_queue_len
	cmp	w0, #11
	b.lt	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_netif_stop_queue
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _tx_err@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tx_err@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x2, [x19, #8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_dbg
	ldr	x8, [x19, #8]
	ldr	d0, [x8]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x8]
LBB0_6:
	mov	x0, x19
	bl	_tasklet_schedule
Lloh11:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	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
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_USB_SPEED_SUPER,8,3            ; @USB_SPEED_SUPER
	.comm	_tx_err,4,2                     ; @tx_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lan78xx_tx_prep return NULL\n"

	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_lan78xx_start_xmit
.subsections_via_symbols
