	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ioc3_tx
LCPI0_0:
	.quad	1                               ## 0x1
	.space	8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ioc3_tx:                               ## @ioc3_tx
	.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	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	32(%rax), %r13
	leaq	16(%rax), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movq	%r13, %rdi
	callq	_readl
	movl	%eax, %ebx
	sarl	$7, %ebx
	movq	_TX_RING_MASK@GOTPCREL(%rip), %r15
	andl	(%r15), %ebx
	movl	(%r12), %eax
	pxor	%xmm1, %xmm1
	cmpl	%ebx, %eax
	je	LBB0_3
## %bb.1:
	pxor	%xmm1, %xmm1
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movslq	%ebx, %rbx
	movq	(%rax,%rbx,8), %rdi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <1,u>
	pinsrq	$1, (%rdi), %xmm0
	paddq	%xmm0, %xmm1
	movdqa	%xmm1, -64(%rbp)                ## 16-byte Spill
	callq	_dev_consume_skb_irq
	movq	24(%r12), %rax
	movq	$0, (%rax,%rbx,8)
	incl	%ebx
	andl	(%r15), %ebx
	movq	%r13, %rdi
	callq	_readl
	movdqa	-64(%rbp), %xmm1                ## 16-byte Reload
	sarl	$7, %eax
	andl	(%r15), %eax
	cmpl	%eax, %ebx
	jne	LBB0_2
LBB0_3:
	movdqu	(%r14), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	%xmm0, (%r14)
	movq	%xmm1, %rax
	subq	%rax, 8(%r12)
	movq	%r14, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	8(%r12), %rax
	movq	_TX_RING_ENTRIES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_netif_wake_queue
LBB0_6:
	movl	%ebx, (%r12)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_RING_MASK,4,2               ## @TX_RING_MASK
	.comm	_TX_RING_ENTRIES,8,3            ## @TX_RING_ENTRIES
	.no_dead_strip	_ioc3_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioc3_tx
_ioc3_tx:                               ; @ioc3_tx
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x22, [x0, #32]
	add	x21, x0, #16
	mov	x0, x21
	bl	_spin_lock
	mov	x0, x22
	bl	_readl
Lloh0:
	adrp	x26, _TX_RING_MASK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _TX_RING_MASK@GOTPAGEOFF]
	ldr	w8, [x26]
	and	w23, w8, w0, asr #7
	ldr	w8, [x20]
	cmp	w8, w23
	b.ne	LBB0_2
; %bb.1:
	mov	x25, #0
	mov	x24, #0
	b	LBB0_4
LBB0_2:
	mov	x24, #0
	mov	x25, #0
	mov	x23, x8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x24, #1
	ldr	x8, [x20, #24]
	sbfiz	x27, x23, #3, #32
	ldr	x0, [x8, x27]
	ldr	x8, [x0]
	add	x25, x8, x25
	bl	_dev_consume_skb_irq
	ldr	x8, [x20, #24]
	str	xzr, [x8, x27]
	add	w8, w23, #1
	ldr	w9, [x26]
	and	w23, w9, w8
	mov	x0, x22
	bl	_readl
	ldr	w8, [x26]
	and	w8, w8, w0, asr #7
	cmp	w23, w8
	b.ne	LBB0_3
LBB0_4:
	ldp	x8, x9, [x19]
	add	x8, x8, x24
	add	x9, x9, x25
	stp	x8, x9, [x19]
	ldr	x8, [x20, #8]
	sub	x8, x8, x24
	str	x8, [x20, #8]
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _TX_RING_ENTRIES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TX_RING_ENTRIES@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_netif_wake_queue
LBB0_7:
	str	w23, [x20]
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_RING_MASK,4,2               ; @TX_RING_MASK
	.comm	_TX_RING_ENTRIES,8,3            ; @TX_RING_ENTRIES
	.no_dead_strip	_ioc3_tx
.subsections_via_symbols
