	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ace_tx_int
_ace_tx_int:                            ## @ace_tx_int
	.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
	movl	%edx, %ebx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_maplen@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	movq	%r15, %rdi
	callq	_ACE_TX_RING_ENTRIES
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%edx, %ebx
	cmpl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	je	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	leaq	(%rax,%rcx,8), %r13
	movq	(%rax,%rcx,8), %r14
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_len
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r15), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_addr
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_len
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	%rax, %rdx
	callq	_pci_unmap_page
	movl	(%r12), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_dma_unmap_len_set
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incl	4(%rcx)
	movl	(%r14), %eax
	addl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_dev_consume_skb_irq
	movq	$0, (%r13)
	jmp	LBB0_5
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_wake_queue
LBB0_8:
	xorl	%eax, %eax
	callq	_wmb
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r15)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_maplen,4,2                     ## @maplen
	.comm	_mapping,4,2                    ## @mapping
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.no_dead_strip	_ace_tx_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ace_tx_int
_ace_tx_int:                            ; @ace_tx_int
	.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	x22, x2
	mov	x19, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x27, _maplen@GOTPAGE
Lloh1:
	ldr	x27, [x27, _maplen@GOTPAGEOFF]
Lloh2:
	adrp	x28, _PCI_DMA_TODEVICE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w22, w22, #1
	mov	x0, x20
	bl	_ACE_TX_RING_ENTRIES
	sdiv	w8, w22, w0
	msub	w22, w8, w0, w22
	cmp	w22, w19
	b.eq	LBB0_6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	add	x23, x8, w22, sxtw #3
	ldr	x24, [x23]
	ldr	w1, [x27]
	mov	x0, x23
	bl	_dma_unmap_len
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w25, [x20, #4]
Lloh4:
	adrp	x8, _mapping@GOTPAGE
Lloh5:
	ldr	x8, [x8, _mapping@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_dma_unmap_addr
	mov	x26, x0
	ldr	w1, [x27]
	mov	x0, x23
	bl	_dma_unmap_len
	mov	x2, x0
	ldr	w3, [x28]
	mov	x0, x25
	mov	x1, x26
	bl	_pci_unmap_page
	ldr	w1, [x27]
	mov	x0, x23
	mov	w2, #0
	bl	_dma_unmap_len_set
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	x24, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	d0, [x21]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x24]
	add.2s	v0, v0, v1
	str	d0, [x21]
	mov	x0, x24
	bl	_dev_consume_skb_irq
	str	xzr, [x23]
	b	LBB0_1
LBB0_6:
	mov	x0, x21
	bl	_netif_queue_stopped
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_netif_wake_queue
LBB0_8:
	bl	_wmb
	str	w19, [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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_maplen,4,2                     ; @maplen
	.comm	_mapping,4,2                    ; @mapping
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.no_dead_strip	_ace_tx_int
.subsections_via_symbols
