	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_pci_dump_memory_sram
_ath10k_pci_dump_memory_sram:           ## @ath10k_pci_dump_memory_sram
	.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, %r14
	movq	%rsi, %r15
	callq	_ath10k_pci_priv
	movq	%rax, %r13
	movq	_QCA99X0_PCIE_BAR0_START_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r13), %rdi
	callq	_ioread32
	movq	%rax, %r12
	movq	8(%r15), %rax
	testq	%rax, %rax
	jle	LBB0_3
## %bb.1:
	addq	(%r15), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rbx), %rdi
	movq	_QCA99X0_CPU_MEM_ADDR_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	callq	_iowrite32
	movq	_QCA99X0_CPU_MEM_DATA_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r13), %rdi
	callq	_ioread32
	movq	%rax, (%r14,%rbx,4)
	addq	$4, %rbx
	movq	8(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QCA99X0_PCIE_BAR0_START_REG,8,3 ## @QCA99X0_PCIE_BAR0_START_REG
	.comm	_QCA99X0_CPU_MEM_ADDR_REG,8,3   ## @QCA99X0_CPU_MEM_ADDR_REG
	.comm	_QCA99X0_CPU_MEM_DATA_REG,8,3   ## @QCA99X0_CPU_MEM_DATA_REG
	.no_dead_strip	_ath10k_pci_dump_memory_sram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_pci_dump_memory_sram
_ath10k_pci_dump_memory_sram:           ; @ath10k_pci_dump_memory_sram
	.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
	bl	_ath10k_pci_priv
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _QCA99X0_PCIE_BAR0_START_REG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QCA99X0_PCIE_BAR0_START_REG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ioread32
	mov	x8, x0
	ldr	x0, [x20, #8]
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	ldr	x9, [x20]
	add	x23, x9, x8
Lloh3:
	adrp	x24, _QCA99X0_CPU_MEM_ADDR_REG@GOTPAGE
Lloh4:
	ldr	x24, [x24, _QCA99X0_CPU_MEM_ADDR_REG@GOTPAGEOFF]
Lloh5:
	adrp	x25, _QCA99X0_CPU_MEM_DATA_REG@GOTPAGE
Lloh6:
	ldr	x25, [x25, _QCA99X0_CPU_MEM_DATA_REG@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x23, x22
	ldr	x8, [x21]
	ldr	x9, [x24]
	add	x1, x9, x8
	bl	_iowrite32
	ldr	x8, [x21]
	ldr	x9, [x25]
	add	x0, x9, x8
	bl	_ioread32
	str	x0, [x19], #16
	add	x22, x22, #4
	ldr	x0, [x20, #8]
	cmp	x22, x0
	b.lt	LBB0_2
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QCA99X0_PCIE_BAR0_START_REG,8,3 ; @QCA99X0_PCIE_BAR0_START_REG
	.comm	_QCA99X0_CPU_MEM_ADDR_REG,8,3   ; @QCA99X0_CPU_MEM_ADDR_REG
	.comm	_QCA99X0_CPU_MEM_DATA_REG,8,3   ; @QCA99X0_CPU_MEM_DATA_REG
	.no_dead_strip	_ath10k_pci_dump_memory_sram
.subsections_via_symbols
