	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dump_ini_rxf_iter
_iwl_dump_ini_rxf_iter:                 ## @iwl_dump_ini_rxf_iter
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	24(%rdx), %r13
	movq	24(%rsi), %rdi
	callq	_le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rdi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_iwl_ini_get_rxf_data
	cmpl	$0, -56(%rbp)
	je	LBB0_1
## %bb.3:
	movl	(%r12), %edi
	leaq	-96(%rbp), %rsi
	callq	_iwl_trans_grab_nic_access
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	shll	$4, %r15d
	movl	-52(%rbp), %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%r14)
	movq	8(%rbx), %rax
	movq	%rax, 8(%r14)
	movl	-56(%rbp), %edi
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	addl	%r15d, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r14)
	movq	8(%rbx), %rdi
	callq	_le32_to_cpu
	testl	%eax, %eax
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jle	LBB0_6
## %bb.7:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r12), %r14d
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r13)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_iwl_read_prph_no_grab
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r13)
	addq	$16, %r13
	incq	%r15
	movq	8(%rbx), %rdi
	callq	_le32_to_cpu
	cltq
	cmpq	%rax, %r15
	jl	LBB0_8
	jmp	LBB0_9
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_6:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_9:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, (%rbx)
	je	LBB0_11
## %bb.10:
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	%r14, %r12
	movq	%rcx, %r14
	jmp	LBB0_14
LBB0_11:
	movq	%r12, %r15
	addl	-48(%rbp), %r15d
	movq	%r14, %r12
	movl	(%r14), %edi
	movq	_RXF_SET_FENCE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %esi
	movl	$1, %edx
	callq	_iwl_write_prph_no_grab
	movl	(%r14), %edi
	movq	_RXF_LD_WR2FENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %esi
	movl	$1, %edx
	callq	_iwl_write_prph_no_grab
	movl	(%r14), %edi
	movq	_RXF_LD_FENCE_OFFSET_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %esi
	xorl	%edx, %edx
	callq	_iwl_write_prph_no_grab
	cmpl	$0, -56(%rbp)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_14
## %bb.12:
	movq	_RXF_FIFO_RD_FENCE_INC@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	%r15d, %esi
	callq	_iwl_read_prph_no_grab
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r13,%rbx)
	addq	$4, %rbx
	cmpl	-56(%rbp), %ebx
	jl	LBB0_13
LBB0_14:
	movl	(%r12), %edi
	leaq	-96(%rbp), %rsi
	callq	_iwl_trans_release_nic_access
	movq	(%r14), %rdi
	callq	_le32_to_cpu
	addl	$32, %eax
LBB0_15:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_RXF_SET_FENCE_MODE,4,2         ## @RXF_SET_FENCE_MODE
	.comm	_RXF_LD_WR2FENCE,4,2            ## @RXF_LD_WR2FENCE
	.comm	_RXF_LD_FENCE_OFFSET_ADDR,4,2   ## @RXF_LD_FENCE_OFFSET_ADDR
	.comm	_RXF_FIFO_RD_FENCE_INC,4,2      ## @RXF_FIFO_RD_FENCE_INC
	.no_dead_strip	_iwl_dump_ini_rxf_iter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_dump_ini_rxf_iter
_iwl_dump_ini_rxf_iter:                 ; @iwl_dump_ini_rxf_iter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x25, [x2, #24]
	ldr	x0, [x1, #24]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	x0, [x22, #8]
	bl	_le32_to_cpu
	mov	x23, x0
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x22
	bl	_iwl_ini_get_rxf_data
	ldr	w8, [sp, #16]
	cbz	w8, LBB0_7
; %bb.1:
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_iwl_trans_grab_nic_access
	cbz	w0, LBB0_8
; %bb.2:
	lsl	w23, w23, #4
	ldr	w0, [sp, #20]
	bl	_cpu_to_le32
	str	x0, [x19, #16]
	ldr	x8, [x22, #8]
	str	x8, [x19, #8]
	ldr	w8, [sp, #16]
	add	w0, w8, w23
	bl	_cpu_to_le32
	str	x0, [x19]
	ldr	x0, [x22, #8]
	bl	_le32_to_cpu
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x26, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	ldr	x0, [x8, x26, lsl #3]
	bl	_le32_to_cpu
	add	w24, w0, w21
	mov	x0, x24
	bl	_cpu_to_le32
	str	x0, [x25, #8]
	ldr	w0, [x20]
	mov	x1, x24
	bl	_iwl_read_prph_no_grab
	bl	_cpu_to_le32
	str	x0, [x25], #16
	add	x26, x26, #1
	ldr	x0, [x22, #8]
	bl	_le32_to_cpu
	cmp	x26, w0, sxtw
	b.lt	LBB0_4
LBB0_5:
	ldr	x8, [x22]
	cbz	x8, LBB0_10
; %bb.6:
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x19]
	b	LBB0_13
LBB0_7:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_10:
	ldr	w8, [sp, #24]
	ldr	w0, [x20]
Lloh4:
	adrp	x9, _RXF_SET_FENCE_MODE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RXF_SET_FENCE_MODE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	add	w21, w8, w21
	add	w1, w9, w21
	mov	w2, #1
	bl	_iwl_write_prph_no_grab
	ldr	w0, [x20]
Lloh7:
	adrp	x8, _RXF_LD_WR2FENCE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RXF_LD_WR2FENCE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	add	w1, w8, w21
	mov	w2, #1
	bl	_iwl_write_prph_no_grab
	ldr	w0, [x20]
Lloh10:
	adrp	x8, _RXF_LD_FENCE_OFFSET_ADDR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RXF_LD_FENCE_OFFSET_ADDR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	add	w1, w8, w21
	mov	w2, #0
	bl	_iwl_write_prph_no_grab
	ldr	w8, [sp, #16]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x22, #0
Lloh13:
	adrp	x8, _RXF_FIFO_RD_FENCE_INC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RXF_FIFO_RD_FENCE_INC@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	add	w21, w8, w21
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x21
	bl	_iwl_read_prph_no_grab
	bl	_cpu_to_le32
	str	w0, [x25, x22]
	ldr	w8, [sp, #16]
	add	x22, x22, #4
	cmp	w22, w8
	b.lt	LBB0_12
LBB0_13:
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_iwl_trans_release_nic_access
	ldr	x0, [x19]
	bl	_le32_to_cpu
	add	w0, w0, #32
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_RXF_SET_FENCE_MODE,4,2         ; @RXF_SET_FENCE_MODE
	.comm	_RXF_LD_WR2FENCE,4,2            ; @RXF_LD_WR2FENCE
	.comm	_RXF_LD_FENCE_OFFSET_ADDR,4,2   ; @RXF_LD_FENCE_OFFSET_ADDR
	.comm	_RXF_FIFO_RD_FENCE_INC,4,2      ; @RXF_FIFO_RD_FENCE_INC
	.no_dead_strip	_iwl_dump_ini_rxf_iter
.subsections_via_symbols
