	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_cfg80211_ready
_ath6kl_cfg80211_ready:                 ## @ath6kl_cfg80211_ready
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	movq	_WMI_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_WLAN_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.3:
	movq	_ATH6KL_DBG_WLAN_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_ath6kl_dbg
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_ath6kl_err
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_READY,4,2                  ## @WMI_READY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wmi is not ready\n"

	.comm	_WLAN_ENABLED,4,2               ## @WLAN_ENABLED
	.comm	_ATH6KL_DBG_WLAN_CFG,4,2        ## @ATH6KL_DBG_WLAN_CFG
L_.str.1:                               ## @.str.1
	.asciz	"wlan disabled\n"

	.no_dead_strip	_ath6kl_cfg80211_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_cfg80211_ready
_ath6kl_cfg80211_ready:                 ; @ath6kl_cfg80211_ready
	.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	x1, [x0, #8]
Lloh0:
	adrp	x8, _WMI_READY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_READY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _WLAN_ENABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.2:
	mov	w0, #1
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ath6kl_err
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _ATH6KL_DBG_WLAN_CFG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH6KL_DBG_WLAN_CFG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ath6kl_dbg
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_READY,4,2                  ; @WMI_READY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wmi is not ready\n"

	.comm	_WLAN_ENABLED,4,2               ; @WLAN_ENABLED
	.comm	_ATH6KL_DBG_WLAN_CFG,4,2        ; @ATH6KL_DBG_WLAN_CFG
l_.str.1:                               ; @.str.1
	.asciz	"wlan disabled\n"

	.no_dead_strip	_ath6kl_cfg80211_ready
.subsections_via_symbols
