	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_fwrt_dump_rxf
_iwl_fwrt_dump_rxf:                     ## @iwl_fwrt_dump_rxf
	.cfi_startproc
## %bb.0:
	testl	%edx, %edx
	je	LBB0_5
## %bb.1:
	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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	(%rsi), %rax
	movq	16(%rax), %r14
	movq	48(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_IWL_FW_ERROR_DUMP_RXF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	callq	_cpu_to_le32
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	leal	56(%r15), %edi
	callq	_cpu_to_le32
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	%rax, 40(%r14)
	movl	(%r13), %edi
	movq	_RXF_RD_D_SPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	callq	_iwl_trans_read_prph
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 32(%r14)
	movl	(%r13), %edi
	movq	_RXF_RD_WR_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	callq	_iwl_trans_read_prph
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%r14)
	movl	(%r13), %edi
	movq	_RXF_RD_RD_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	callq	_iwl_trans_read_prph
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%r14)
	movl	(%r13), %edi
	movq	_RXF_RD_FENCE_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	callq	_iwl_trans_read_prph
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r14)
	movl	(%r13), %edi
	movq	_RXF_SET_FENCE_MODE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	addl	%r12d, %esi
	callq	_iwl_trans_read_prph
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r14)
	movl	(%r13), %edi
	movl	(%rbx), %esi
	addl	%r12d, %esi
	movl	$1, %edx
	callq	_iwl_trans_write_prph
	movl	(%r13), %edi
	movq	_RXF_LD_WR2FENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	movl	$1, %edx
	callq	_iwl_trans_write_prph
	movl	(%r13), %edi
	movq	_RXF_LD_FENCE_OFFSET_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	xorl	%edx, %edx
	callq	_iwl_trans_write_prph
	cmpl	$4, %r15d
	jl	LBB0_4
## %bb.2:
	shrl	$2, %r15d
	xorl	%ebx, %ebx
	movq	_RXF_FIFO_RD_FENCE_INC@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	(%r14), %esi
	addl	%r12d, %esi
	callq	_iwl_trans_read_prph
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_3
LBB0_4:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	callq	_iwl_fw_error_next_data
	movq	%rax, (%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_FW_ERROR_DUMP_RXF,4,2      ## @IWL_FW_ERROR_DUMP_RXF
	.comm	_RXF_RD_D_SPACE,4,2             ## @RXF_RD_D_SPACE
	.comm	_RXF_RD_WR_PTR,4,2              ## @RXF_RD_WR_PTR
	.comm	_RXF_RD_RD_PTR,4,2              ## @RXF_RD_RD_PTR
	.comm	_RXF_RD_FENCE_PTR,4,2           ## @RXF_RD_FENCE_PTR
	.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_fwrt_dump_rxf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_fwrt_dump_rxf
_iwl_fwrt_dump_rxf:                     ; @iwl_fwrt_dump_rxf
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_5
; %bb.1:
	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	x23, x4
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x1]
	ldr	x25, [x8, #16]
	ldr	x24, [x25, #48]
Lloh0:
	adrp	x8, _IWL_FW_ERROR_DUMP_RXF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_FW_ERROR_DUMP_RXF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	x0, [x8, #8]
	add	w0, w22, #56
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	x0, [x8]
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x25, #40]
	ldr	w0, [x21]
Lloh3:
	adrp	x8, _RXF_RD_D_SPACE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXF_RD_D_SPACE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w1, w8, w20
	bl	_iwl_trans_read_prph
	bl	_cpu_to_le32
	str	x0, [x25, #32]
	ldr	w0, [x21]
Lloh6:
	adrp	x8, _RXF_RD_WR_PTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RXF_RD_WR_PTR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w1, w8, w20
	bl	_iwl_trans_read_prph
	bl	_cpu_to_le32
	str	x0, [x25, #24]
	ldr	w0, [x21]
Lloh9:
	adrp	x8, _RXF_RD_RD_PTR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RXF_RD_RD_PTR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w1, w8, w20
	bl	_iwl_trans_read_prph
	bl	_cpu_to_le32
	str	x0, [x25, #16]
	ldr	w0, [x21]
Lloh12:
	adrp	x8, _RXF_RD_FENCE_PTR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RXF_RD_FENCE_PTR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	add	w1, w8, w20
	bl	_iwl_trans_read_prph
	bl	_cpu_to_le32
	str	x0, [x25, #8]
	ldr	w0, [x21]
Lloh15:
	adrp	x23, _RXF_SET_FENCE_MODE@GOTPAGE
Lloh16:
	ldr	x23, [x23, _RXF_SET_FENCE_MODE@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w1, w8, w20
	bl	_iwl_trans_read_prph
	bl	_cpu_to_le32
	str	x0, [x25]
	ldr	w0, [x21]
	ldr	w8, [x23]
	add	w1, w8, w20
	mov	w2, #1
	bl	_iwl_trans_write_prph
	ldr	w0, [x21]
Lloh17:
	adrp	x8, _RXF_LD_WR2FENCE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RXF_LD_WR2FENCE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	add	w1, w8, w20
	mov	w2, #1
	bl	_iwl_trans_write_prph
	ldr	w0, [x21]
Lloh20:
	adrp	x8, _RXF_LD_FENCE_OFFSET_ADDR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RXF_LD_FENCE_OFFSET_ADDR@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	add	w1, w8, w20
	mov	w2, #0
	bl	_iwl_trans_write_prph
	cmp	w22, #4
	b.lt	LBB0_4
; %bb.2:
	lsr	w22, w22, #2
Lloh23:
	adrp	x23, _RXF_FIFO_RD_FENCE_INC@GOTPAGE
Lloh24:
	ldr	x23, [x23, _RXF_FIFO_RD_FENCE_INC@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	w8, [x23]
	add	w1, w8, w20
	bl	_iwl_trans_read_prph
	str	w0, [x24], #4
	subs	x22, x22, #1
	b.ne	LBB0_3
LBB0_4:
	ldr	x0, [x19]
	bl	_iwl_fw_error_next_data
	str	x0, [x19]
	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
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_FW_ERROR_DUMP_RXF,4,2      ; @IWL_FW_ERROR_DUMP_RXF
	.comm	_RXF_RD_D_SPACE,4,2             ; @RXF_RD_D_SPACE
	.comm	_RXF_RD_WR_PTR,4,2              ; @RXF_RD_WR_PTR
	.comm	_RXF_RD_RD_PTR,4,2              ; @RXF_RD_RD_PTR
	.comm	_RXF_RD_FENCE_PTR,4,2           ; @RXF_RD_FENCE_PTR
	.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_fwrt_dump_rxf
.subsections_via_symbols
