	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_free_frag
_mlx4_en_free_frag:                     ## @mlx4_en_free_frag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	8(%rdi), %rax
	movslq	%edx, %rbx
	movslq	(%rax,%rbx,4), %rax
	shlq	$5, %rbx
	addq	%rax, %rax
	addq	(%rsi,%rbx), %rax
	movq	8(%rsi,%rbx), %rdx
	cmpq	%rdx, %rax
	jle	LBB0_2
## %bb.1:
	movl	(%rdi), %edi
	movl	24(%r14,%rbx), %esi
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_page
LBB0_2:
	movq	16(%r14,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_put_page                       ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.no_dead_strip	_mlx4_en_free_frag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_free_frag
_mlx4_en_free_frag:                     ; @mlx4_en_free_frag
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w2 killed $w2 def $x2
	ldr	x8, [x0, #8]
	sxtw	x9, w2
	add	x19, x1, x9, lsl #5
	ldrsw	x8, [x8, w2, sxtw #2]
	ldp	x9, x2, [x19]
	add	x8, x9, x8, lsl #1
	cmp	x8, x2
	b.le	LBB0_2
; %bb.1:
	ldr	w0, [x0]
	ldr	w1, [x19, #24]
Lloh0:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	bl	_dma_unmap_page
LBB0_2:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_put_page
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.no_dead_strip	_mlx4_en_free_frag
.subsections_via_symbols
