	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_coredump_get_mem_layout ## -- Begin function ath10k_coredump_get_mem_layout
	.p2align	4, 0x90
_ath10k_coredump_get_mem_layout:        ## @ath10k_coredump_get_mem_layout
	.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	%rdi, %r12
	movq	_ATH10K_FW_CRASH_DUMP_RAM_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ath10k_coredump_mask@GOTPCREL(%rip), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	xorl	%r14d, %r14d
LBB0_4:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_hw_mem_layouts@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_4
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	incq	%r13
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r13
	jge	LBB0_4
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%r15), %rdi
	cmpq	(%rdi,%rbx), %rax
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r12), %rax
	cmpq	8(%rdi,%rbx), %rax
	jne	LBB0_7
## %bb.10:
	addq	%rbx, %rdi
	movq	%rdi, %r14
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_FW_CRASH_DUMP_RAM_DATA,4,2 ## @ATH10K_FW_CRASH_DUMP_RAM_DATA
	.comm	_ath10k_coredump_mask,4,2       ## @ath10k_coredump_mask
	.comm	_hw_mem_layouts,8,3             ## @hw_mem_layouts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_coredump_get_mem_layout ; -- Begin function ath10k_coredump_get_mem_layout
	.p2align	2
_ath10k_coredump_get_mem_layout:        ; @ath10k_coredump_get_mem_layout
	.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	x19, x0
Lloh0:
	adrp	x8, _ATH10K_FW_CRASH_DUMP_RAM_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_FW_CRASH_DUMP_RAM_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _ath10k_coredump_mask@GOTPAGE
Lloh4:
	ldr	x1, [x1, _ath10k_coredump_mask@GOTPAGEOFF]
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_4
LBB0_2:
	mov	x0, #0
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
LBB0_4:
Lloh5:
	adrp	x20, _hw_mem_layouts@GOTPAGE
Lloh6:
	ldr	x20, [x20, _hw_mem_layouts@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.5:
	mov	x21, #0
	mov	x22, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	mov	x0, x8
	bl	_ARRAY_SIZE
	add	x21, x21, #16
	cmp	x22, w0, sxtw
	b.ge	LBB0_2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	ldr	x8, [x20]
	ldr	x10, [x8, x21]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x19, #8]
	add	x0, x8, x21
	ldr	x10, [x0, #8]
	cmp	x9, x10
	b.ne	LBB0_6
	b	LBB0_3
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_FW_CRASH_DUMP_RAM_DATA,4,2 ; @ATH10K_FW_CRASH_DUMP_RAM_DATA
	.comm	_ath10k_coredump_mask,4,2       ; @ath10k_coredump_mask
	.comm	_hw_mem_layouts,8,3             ; @hw_mem_layouts
.subsections_via_symbols
