	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dump_ini_prph_iter
_iwl_dump_ini_prph_iter:                ## @iwl_dump_ini_prph_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	16(%rdx), %r14
	movq	8(%rsi), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_le32_to_cpu
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%r13), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	addl	-48(%rbp), %r12d                ## 4-byte Folded Reload
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%rbx)
	movl	(%r13), %edi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%edi, (%rbx)
	callq	_le32_to_cpu
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	leal	(%r12,%rbx), %esi
	callq	_iwl_read_prph
	cmpl	$1515870810, %eax               ## imm = 0x5A5A5A5A
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r14,%rbx)
	movl	(%r13), %edi
	callq	_le32_to_cpu
	addq	$4, %rbx
	cmpl	%eax, %ebx
	jl	LBB0_2
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_le32_to_cpu
	addl	$24, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_iwl_dump_ini_prph_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_prph_iter
_iwl_dump_ini_prph_iter:                ; @iwl_dump_ini_prph_iter
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x23, [x2, #16]
	ldr	x8, [x1, #8]
	ldr	w0, [x8, w3, sxtw #2]
	bl	_le32_to_cpu
	mov	x22, x0
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	add	w22, w0, w22
	mov	x0, x22
	bl	_cpu_to_le32
	str	x0, [x19, #8]
	ldr	w0, [x20]
	str	w0, [x19]
	bl	_le32_to_cpu
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x24, #0
	mov	w25, #23130
	movk	w25, #23130, lsl #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	add	w1, w22, w24
	bl	_iwl_read_prph
	cmp	w0, w25
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_cpu_to_le32
	str	w0, [x23, x24]
	ldr	w0, [x20]
	bl	_le32_to_cpu
	add	x24, x24, #4
	cmp	w24, w0
	b.lt	LBB0_2
LBB0_4:
	ldr	w0, [x19]
	bl	_le32_to_cpu
	add	w0, w0, #24
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_iwl_dump_ini_prph_iter
.subsections_via_symbols
