	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_trans_pcie_fh_regs_dump
_iwl_trans_pcie_fh_regs_dump:           ## @iwl_trans_pcie_fh_regs_dump
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_FH_MEM_UPPER_BOUND@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	movq	_FH_MEM_LOWER_BOUND@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	leaq	-56(%rbp), %rsi
	callq	_iwl_trans_grab_nic_access
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_IWL_FW_ERROR_DUMP_FH_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	(%rax), %r13
	movq	(%r12), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.6:
	movq	_FH_MEM_LOWER_BOUND_GEN2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_iwl_umac_prph
	movl	%eax, %ebx
	movq	_FH_MEM_UPPER_BOUND_GEN2@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_iwl_umac_prph
	cmpl	%eax, %ebx
	jge	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_iwl_trans_pcie_read_prph
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r13)
	addq	$4, %r13
	addl	$4, %ebx
	jmp	LBB0_8
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_3:
	movq	_FH_MEM_LOWER_BOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	(%r14), %ebx
	jge	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_iwl_trans_pcie_read32
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r13)
	addq	$4, %r13
	addl	$4, %ebx
	cmpl	(%r14), %ebx
	jl	LBB0_5
LBB0_9:
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_iwl_trans_release_nic_access
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	callq	_iwl_fw_error_next_data
	movq	%rax, (%rbx)
	addl	$24, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FH_MEM_UPPER_BOUND,4,2         ## @FH_MEM_UPPER_BOUND
	.comm	_FH_MEM_LOWER_BOUND,4,2         ## @FH_MEM_LOWER_BOUND
	.comm	_IWL_FW_ERROR_DUMP_FH_REGS,4,2  ## @IWL_FW_ERROR_DUMP_FH_REGS
	.comm	_FH_MEM_LOWER_BOUND_GEN2,4,2    ## @FH_MEM_LOWER_BOUND_GEN2
	.comm	_FH_MEM_UPPER_BOUND_GEN2,4,2    ## @FH_MEM_UPPER_BOUND_GEN2
	.no_dead_strip	_iwl_trans_pcie_fh_regs_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_trans_pcie_fh_regs_dump
_iwl_trans_pcie_fh_regs_dump:           ; @iwl_trans_pcie_fh_regs_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _FH_MEM_UPPER_BOUND@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FH_MEM_UPPER_BOUND@GOTPAGEOFF]
	ldr	w21, [x24]
Lloh2:
	adrp	x22, _FH_MEM_LOWER_BOUND@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FH_MEM_LOWER_BOUND@GOTPAGEOFF]
	ldr	w23, [x22]
	add	x1, sp, #8
	bl	_iwl_trans_grab_nic_access
	cbz	w0, LBB0_9
; %bb.1:
	sub	w21, w21, w23
Lloh4:
	adrp	x8, _IWL_FW_ERROR_DUMP_FH_REGS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IWL_FW_ERROR_DUMP_FH_REGS@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	x0, [x8, #16]
	mov	x0, x21
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	x0, [x8, #8]
	ldr	x8, [x19]
	ldr	x23, [x8]
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.2:
Lloh7:
	adrp	x8, _FH_MEM_LOWER_BOUND_GEN2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FH_MEM_LOWER_BOUND_GEN2@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_iwl_umac_prph
	mov	x22, x0
Lloh10:
	adrp	x24, _FH_MEM_UPPER_BOUND_GEN2@GOTPAGE
Lloh11:
	ldr	x24, [x24, _FH_MEM_UPPER_BOUND_GEN2@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x20
	bl	_iwl_umac_prph
	cmp	w22, w0
	b.ge	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_iwl_trans_pcie_read_prph
	bl	_cpu_to_le32
	str	w0, [x23], #4
	add	w22, w22, #4
	b	LBB0_3
LBB0_5:
	ldr	w22, [x22]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	cmp	w22, w8
	b.ge	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_iwl_trans_pcie_read32
	bl	_cpu_to_le32
	str	w0, [x23], #4
	add	w22, w22, #4
	b	LBB0_6
LBB0_8:
	add	x1, sp, #8
	mov	x0, x20
	bl	_iwl_trans_release_nic_access
	ldr	x0, [x19]
	bl	_iwl_fw_error_next_data
	str	x0, [x19]
	add	w0, w21, #24
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FH_MEM_UPPER_BOUND,4,2         ; @FH_MEM_UPPER_BOUND
	.comm	_FH_MEM_LOWER_BOUND,4,2         ; @FH_MEM_LOWER_BOUND
	.comm	_IWL_FW_ERROR_DUMP_FH_REGS,4,2  ; @IWL_FW_ERROR_DUMP_FH_REGS
	.comm	_FH_MEM_LOWER_BOUND_GEN2,4,2    ; @FH_MEM_LOWER_BOUND_GEN2
	.comm	_FH_MEM_UPPER_BOUND_GEN2,4,2    ; @FH_MEM_UPPER_BOUND_GEN2
	.no_dead_strip	_iwl_trans_pcie_fh_regs_dump
.subsections_via_symbols
