	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1_intr_tx
_atl1_intr_tx:                          ## @atl1_intr_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
	addq	$24, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_atomic_read
	movq	%rax, %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	xorl	%r12d, %r12d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rbx, %rax
	je	LBB0_10
## %bb.1:
	xorl	%r12d, %r12d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rax), %r15
	leaq	(%rbx,%rbx,2), %r13
	movq	8(%r15,%r13,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%r13,8), %r14
	addq	$8, %r14
	movl	4(%rax), %edi
	movl	16(%r15,%r13,8), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_page
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%r14)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15,%r13,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%r13,8), %r14
	callq	_dev_consume_skb_irq
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%r14)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	16(%rax), %rbx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_9:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_atomic_set
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movl	(%rbx), %edi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	(%rbx), %edi
	callq	_netif_wake_queue
LBB0_13:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.no_dead_strip	_atl1_intr_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1_intr_tx
_atl1_intr_tx:                          ; @atl1_intr_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
	add	x21, x0, #24
	mov	x0, x21
	bl	_atomic_read
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	cmp	x0, x22
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_9
LBB0_2:
	mov	x23, x0
	mov	w20, #0
	mov	w24, #24
Lloh0:
	adrp	x25, _PCI_DMA_TODEVICE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x22, #1
	ldr	x9, [x19, #16]
	cmp	x8, x9
	csinc	x22, xzr, x22, eq
	add	w20, w20, #1
	cmp	x23, x22
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x19, #32]
	madd	x27, x22, x24, x26
	ldr	x1, [x27, #8]!
	cbz	x1, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #4]
	madd	x8, x22, x24, x26
	ldr	w2, [x8, #16]
	ldr	w3, [x25]
	bl	_pci_unmap_page
	str	xzr, [x27]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	x26, x22, x24, x26
	ldr	x0, [x26]
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_dev_consume_skb_irq
	str	xzr, [x26]
	b	LBB0_3
LBB0_8:
	mov	x22, x23
LBB0_9:
	mov	x0, x21
	mov	x1, x22
	bl	_atomic_set
	ldr	w0, [x19]
	bl	_netif_queue_stopped
	cbz	x0, LBB0_12
; %bb.10:
	ldr	w0, [x19]
	bl	_netif_carrier_ok
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w0, [x19]
	bl	_netif_wake_queue
LBB0_12:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.no_dead_strip	_atl1_intr_tx
.subsections_via_symbols
