	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_sdio_reg_dump
_mwifiex_sdio_reg_dump:                 ## @mwifiex_sdio_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	$328, %rsp                      ## imm = 0x148
	.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), %rbx
	movl	$0, -320(%rbp)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	%r14, %rdi
	callq	_mwifiex_pm_wakeup_card
	movq	%rbx, -328(%rbp)                ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_sdio_claim_host
	leaq	-304(%rbp), %r13
	movl	$0, -312(%rbp)                  ## 4-byte Folded Spill
	movq	%r15, %rax
	movq	%r15, -344(%rbp)                ## 8-byte Spill
	movq	%r15, %rbx
	xorl	%r15d, %r15d
	movq	%r14, -352(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$5395013, (%r13)                ## imm = 0x525245
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-352(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rbx
	movq	%rbx, %rdx
	leaq	-304(%rbp), %r13
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	-360(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %rbx
	addq	%r15, %rbx
	movl	-332(%rbp), %r15d               ## 4-byte Reload
	incl	%r15d
	cmpl	$5, %r15d
	je	LBB0_24
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	%rbx, -360(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	cmpl	$4, %r15d
	movq	-328(%rbp), %rbx                ## 8-byte Reload
	movl	%r15d, -332(%rbp)               ## 4-byte Spill
	ja	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$9, %r14d
	movl	%r15d, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movl	%r15d, %ecx
	movl	%r15d, %r12d
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax), %r12d
	movl	4(%rax), %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movq	8(%rax), %rcx
	movl	(%rcx), %r12d
	movslq	16(%rax), %rax
	movl	-4(%rcx,%rax,4), %r15d
	movl	$1, -312(%rbp)                  ## 4-byte Folded Spill
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_sprintf
	movb	$1, %cl
	movl	%ecx, -316(%rbp)                ## 4-byte Spill
	movl	$1, -308(%rbp)                  ## 4-byte Folded Spill
	cmpl	%r15d, %r12d
	jg	LBB0_23
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$100, %edi
	callq	_mdelay
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movl	20(%rax), %r12d
	movq	_MWIFIEX_SDIO_SCRATCH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	addl	%r12d, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %ecx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -316(%rbp)                  ## 4-byte Folded Spill
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%ecx, -308(%rbp)                ## 4-byte Spill
	movl	%ecx, %edx
	movl	%r12d, %ecx
	movl	%r14d, %r15d
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	cmpl	%r15d, %r12d
	jg	LBB0_23
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	cltq
	leaq	(%rax,%rbp), %r13
	addq	$-304, %r13                     ## imm = 0xFED0
	movl	-308(%rbp), %ecx                ## 4-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=2
	incl	%r12d
	movq	-328(%rbp), %rbx                ## 8-byte Reload
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	-308(%rbp), %ecx                ## 4-byte Reload
	cltq
	addq	%rax, %r13
	cmpl	%r15d, %r12d
	jg	LBB0_23
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %edi
	movl	%r12d, %esi
	leaq	-320(%rbp), %rdx
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	callq	_sdio_readb
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_13 Depth=2
	callq	_sdio_f0_readb
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	%eax, %r14d
	movl	-316(%rbp), %ebx                ## 4-byte Reload
	testb	%bl, %bl
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %r13
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=2
	cmpl	$0, -320(%rbp)
	jne	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_sprintf
	cmpl	%r15d, %r12d
	setl	%cl
	testb	%cl, %bl
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	-328(%rbp), %rbx                ## 8-byte Reload
	movq	8(%rbx), %rcx
	movq	8(%rcx), %rcx
	movl	-312(%rbp), %esi                ## 4-byte Reload
	movslq	%esi, %rdx
	incl	%esi
	movl	%esi, -312(%rbp)                ## 4-byte Spill
	movl	(%rcx,%rdx,4), %r12d
	jmp	LBB0_22
LBB0_24:
	movq	-328(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sdio_release_host
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	subl	-344(%rbp), %ebx                ## 4-byte Folded Reload
	jmp	LBB0_25
LBB0_1:
	xorl	%ebx, %ebx
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.26:
	movl	%ebx, %eax
	addq	$328, %rsp                      ## imm = 0x148
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_MSG,4,2                        ## @MSG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SDIO register dump start\n"

	.comm	_MWIFIEX_SDIO_SCRATCH_SIZE,4,2  ## @MWIFIEX_SDIO_SCRATCH_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"SDIO Func%d (%#x-%#x): "

L_.str.2:                               ## @.str.2
	.asciz	"SDIO Func%d: "

L_.str.3:                               ## @.str.3
	.asciz	"(%#x) "

L_.str.4:                               ## @.str.4
	.asciz	"%02x "

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

L_.str.7:                               ## @.str.7
	.asciz	"SDIO register dump end\n"

	.no_dead_strip	_mwifiex_sdio_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_sdio_reg_dump
_mwifiex_sdio_reg_dump:                 ; @mwifiex_sdio_reg_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #416
	.cfi_def_cfa_offset 416
	stp	x28, x27, [sp, #320]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #336]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #352]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #368]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #384]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #400]            ; 16-byte Folded Spill
	add	x29, sp, #400
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x19, [x0]
	str	wzr, [sp, #44]
	cbz	x1, LBB0_23
; %bb.1:
	mov	x21, x1
	mov	x23, x0
Lloh3:
	adrp	x8, _MSG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
	mov	x0, x23
	bl	_mwifiex_pm_wakeup_card
	ldr	w0, [x19]
	bl	_sdio_claim_host
	mov	w20, #0
	mov	w22, #0
	add	x26, sp, #48
	stp	x21, x23, [sp, #24]             ; 16-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #21061
	movk	w8, #82, lsl #16
	str	w8, [x28]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh8:
	adrp	x8, _MSG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x24, sp, #48
	str	x24, [sp]
	ldr	x23, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x23
Lloh11:
	adrp	x25, l_.str.6@PAGE
Lloh12:
	add	x25, x25, l_.str.6@PAGEOFF
	mov	x2, x25
	bl	_mwifiex_dbg
	add	x26, sp, #48
	str	x24, [sp]
	mov	x0, x21
	mov	x1, x25
	bl	_sprintf
	add	x21, x21, w0, sxtw
	add	w22, w22, #1
	cmp	w22, #5
	b.eq	LBB0_22
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	cmp	w22, #4
	b.hi	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #9
	mov	w8, w22
Lloh13:
	adrp	x11, lJTI0_0@PAGE
Lloh14:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_6
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	mov	x25, x22
	mov	x27, x22
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldp	w27, w23, [x8]
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	ldr	w27, [x9]
	ldrsw	x8, [x8, #16]
	add	x8, x9, x8, lsl #2
	ldur	w23, [x8, #-4]
	mov	w24, #1
	str	x24, [sp]
	add	x0, sp, #48
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sprintf
	mov	w20, #1
	mov	x25, x24
	cmp	w27, w23
	b.gt	LBB0_3
	b	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #100
	bl	_mdelay
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	w27, [x8, #20]
Lloh17:
	adrp	x8, _MWIFIEX_SDIO_SCRATCH_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MWIFIEX_SDIO_SCRATCH_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	add	w23, w8, w27
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #1
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	x27, x23, [sp, #8]
	add	x0, sp, #48
	str	x25, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	mov	w24, #0
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	cmp	w27, w23
	b.gt	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x28, x26, w0, sxtw
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	add	w27, w27, #1
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x28, x28, w0, sxtw
	cmp	w27, w23
	b.gt	LBB0_3
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x19]
	add	x2, sp, #44
	mov	x1, x27
	cbz	w25, LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	bl	_sdio_readb
	mov	x26, x0
	cbz	w24, LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=2
	str	x27, [sp]
	mov	x0, x28
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sprintf
	add	x28, x28, w0, sxtw
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [sp, #44]
	cbnz	w8, LBB0_2
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=2
	str	x26, [sp]
	mov	x0, x28
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_sprintf
	cmp	w27, w23
	cset	w8, lt
	and	w8, w24, w8
	tbz	w8, #0, LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w27, [x8, w20, sxtw #2]
	add	w20, w20, #1
	b	LBB0_14
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=2
	bl	_sdio_f0_readb
	mov	x26, x0
	cbnz	w24, LBB0_17
	b	LBB0_18
LBB0_22:
	ldr	w0, [x19]
	bl	_sdio_release_host
Lloh26:
	adrp	x8, _MSG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x2, l_.str.7@PAGE
Lloh30:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x23
	bl	_mwifiex_dbg
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	sub	w0, w21, w8
	b	LBB0_24
LBB0_23:
	mov	w0, #0
LBB0_24:
	ldur	x8, [x29, #-96]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	ldp	x29, x30, [sp, #400]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #384]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #368]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #352]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #336]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #320]            ; 16-byte Folded Reload
	add	sp, sp, #416
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
                                        ; -- End function
	.comm	_MSG,4,2                        ; @MSG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SDIO register dump start\n"

	.comm	_MWIFIEX_SDIO_SCRATCH_SIZE,4,2  ; @MWIFIEX_SDIO_SCRATCH_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"SDIO Func%d (%#x-%#x): "

l_.str.2:                               ; @.str.2
	.asciz	"SDIO Func%d: "

l_.str.3:                               ; @.str.3
	.asciz	"(%#x) "

l_.str.4:                               ; @.str.4
	.asciz	"%02x "

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

l_.str.7:                               ; @.str.7
	.asciz	"SDIO register dump end\n"

	.no_dead_strip	_mwifiex_sdio_reg_dump
.subsections_via_symbols
