	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zd1201_hard_start_xmit
_zd1201_hard_start_xmit:                ## @zd1201_hard_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	$40, %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
	cmpl	$0, 32(%rax)
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	cmpq	$0, 24(%rax)
	je	LBB0_3
LBB0_2:
	incl	12(%r14)
LBB0_8:
	movq	%r15, %rdi
	callq	_kfree_skb
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%rbx), %r13
	movq	8(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movl	(%r15), %ecx
	leal	9(%rcx), %r12d
	addl	$10, %ecx
	movl	$240298, (%r13)                 ## imm = 0x3AAAA
	movw	$0, 4(%r13)
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leaq	6(%r13), %rdx
	movq	%rcx, %r13
	movl	(%r15), %ecx
	addl	$-12, %ecx
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_skb_copy_from_linear_data_offset
	movl	$6, %eax
	testb	$63, %r12b
	cmovnel	%r12d, %r13d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_5
## %bb.4:
	movslq	(%r15), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	$0, -6(%rax,%rcx)
	movl	$7, %eax
LBB0_5:
	andl	$63, %r12d
	movslq	(%r15), %rsi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	addq	%r13, %rsi
	cmpl	$1, %r12d
	adcq	$-6, %rsi
	movq	%r15, %rdi
	movl	$12, %edx
	movl	%eax, %r12d
	callq	_skb_copy_from_linear_data
	movl	(%r15), %edi
	addl	$-6, %edi
	callq	_htons
	addl	(%r15), %r12d
	movslq	%r12d, %rcx
	movl	%eax, (%r13,%rcx)
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movb	$0, -1(%rax,%r13)
	movq	%r13, %r12
	movl	16(%rbx), %esi
	movl	20(%rbx), %r13d
	movl	%r13d, %edi
	callq	_usb_sndbulkpipe
	movq	_zd1201_usbtx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%rbx, (%rsp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_usb_fill_bulk_urb
	movq	8(%rbx), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	incl	8(%r14)
	movq	%r14, %rdi
	callq	_netif_start_queue
	jmp	LBB0_8
LBB0_7:
	incl	4(%r14)
	movl	(%r15), %eax
	addl	%eax, (%r14)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_zd1201_usbtx,4,2               ## @zd1201_usbtx
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_zd1201_hard_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zd1201_hard_start_xmit
_zd1201_hard_start_xmit:                ; @zd1201_hard_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	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_4
LBB0_2:
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
LBB0_3:
	mov	x0, x19
	bl	_kfree_skb
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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldp	x22, x23, [x21]
	mov	x0, x20
	bl	_netif_stop_queue
	ldr	w8, [x19]
	add	w9, w8, #9
	ands	w25, w9, #0x3f
	add	w8, w8, #10
	csel	w24, w8, w9, eq
	mov	w8, #43690
	movk	w8, #3, lsl #16
	str	w8, [x22]
	strh	wzr, [x22, #4]
	add	x2, x22, #6
	ldr	w8, [x19]
	sub	w3, w8, #12
	mov	x0, x19
	mov	w1, #12
	bl	_skb_copy_from_linear_data_offset
	cbz	w25, LBB0_6
; %bb.5:
	mov	w26, #6
	b	LBB0_7
LBB0_6:
	ldrsw	x8, [x19]
	add	x8, x8, x22
	sturb	wzr, [x8, #-6]
	mov	w26, #7
LBB0_7:
	cmp	w25, #0
	ldrsw	x8, [x19]
	add	x8, x22, x8
	cinc	x8, x8, eq
	sub	x1, x8, #6
	mov	x0, x19
	mov	w2, #12
	bl	_skb_copy_from_linear_data
	ldr	w8, [x19]
	sub	w0, w8, #6
	bl	_htons
	ldr	w8, [x19]
	add	w8, w26, w8
	str	w0, [x22, w8, sxtw]
	add	x8, x22, w24, sxtw
	sturb	wzr, [x8, #-1]
	ldp	w1, w25, [x21, #16]
	mov	x0, x25
	bl	_usb_sndbulkpipe
	mov	x2, x0
Lloh3:
	adrp	x8, _zd1201_usbtx@GOTPAGE
Lloh4:
	ldr	x8, [x8, _zd1201_usbtx@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	x0, x23
	mov	x1, x25
	mov	x3, x22
	mov	x4, x24
	mov	x6, x21
	bl	_usb_fill_bulk_urb
	ldr	x0, [x21, #8]
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	cbz	w0, LBB0_9
; %bb.8:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_netif_start_queue
	b	LBB0_3
LBB0_9:
	ldr	d0, [x20]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x19]
	add.2s	v0, v0, v1
	str	d0, [x20]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_zd1201_usbtx,4,2               ; @zd1201_usbtx
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_zd1201_hard_start_xmit
.subsections_via_symbols
