	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_pcie_reg_dump
_mwifiex_pcie_reg_dump:                 ## @mwifiex_pcie_reg_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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	_PCIE_SCRATCH_12_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -316(%rbp)
	movq	_PCIE_SCRATCH_14_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -312(%rbp)
	movq	_PCIE_SCRATCH_15_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -308(%rbp)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_MSG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movl	(%r14), %esi
	leaq	-320(%rbp), %rdx
	movq	%r12, %rdi
	callq	_mwifiex_read_reg
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_8
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_4:
	movq	%rbx, -328(%rbp)                ## 8-byte Spill
	movl	(%r13), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	leaq	-316(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	leaq	-304(%rbp), %rbx
	leaq	L_.str.3(%rip), %r13
	leaq	-316(%rbp), %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	-316(%rbp,%r15,4), %esi
	movq	%r12, %rdi
	leaq	-320(%rbp), %rdx
	callq	_mwifiex_read_reg
	movl	-316(%rbp,%r15,4), %edx
	movl	-320(%rbp), %ecx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	incq	%r15
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r15
	jl	LBB0_6
LBB0_7:
	movq	_MSG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	L_.str.4(%rip), %r14
	leaq	-304(%rbp), %rbx
	movq	%r12, %rdi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	-328(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_sprintf
	movl	%eax, %r15d
	movl	(%r13), %esi
	leaq	L_.str.5(%rip), %rdx
LBB0_8:
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r15d, %eax
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIE_SCRATCH_12_REG,4,2        ## @PCIE_SCRATCH_12_REG
	.comm	_PCIE_SCRATCH_14_REG,4,2        ## @PCIE_SCRATCH_14_REG
	.comm	_PCIE_SCRATCH_15_REG,4,2        ## @PCIE_SCRATCH_15_REG
	.comm	_MSG,4,2                        ## @MSG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCIE register dump start\n"

	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"failed to read firmware status"

L_.str.2:                               ## @.str.2
	.asciz	"pcie scratch register:"

L_.str.3:                               ## @.str.3
	.asciz	"reg:0x%x, value=0x%x\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s\n"

L_.str.5:                               ## @.str.5
	.asciz	"PCIE register dump end\n"

	.no_dead_strip	_mwifiex_pcie_reg_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_pcie_reg_dump
_mwifiex_pcie_reg_dump:                 ; @mwifiex_pcie_reg_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #400
	.cfi_def_cfa_offset 400
	stp	x28, x27, [sp, #304]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #320]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #336]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #352]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #368]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #384]            ; 16-byte Folded Spill
	add	x29, sp, #384
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0]
	ldr	x21, [x8]
Lloh3:
	adrp	x8, _PCIE_SCRATCH_12_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCIE_SCRATCH_12_REG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PCIE_SCRATCH_14_REG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCIE_SCRATCH_14_REG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #28]
Lloh9:
	adrp	x8, _PCIE_SCRATCH_15_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCIE_SCRATCH_15_REG@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #36]
	cbz	x1, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh12:
	adrp	x23, _MSG@GOTPAGE
Lloh13:
	ldr	x23, [x23, _MSG@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
	ldr	w1, [x21]
	add	x2, sp, #24
	mov	x0, x19
	bl	_mwifiex_read_reg
	cbz	x0, LBB0_3
; %bb.2:
Lloh16:
	adrp	x8, _ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	mov	w20, #0
	b	LBB0_7
LBB0_3:
	ldr	w1, [x23]
Lloh21:
	adrp	x2, l_.str.2@PAGE
Lloh22:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	add	x24, sp, #28
	add	x0, sp, #28
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x25, #0
	add	x21, sp, #40
Lloh23:
	adrp	x22, l_.str.3@PAGE
Lloh24:
	add	x22, x22, l_.str.3@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x26, x25, #2
	ldr	w1, [x24, x26]
	add	x2, sp, #24
	mov	x0, x19
	bl	_mwifiex_read_reg
	ldr	w8, [x24, x26]
	ldr	w9, [sp, #24]
	stp	x8, x9, [sp]
	mov	x0, x21
	mov	x1, x22
	bl	_sprintf
	add	x21, x21, w0, sxtw
	add	x25, x25, #1
	add	x0, sp, #28
	bl	_ARRAY_SIZE
	cmp	x25, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
	ldr	w1, [x23]
	add	x22, sp, #40
	str	x22, [sp]
Lloh25:
	adrp	x21, l_.str.4@PAGE
Lloh26:
	add	x21, x21, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_mwifiex_dbg
	str	x22, [sp]
	mov	x0, x20
	mov	x1, x21
	bl	_sprintf
	mov	x20, x0
	ldr	w1, [x23]
Lloh27:
	adrp	x2, l_.str.5@PAGE
Lloh28:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
LBB0_7:
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	ldp	x29, x30, [sp, #384]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #368]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #352]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #336]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #320]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #304]            ; 16-byte Folded Reload
	add	sp, sp, #400
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIE_SCRATCH_12_REG,4,2        ; @PCIE_SCRATCH_12_REG
	.comm	_PCIE_SCRATCH_14_REG,4,2        ; @PCIE_SCRATCH_14_REG
	.comm	_PCIE_SCRATCH_15_REG,4,2        ; @PCIE_SCRATCH_15_REG
	.comm	_MSG,4,2                        ; @MSG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCIE register dump start\n"

	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"failed to read firmware status"

l_.str.2:                               ; @.str.2
	.asciz	"pcie scratch register:"

l_.str.3:                               ; @.str.3
	.asciz	"reg:0x%x, value=0x%x\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s\n"

l_.str.5:                               ; @.str.5
	.asciz	"PCIE register dump end\n"

	.no_dead_strip	_mwifiex_pcie_reg_dump
.subsections_via_symbols
