	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl3501_hard_start_xmit
_wl3501_hard_start_xmit:                ## @wl3501_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	4(%rax), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_wl3501_block_interrupt
	movl	%eax, %r14d
	movl	8(%r12), %esi
	movq	(%r12), %rdx
	movq	%rbx, %rdi
	callq	_wl3501_send_pkt
	movl	%eax, %r13d
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_wl3501_unblock_interrupt
LBB0_2:
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.3:
	incl	8(%r15)
	movq	%r15, %rdi
	callq	_netif_stop_queue
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_4:
	incl	4(%r15)
	movl	(%r12), %eax
	addl	%eax, (%r15)
	movq	%r12, %rdi
	callq	_kfree_skb
	cmpl	$1, (%rbx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jg	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_netif_stop_queue
LBB0_6:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_wl3501_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 wl3501_hard_start_xmit
_wl3501_hard_start_xmit:                ; @wl3501_hard_start_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	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x22
	bl	_wl3501_block_interrupt
	mov	x24, x0
	ldr	w1, [x21, #8]
	ldr	x2, [x21]
	mov	x0, x22
	bl	_wl3501_send_pkt
	mov	x23, x0
	cbz	w24, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_wl3501_unblock_interrupt
LBB0_2:
	cbz	w23, LBB0_4
; %bb.3:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	b	LBB0_5
LBB0_4:
	ldr	d0, [x20]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x21]
	add.2s	v0, v0, v1
	str	d0, [x20]
	mov	x0, x21
	bl	_kfree_skb
	ldr	w8, [x22]
	cmp	w8, #1
	b.gt	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_netif_stop_queue
LBB0_6:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh0:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh2:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_wl3501_hard_start_xmit
.subsections_via_symbols
