	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_cfg80211_resume         ## -- Begin function ath6kl_cfg80211_resume
	.p2align	4, 0x90
_ath6kl_cfg80211_resume:                ## @ath6kl_cfg80211_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
	movl	(%rdi), %eax
	xorl	%r14d, %r14d
	cmpl	$130, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.3:
	movq	_ATH6KL_DBG_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_ath6kl_dbg
	movq	%rbx, %rdi
	callq	_ath6kl_wow_resume
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_9
LBB0_7:
	movq	_ATH6KL_DBG_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_ath6kl_dbg
	movq	%rbx, %rdi
	callq	_ath6kl_init_hw_start
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_9
LBB0_5:
	movq	_ATH6KL_DBG_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_ath6kl_dbg
	movq	%rbx, %rdi
	callq	_ath6kl_cfg80211_deepsleep_resume
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdi
LBB0_9:
	movl	%ebx, %esi
	callq	_ath6kl_warn
	movl	%ebx, %r14d
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH6KL_DBG_SUSPEND,4,2         ## @ATH6KL_DBG_SUSPEND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wow mode resume\n"

L_.str.1:                               ## @.str.1
	.asciz	"wow mode resume failed: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"deep sleep resume\n"

L_.str.3:                               ## @.str.3
	.asciz	"deep sleep resume failed: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"resume restoring power\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to boot hw in resume: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_cfg80211_resume         ; -- Begin function ath6kl_cfg80211_resume
	.p2align	2
_ath6kl_cfg80211_resume:                ; @ath6kl_cfg80211_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	x19, x0
	ldr	w8, [x0]
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.3:
Lloh0:
	adrp	x8, _ATH6KL_DBG_SUSPEND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH6KL_DBG_SUSPEND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ath6kl_dbg
	mov	x0, x19
	bl	_ath6kl_wow_resume
	mov	x19, x0
	cbz	w0, LBB0_11
; %bb.4:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_5:
Lloh7:
	adrp	x8, _ATH6KL_DBG_SUSPEND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ATH6KL_DBG_SUSPEND@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_ath6kl_dbg
	mov	x0, x19
	bl	_ath6kl_init_hw_start
	mov	x19, x0
	cbz	w0, LBB0_11
; %bb.6:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh14:
	adrp	x8, _ATH6KL_DBG_SUSPEND@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ATH6KL_DBG_SUSPEND@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_ath6kl_dbg
	mov	x0, x19
	bl	_ath6kl_cfg80211_deepsleep_resume
	mov	x19, x0
	cbz	w0, LBB0_11
; %bb.8:
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_9:
	mov	x1, x19
	bl	_ath6kl_warn
	b	LBB0_11
LBB0_10:
	mov	w19, #0
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH6KL_DBG_SUSPEND,4,2         ; @ATH6KL_DBG_SUSPEND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wow mode resume\n"

l_.str.1:                               ; @.str.1
	.asciz	"wow mode resume failed: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"deep sleep resume\n"

l_.str.3:                               ; @.str.3
	.asciz	"deep sleep resume failed: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"resume restoring power\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to boot hw in resume: %d\n"

.subsections_via_symbols
