	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function islpci_mgt_cleanup_transmit
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_islpci_mgt_cleanup_transmit
	.p2align	4, 0x90
_islpci_mgt_cleanup_transmit:           ## @islpci_mgt_cleanup_transmit
	.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
	callq	_netdev_priv
	movq	%rax, %r13
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movq	_ISL38XX_CB_TX_MGMTQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_le32_to_cpu
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_barrier
	movl	(%r13), %eax
	cmpl	%r14d, %eax
	jge	LBB0_3
## %bb.1:
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cltd
	movq	_ISL38XX_CB_MGMT_QSIZE@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movq	8(%r13), %rbx
	movslq	%edx, %rax
	movl	4(%r13), %edi
	leaq	(%rax,%rax,2), %r15
	movq	(%rbx,%r15,8), %rdx
	movq	16(%rbx,%r15,8), %rsi
	movl	(%r12), %ecx
	callq	_pci_unmap_single
	movq	$0, 16(%rbx,%r15,8)
	movq	8(%rbx,%r15,8), %rdi
	callq	_kfree
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx,%r15,8)
	movl	(%r13), %eax
	incl	%eax
	movl	%eax, (%r13)
	cmpl	%r14d, %eax
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISL38XX_CB_TX_MGMTQ,8,3        ## @ISL38XX_CB_TX_MGMTQ
	.comm	_ISL38XX_CB_MGMT_QSIZE,4,2      ## @ISL38XX_CB_MGMT_QSIZE
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_SHOW_FUNCTION_CALLS,4,2        ## @SHOW_FUNCTION_CALLS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_islpci_mgt_cleanup_transmit    ; -- Begin function islpci_mgt_cleanup_transmit
	.p2align	2
_islpci_mgt_cleanup_transmit:           ; @islpci_mgt_cleanup_transmit
	.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
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ISL38XX_CB_TX_MGMTQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISL38XX_CB_TX_MGMTQ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_le32_to_cpu
	mov	x20, x0
	bl	_barrier
	ldr	w8, [x19]
	cmp	w8, w20
	b.ge	LBB0_3
; %bb.1:
Lloh3:
	adrp	x21, _ISL38XX_CB_MGMT_QSIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ISL38XX_CB_MGMT_QSIZE@GOTPAGEOFF]
	mov	w22, #24
Lloh5:
	adrp	x23, _PCI_DMA_TODEVICE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _PCI_DMA_TODEVICE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	ldr	x9, [x19, #8]
	ldr	w0, [x19, #4]
	smaddl	x24, w8, w22, x9
	ldr	x1, [x24, #16]
	ldr	x2, [x24]
	ldr	w3, [x23]
	bl	_pci_unmap_single
	str	xzr, [x24, #16]
	ldr	x0, [x24, #8]
	bl	_kfree
	stp	xzr, xzr, [x24]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	cmp	w8, w20
	b.lt	LBB0_2
LBB0_3:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ISL38XX_CB_TX_MGMTQ,8,3        ; @ISL38XX_CB_TX_MGMTQ
	.comm	_ISL38XX_CB_MGMT_QSIZE,4,2      ; @ISL38XX_CB_MGMT_QSIZE
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_SHOW_FUNCTION_CALLS,4,2        ; @SHOW_FUNCTION_CALLS
.subsections_via_symbols
