	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dump_ini_mon_dram_iter
_iwl_dump_ini_mon_dram_iter:            ## @iwl_dump_ini_mon_dram_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rdi, %r12
	movq	(%rdi), %rdi
	movq	_MON_BUFF_BASE_ADDR_VER2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_iwl_read_umac_prph
	cmpl	$1515870810, %eax               ## imm = 0x5A5A5A5A
	jne	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movl	%eax, %edi
	callq	_cpu_to_le64
	movl	%eax, 8(%r14)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movslq	%r15d, %rbx
	movl	(%rax,%rbx,8), %edi
	callq	_cpu_to_le32
	movl	%eax, (%r14)
	movl	4(%r14), %edi
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,8), %edx
	movl	4(%rax,%rbx,8), %esi
	callq	_memcpy
	movl	(%r14), %edi
	callq	_le32_to_cpu
	addl	$12, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MON_BUFF_BASE_ADDR_VER2,4,2    ## @MON_BUFF_BASE_ADDR_VER2
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_iwl_dump_ini_mon_dram_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_mon_dram_iter
_iwl_dump_ini_mon_dram_iter:            ; @iwl_dump_ini_mon_dram_iter
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x20, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _MON_BUFF_BASE_ADDR_VER2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MON_BUFF_BASE_ADDR_VER2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_iwl_read_umac_prph
	mov	w8, #23130
	movk	w8, #23130, lsl #16
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	bl	_cpu_to_le64
	str	w0, [x19, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	sbfiz	x21, x21, #3, #32
	ldr	w0, [x8, x21]
	bl	_cpu_to_le32
	str	w0, [x19]
	ldr	w0, [x19, #4]
	ldr	x8, [x20]
	ldr	x8, [x8]
	add	x8, x8, x21
	ldp	w2, w1, [x8]
	bl	_memcpy
	ldr	w0, [x19]
	bl	_le32_to_cpu
	add	w0, w0, #12
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MON_BUFF_BASE_ADDR_VER2,4,2    ; @MON_BUFF_BASE_ADDR_VER2
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_iwl_dump_ini_mon_dram_iter
.subsections_via_symbols
