	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_xdp_tx_int
_qede_xdp_tx_int:                       ## @qede_xdp_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	32(%rsi), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_barrier
	leaq	24(%rbx), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	cqto
	idivq	%rcx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rdx, (%rbx)
	incl	12(%rbx)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_qed_chain_get_cons_idx
	cmpq	%rax, %r15
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_qed_chain_consume
	movq	(%r14), %rdi
	movq	(%rbx), %r13
	movq	16(%rbx), %rax
	movl	4(%rax,%r13,8), %esi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_page
	movq	16(%rbx), %rax
	movl	(%rax,%r13,8), %edi
	callq	___free_page
	movq	(%rbx), %rax
	incq	%rax
	movslq	8(%rbx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	jne	LBB0_4
## %bb.3:                               ##   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
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.no_dead_strip	_qede_xdp_tx_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_xdp_tx_int
_qede_xdp_tx_int:                       ; @qede_xdp_tx_int
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #32]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	mov	x21, x0
	bl	_barrier
	add	x22, x19, #24
	mov	x0, x22
	bl	_qed_chain_get_cons_idx
	cmp	x21, x0
	b.eq	LBB0_3
; %bb.1:
Lloh0:
	adrp	x23, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x24, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_qed_chain_consume
	ldr	x8, [x19]
	ldr	x0, [x20]
	ldr	x9, [x19, #16]
	lsl	x25, x8, #3
	add	x8, x9, x25
	ldr	w1, [x8, #4]
	ldr	w2, [x23]
	ldr	w3, [x24]
	bl	_dma_unmap_page
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x25]
	bl	___free_page
	ldr	x8, [x19]
	add	x8, x8, #1
	ldp	w9, w10, [x19, #8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	sdiv	x11, x8, x9
	msub	x8, x11, x9, x8
	str	x8, [x19]
	add	w8, w10, #1
	str	w8, [x19, #12]
	mov	x0, x22
	bl	_qed_chain_get_cons_idx
	cmp	x21, x0
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.no_dead_strip	_qede_xdp_tx_int
.subsections_via_symbols
