	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_sdio_resume
_mwifiex_sdio_resume:                   ## @mwifiex_sdio_resume
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_dev_to_sdio_func
	movq	%rax, %rdi
	callq	_sdio_get_drvdata
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	movq	_MWIFIEX_IS_SUSPENDED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_clear_bit
	movq	_MWIFIEX_BSS_ROLE_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mwifiex_get_priv
	movq	_MWIFIEX_SYNC_CMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_mwifiex_cancel_hs
	movq	%r14, %rdi
	callq	_mwifiex_disable_wake
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	jmp	LBB0_6
LBB0_4:
	movq	_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_mwifiex_dbg
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resume: invalid card or adapter\n"

	.comm	_MWIFIEX_IS_SUSPENDED,4,2       ## @MWIFIEX_IS_SUSPENDED
	.comm	_WARN,4,2                       ## @WARN
L_.str.1:                               ## @.str.1
	.asciz	"device already resumed\n"

	.comm	_MWIFIEX_BSS_ROLE_STA,4,2       ## @MWIFIEX_BSS_ROLE_STA
	.comm	_MWIFIEX_SYNC_CMD,4,2           ## @MWIFIEX_SYNC_CMD
	.no_dead_strip	_mwifiex_sdio_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_sdio_resume
_mwifiex_sdio_resume:                   ; @mwifiex_sdio_resume
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_dev_to_sdio_func
	bl	_sdio_get_drvdata
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x19, [x0]
	cbz	x19, LBB0_4
; %bb.2:
Lloh0:
	adrp	x20, _MWIFIEX_IS_SUSPENDED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MWIFIEX_IS_SUSPENDED@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w0, [x20]
	mov	x1, x19
	bl	_clear_bit
Lloh2:
	adrp	x8, _MWIFIEX_BSS_ROLE_STA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MWIFIEX_BSS_ROLE_STA@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mwifiex_get_priv
Lloh5:
	adrp	x8, _MWIFIEX_SYNC_CMD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MWIFIEX_SYNC_CMD@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_mwifiex_cancel_hs
	mov	x0, x19
	bl	_mwifiex_disable_wake
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _WARN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WARN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resume: invalid card or adapter\n"

	.comm	_MWIFIEX_IS_SUSPENDED,4,2       ; @MWIFIEX_IS_SUSPENDED
	.comm	_WARN,4,2                       ; @WARN
l_.str.1:                               ; @.str.1
	.asciz	"device already resumed\n"

	.comm	_MWIFIEX_BSS_ROLE_STA,4,2       ; @MWIFIEX_BSS_ROLE_STA
	.comm	_MWIFIEX_SYNC_CMD,4,2           ; @MWIFIEX_SYNC_CMD
	.no_dead_strip	_mwifiex_sdio_resume
.subsections_via_symbols
