	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_free_vf_igu_sbs
_qed_iov_free_vf_igu_sbs:               ## @qed_iov_free_vf_igu_sbs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rdx)
	jle	LBB0_3
## %bb.1:
	movq	%rsi, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdx), %rax
	movslq	(%rax,%r14,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,8), %rbx
	movq	_IGU_REG_MAPPING_MEMORY@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_qed_rd
	movq	%rax, %r13
	movq	_IGU_MAPPING_LINE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_SET_FIELD
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_qed_wr
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	_QED_IGU_STATUS_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	orl	%eax, (%rcx,%rdi,4)
	movq	(%r15), %rax
	incl	(%rax)
	incq	%r14
	movslq	(%rdx), %rax
	cmpq	%rax, %r14
	jl	LBB0_2
LBB0_3:
	movl	$0, (%rdx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGU_REG_MAPPING_MEMORY,8,3     ## @IGU_REG_MAPPING_MEMORY
	.comm	_IGU_MAPPING_LINE_VALID,4,2     ## @IGU_MAPPING_LINE_VALID
	.comm	_QED_IGU_STATUS_FREE,4,2        ## @QED_IGU_STATUS_FREE
	.no_dead_strip	_qed_iov_free_vf_igu_sbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iov_free_vf_igu_sbs
_qed_iov_free_vf_igu_sbs:               ; @qed_iov_free_vf_igu_sbs
	.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, x2
	ldr	w8, [x2]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	mov	x24, #0
	ldr	x25, [x0]
Lloh0:
	adrp	x27, _IGU_MAPPING_LINE_VALID@GOTPAGE
Lloh1:
	ldr	x27, [x27, _IGU_MAPPING_LINE_VALID@GOTPAGEOFF]
Lloh2:
	adrp	x28, _QED_IGU_STATUS_FREE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _QED_IGU_STATUS_FREE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldrsw	x26, [x8, x24, lsl #2]
Lloh4:
	adrp	x8, _IGU_REG_MAPPING_MEMORY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IGU_REG_MAPPING_MEMORY@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	x22, x8, x26, lsl #3
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_qed_rd
	mov	x23, x0
	ldr	w1, [x27]
	mov	w2, #0
	bl	_SET_FIELD
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	bl	_qed_wr
	ldr	w8, [x28]
	ldr	x9, [x25, #8]
	lsl	x10, x26, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
	ldr	x8, [x21]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_3:
	str	wzr, [x19]
	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	_IGU_REG_MAPPING_MEMORY,8,3     ; @IGU_REG_MAPPING_MEMORY
	.comm	_IGU_MAPPING_LINE_VALID,4,2     ; @IGU_MAPPING_LINE_VALID
	.comm	_QED_IGU_STATUS_FREE,4,2        ; @QED_IGU_STATUS_FREE
	.no_dead_strip	_qed_iov_free_vf_igu_sbs
.subsections_via_symbols
