	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dequeue_tx
_dequeue_tx:                            ## @dequeue_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, %rbx
	callq	_NULLCHECK
	movq	%rbx, %rdi
	callq	_ENI_DEV
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_NULLCHECK
	leaq	36(%r13), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	%r13, %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_irq
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r12), %rdi
	callq	_atomic_inc
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_wake_up
	movq	_dma_complete@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ATM_SKB
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_NULLCHECK
	movq	%r12, %rdi
	callq	_ENI_VCC
	movq	8(%rax), %r15
	movq	%r12, %rdi
	callq	_ENI_VCC
	movq	8(%rax), %rdi
	callq	_NULLCHECK
	movq	%rbx, %rdi
	callq	_ENI_PRV_POS
	movq	%rax, %r14
	movl	40(%r15), %edi
	callq	_MID_TX_DESCRSTART
	movl	%eax, %edi
	callq	_eni_in
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_DPRINTK
	movq	%r12, %rdi
	callq	_ENI_VCC
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_ENI_PRV_POS
	movq	%rax, %r14
	movl	40(%r15), %edi
	callq	_MID_TX_DESCRSTART
	movl	%eax, %edi
	callq	_eni_in
	cmpq	%rax, %r14
	je	LBB0_9
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_ENI_PRV_SIZE
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_ENI_VCC
	subq	%r14, (%rax)
	movl	32(%r13), %r14d
	movq	%rbx, %rdi
	callq	_ENI_PRV_PADDR
	movl	(%rbx), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_pci_unmap_single
	movq	24(%r12), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*%rax
	jmp	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skb_queue_head                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dequeue_tx: next 0x%lx curr 0x%x\n"

	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_dma_complete,4,2               ## @dma_complete
	.no_dead_strip	_dequeue_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dequeue_tx
_dequeue_tx:                            ; @dequeue_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	_NULLCHECK
	mov	x0, x19
	bl	_ENI_DEV
	mov	x19, x0
	bl	_NULLCHECK
	add	x20, x19, #36
	mov	x0, x20
	bl	_skb_dequeue
	cbz	x0, LBB0_8
; %bb.1:
	mov	x23, x0
	add	x21, x19, #8
Lloh0:
	adrp	x26, _PCI_DMA_TODEVICE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh2:
	adrp	x27, _dma_complete@GOTPAGE
Lloh3:
	ldr	x27, [x27, _dma_complete@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_dev_kfree_skb_irq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24, #16]
	bl	_atomic_inc
	mov	x0, x21
	bl	_wake_up
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
	mov	x0, x20
	bl	_skb_dequeue
	mov	x23, x0
	cbz	x0, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ATM_SKB
	ldr	x24, [x0]
	mov	x0, x24
	bl	_NULLCHECK
	mov	x0, x24
	bl	_ENI_VCC
	ldr	x28, [x0, #8]
	mov	x0, x24
	bl	_ENI_VCC
	ldr	x0, [x0, #8]
	bl	_NULLCHECK
	mov	x0, x23
	bl	_ENI_PRV_POS
	mov	x25, x0
	ldr	w0, [x28, #40]
	bl	_MID_TX_DESCRSTART
	bl	_eni_in
	mov	x2, x0
	mov	x0, x22
	mov	x1, x25
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_DPRINTK
	mov	x0, x24
	bl	_ENI_VCC
	ldr	x8, [x0]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_ENI_PRV_POS
	mov	x25, x0
	ldr	w0, [x28, #40]
	bl	_MID_TX_DESCRSTART
	bl	_eni_in
	cmp	x25, x0
	b.eq	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_ENI_PRV_SIZE
	mov	x25, x0
	mov	x0, x24
	bl	_ENI_VCC
	ldr	x8, [x0]
	sub	x8, x8, x25
	str	x8, [x0]
	ldr	w25, [x19, #32]
	mov	x0, x23
	bl	_ENI_PRV_PADDR
	mov	x1, x0
	ldr	w2, [x23]
	ldr	w3, [x26]
	mov	x0, x25
	bl	_pci_unmap_single
	ldr	x8, [x24, #24]
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x23
	blr	x8
	b	LBB0_3
LBB0_8:
	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
	ret
LBB0_9:
	mov	x0, x20
	mov	x1, x23
	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	_skb_queue_head
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dequeue_tx: next 0x%lx curr 0x%x\n"

	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_dma_complete,4,2               ; @dma_complete
	.no_dead_strip	_dequeue_tx
.subsections_via_symbols
