	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wanxl_tx_intr
_wanxl_tx_intr:                         ## @wanxl_tx_intr
	.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	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %r12
	movq	_TX_BUFFERS@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, (%rbx)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_get_status
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	(%rdx,%rcx,8), %r15
	movl	(%rax,%rcx,8), %edx
	cmpl	$128, %edx
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	$-129, %edx
	cmpl	$1, %edx
	jbe	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	4(%r14)
	movl	(%r15), %edx
	addl	%edx, (%r14)
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	12(%r14)
	incl	8(%r14)
	movl	(%r15), %edx
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$130, (%rax,%rcx,8)
	movq	8(%rbx), %rsi
	movl	(%rsi), %edi
	movl	4(%rax,%rcx,8), %esi
	movl	(%r12), %ecx
	callq	_pci_unmap_single
	movq	%r15, %rdi
	callq	_dev_consume_skb_irq
	movq	(%rbx), %rax
	incq	%rax
	movslq	(%r13), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, (%rbx)
	jmp	LBB0_1
LBB0_3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_TX_BUFFERS,4,2                 ## @TX_BUFFERS
	.no_dead_strip	_wanxl_tx_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wanxl_tx_intr
_wanxl_tx_intr:                         ; @wanxl_tx_intr
	.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, x0
	ldr	x19, [x0, #24]
	mov	w22, #130
Lloh0:
	adrp	x23, _PCI_DMA_TODEVICE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh2:
	adrp	x24, _TX_BUFFERS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _TX_BUFFERS@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	d0, [x19, #8]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19, #8]
	ldr	w2, [x21]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w22, [x10]
	ldr	x10, [x20, #8]
	ldr	w0, [x10]
	add	x8, x8, x9, lsl #3
	ldr	w1, [x8, #4]
	ldr	w3, [x23]
	bl	_pci_unmap_single
	mov	x0, x21
	bl	_dev_consume_skb_irq
	ldr	x8, [x20]
	add	x8, x8, #1
	ldrsw	x9, [x24]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	str	x8, [x20]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_get_status
	ldr	x8, [x0]
	ldr	x9, [x20]
	ldr	x10, [x20, #16]
	lsl	x11, x9, #3
	ldr	x21, [x10, x11]
	add	x10, x8, x11
	ldr	w11, [x10]
	cmp	w11, #128
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w11, w11, #129
	cmp	w11, #1
	b.ls	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x21]
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w2
	add.2s	v0, v0, v1
	str	d0, [x19]
	b	LBB0_2
LBB0_6:
	mov	x0, x19
	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
	b	_netif_wake_queue
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_TX_BUFFERS,4,2                 ; @TX_BUFFERS
	.no_dead_strip	_wanxl_tx_intr
.subsections_via_symbols
