	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_cfg80211_init           ## -- Begin function ath6kl_cfg80211_init
	.p2align	4, 0x90
_ath6kl_cfg80211_init:                  ## @ath6kl_cfg80211_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r12
	movq	_ath6kl_mgmt_stypes@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%r12)
	movl	$5000, (%r12)                   ## imm = 0x1388
	movl	40(%rdi), %esi
	movq	%r12, %rdi
	callq	_set_wiphy_dev
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r15d
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%ebx, %eax
	movl	%eax, 4(%r12)
	cmpq	$0, 32(%r14)
	je	LBB0_2
## %bb.1:
	movq	_NL80211_IFTYPE_P2P_GO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_NL80211_IFTYPE_P2P_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%ebx, %eax
	orl	%eax, 4(%r12)
LBB0_2:
	movq	_CONFIG_ATH6KL_REGDOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_ATH6KL_FW_CAPABILITY_REGDOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ath6kl_cfg80211_reg_notify@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%r12)
	movq	_NL80211_FEATURE_CELL_BASE_REG_HINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r14), %rcx
	orl	%eax, 32(%rcx)
LBB0_5:
	movq	_MAX_PROBED_SSIDS@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, 88(%r12)
	movq	_ATH6KL_FW_CAPABILITY_SCHED_SCAN_MATCH_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%r13), %rax
	movq	%rax, 80(%r12)
LBB0_7:
	movl	$1000, 8(%r12)                  ## imm = 0x3E8
	movl	20(%r14), %eax
	xorl	%r15d, %r15d
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_11
## %bb.8:
	movb	$1, %bl
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movb	$1, %r15b
	jmp	LBB0_17
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_ath6kl_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_34
LBB0_10:
	movb	$1, %r15b
	jmp	LBB0_13
LBB0_16:
	xorl	%r15d, %r15d
LBB0_17:
	xorl	%ebx, %ebx
LBB0_18:
	movq	_ath6kl_band_2ghz@GOTPCREL(%rip), %rax
	movq	$0, 16(%rax)
	movl	$0, (%rax)
	movq	_ath6kl_band_5ghz@GOTPCREL(%rip), %rax
	movq	$0, 16(%rax)
	movl	$0, (%rax)
	jmp	LBB0_19
LBB0_12:
	xorl	%r15d, %r15d
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	_ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_19
## %bb.15:
	movq	_ath6kl_band_2ghz@GOTPCREL(%rip), %rax
	movq	$0, 16(%rax)
	movl	$0, (%rax)
	movq	_ath6kl_band_5ghz@GOTPCREL(%rip), %rax
	movq	$0, 16(%rax)
	movl	$0, (%rax)
	leaq	L_.str.1(%rip), %rdi
	callq	_ath6kl_err
LBB0_19:
	movq	_ATH6KL_FW_CAPABILITY_64BIT_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r14), %esi
	callq	_test_bit
	movq	_ath6kl_band_2ghz@GOTPCREL(%rip), %rdx
	movq	8(%rdx), %rsi
	movl	$255, (%rsi)
	movq	_ath6kl_band_5ghz@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rdi
	movl	$255, (%rdi)
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	movl	$255, 4(%rsi)
	movl	$255, 4(%rdi)
	movl	$3, %eax
	jmp	LBB0_22
LBB0_20:
	movl	$1, %eax
LBB0_22:
	movl	%eax, 24(%r14)
	movl	%eax, 28(%r14)
	movl	%eax, 12(%r12)
	movl	%eax, 16(%r12)
	testb	%bl, %bl
	jne	LBB0_24
## %bb.23:
	movq	72(%r12), %rax
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rdx, (%rax,%rsi,8)
LBB0_24:
	testb	%r15b, %r15b
	jne	LBB0_26
## %bb.25:
	movq	72(%r12), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rax,%rdx,8)
LBB0_26:
	movq	_CFG80211_SIGNAL_TYPE_MBM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r12)
	movq	_cipher_suites@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 60(%r12)
	callq	_ARRAY_SIZE
	movl	%eax, 56(%r12)
	movq	(%r13), %rax
	movq	%rax, 40(%r12)
	movq	_WIPHY_FLAG_SUPPORTS_FW_ROAM@GOTPCREL(%rip), %rax
	movq	_WIPHY_FLAG_HAVE_AP_SME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	8(%r14), %rax
	orl	%ecx, 20(%rax)
	movq	_ATH6KL_FW_CAPABILITY_SCHED_SCAN_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	8(%r14), %rax
	movl	$1, 24(%rax)
LBB0_28:
	movq	_ATH6KL_FW_CAPABILITY_INACTIVITY_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_29
## %bb.30:
	movq	_NL80211_FEATURE_INACTIVITY_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%r14), %rax
	orl	%ecx, 32(%rax)
	jmp	LBB0_31
LBB0_29:
	movq	8(%r14), %rax
LBB0_31:
	movq	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS@GOTPCREL(%rip), %rcx
	movq	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, 28(%rax)
	movq	%r12, %rdi
	callq	_wiphy_register
	testl	%eax, %eax
	js	LBB0_32
## %bb.33:
	movl	$1, (%r14)
	xorl	%r15d, %r15d
	jmp	LBB0_34
LBB0_32:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rdi
	callq	_ath6kl_err
LBB0_34:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_18
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_ath6kl_mgmt_stypes,4,2         ## @ath6kl_mgmt_stypes
	.comm	_NL80211_IFTYPE_STATION,4,2     ## @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_ADHOC,4,2       ## @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_AP,4,2          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_P2P_GO,4,2      ## @NL80211_IFTYPE_P2P_GO
	.comm	_NL80211_IFTYPE_P2P_CLIENT,4,2  ## @NL80211_IFTYPE_P2P_CLIENT
	.comm	_CONFIG_ATH6KL_REGDOMAIN,4,2    ## @CONFIG_ATH6KL_REGDOMAIN
	.comm	_ATH6KL_FW_CAPABILITY_REGDOMAIN,4,2 ## @ATH6KL_FW_CAPABILITY_REGDOMAIN
	.comm	_ath6kl_cfg80211_reg_notify,4,2 ## @ath6kl_cfg80211_reg_notify
	.comm	_NL80211_FEATURE_CELL_BASE_REG_HINTS,4,2 ## @NL80211_FEATURE_CELL_BASE_REG_HINTS
	.comm	_MAX_PROBED_SSIDS,8,3           ## @MAX_PROBED_SSIDS
	.comm	_ATH6KL_FW_CAPABILITY_SCHED_SCAN_MATCH_LIST,4,2 ## @ATH6KL_FW_CAPABILITY_SCHED_SCAN_MATCH_LIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid phy capability!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE,4,2 ## @ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE
	.comm	_ath6kl_band_2ghz,24,3          ## @ath6kl_band_2ghz
	.comm	_ath6kl_band_5ghz,24,3          ## @ath6kl_band_5ghz
L_.str.1:                               ## @.str.1
	.asciz	"Firmware lacks RSN-CAP-OVERRIDE, so HT (802.11n) is disabled."

	.comm	_ATH6KL_FW_CAPABILITY_64BIT_RATES,4,2 ## @ATH6KL_FW_CAPABILITY_64BIT_RATES
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_CFG80211_SIGNAL_TYPE_MBM,4,2   ## @CFG80211_SIGNAL_TYPE_MBM
	.comm	_cipher_suites,4,2              ## @cipher_suites
	.comm	_WIPHY_FLAG_SUPPORTS_FW_ROAM,4,2 ## @WIPHY_FLAG_SUPPORTS_FW_ROAM
	.comm	_WIPHY_FLAG_HAVE_AP_SME,4,2     ## @WIPHY_FLAG_HAVE_AP_SME
	.comm	_WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL,4,2 ## @WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL
	.comm	_WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD,4,2 ## @WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD
	.comm	_ATH6KL_FW_CAPABILITY_SCHED_SCAN_V2,4,2 ## @ATH6KL_FW_CAPABILITY_SCHED_SCAN_V2
	.comm	_ATH6KL_FW_CAPABILITY_INACTIVITY_TIMEOUT,4,2 ## @ATH6KL_FW_CAPABILITY_INACTIVITY_TIMEOUT
	.comm	_NL80211_FEATURE_INACTIVITY_TIMER,4,2 ## @NL80211_FEATURE_INACTIVITY_TIMER
	.comm	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS,4,2 ## @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS
	.comm	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2,4,2 ## @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2
	.comm	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P,4,2 ## @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P
L_.str.2:                               ## @.str.2
	.asciz	"couldn't register wiphy device\n"

	.comm	_ath6kl_wowlan_support,4,2      ## @ath6kl_wowlan_support
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_cfg80211_init           ; -- Begin function ath6kl_cfg80211_init
	.p2align	2
_ath6kl_cfg80211_init:                  ; @ath6kl_cfg80211_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ath6kl_mgmt_stypes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ath6kl_mgmt_stypes@GOTPAGEOFF]
	ldr	x20, [x0, #8]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #100]
	mov	w8, #5000
	str	w8, [x20]
	ldr	w1, [x0, #40]
	mov	x0, x20
	bl	_set_wiphy_dev
Lloh3:
	adrp	x8, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BIT
	mov	x21, x0
Lloh6:
	adrp	x8, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BIT
	orr	w21, w0, w21
Lloh9:
	adrp	x8, _NL80211_IFTYPE_AP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_BIT
	orr	w8, w21, w0
	str	w8, [x20, #4]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _NL80211_IFTYPE_P2P_GO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NL80211_IFTYPE_P2P_GO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_BIT
	mov	x21, x0
Lloh15:
	adrp	x8, _NL80211_IFTYPE_P2P_CLIENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NL80211_IFTYPE_P2P_CLIENT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_BIT
	orr	w8, w0, w21
	ldr	w9, [x20, #4]
	orr	w8, w8, w9
	str	w8, [x20, #4]
LBB0_2:
Lloh18:
	adrp	x8, _CONFIG_ATH6KL_REGDOMAIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CONFIG_ATH6KL_REGDOMAIN@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_5
; %bb.3:
Lloh21:
	adrp	x8, _ATH6KL_FW_CAPABILITY_REGDOMAIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ATH6KL_FW_CAPABILITY_REGDOMAIN@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
Lloh24:
	adrp	x8, _ath6kl_cfg80211_reg_notify@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ath6kl_cfg80211_reg_notify@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _NL80211_FEATURE_CELL_BASE_REG_HINTS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _NL80211_FEATURE_CELL_BASE_REG_HINTS@GOTPAGEOFF]
	str	w8, [x20, #96]
Lloh29:
	ldr	w8, [x9]
	ldr	x9, [x19, #8]
	ldr	w10, [x9, #32]
	orr	w8, w10, w8
	str	w8, [x9, #32]
LBB0_5:
Lloh30:
	adrp	x21, _MAX_PROBED_SSIDS@GOTPAGE
Lloh31:
	ldr	x21, [x21, _MAX_PROBED_SSIDS@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x20, #88]
Lloh32:
	adrp	x8, _ATH6KL_FW_CAPABILITY_SCHED_SCAN_MATCH_LIST@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ATH6KL_FW_CAPABILITY_SCHED_SCAN_MATCH_LIST@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x21]
	str	x8, [x20, #80]
LBB0_7:
	mov	w8, #1000
	str	w8, [x20, #8]
	ldr	w8, [x19, #20]
	sub	w9, w8, #128
	cmp	w9, #5
	b.hi	LBB0_10
; %bb.8:
	mov	w25, #0
	mov	w8, #0
Lloh35:
	adrp	x10, lJTI0_0@PAGE
Lloh36:
	add	x10, x10, lJTI0_0@PAGEOFF
	mov	w24, #1
	adr	x11, LBB0_9
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
Lloh37:
	adrp	x23, _ath6kl_band_2ghz@GOTPAGE
Lloh38:
	ldr	x23, [x23, _ath6kl_band_2ghz@GOTPAGEOFF]
Lloh39:
	adrp	x22, _ath6kl_band_5ghz@GOTPAGE
Lloh40:
	ldr	x22, [x22, _ath6kl_band_5ghz@GOTPAGEOFF]
	br	x11
LBB0_9:
	mov	w24, #0
	mov	w8, #1
	b	LBB0_13
LBB0_10:
Lloh41:
	adrp	x0, l_.str@PAGE
Lloh42:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ath6kl_err
Lloh43:
	adrp	x8, _EINVAL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_32
LBB0_11:
	mov	w24, #0
	mov	w25, #1
	b	LBB0_15
LBB0_12:
	mov	w8, #0
	mov	w24, #0
LBB0_13:
	str	xzr, [x23, #16]
	str	wzr, [x23]
	str	xzr, [x22, #16]
	mov	x25, x8
	str	wzr, [x22]
	b	LBB0_17
LBB0_14:
	mov	w25, #0
	mov	w24, #0
LBB0_15:
Lloh46:
	adrp	x8, _ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbnz	x0, LBB0_17
; %bb.16:
	str	xzr, [x23, #16]
	str	wzr, [x23]
	str	xzr, [x22, #16]
	str	wzr, [x22]
Lloh49:
	adrp	x0, l_.str.1@PAGE
Lloh50:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ath6kl_err
LBB0_17:
Lloh51:
	adrp	x8, _ATH6KL_FW_CAPABILITY_64BIT_RATES@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ATH6KL_FW_CAPABILITY_64BIT_RATES@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_bit
	ldr	x8, [x23, #8]
	mov	w9, #255
	str	w9, [x8]
	ldr	x10, [x22, #8]
	str	w9, [x10]
	cbz	x0, LBB0_19
; %bb.18:
	str	w9, [x8, #4]
	str	w9, [x10, #4]
	mov	w8, #3
	b	LBB0_20
LBB0_19:
	mov	w8, #1
LBB0_20:
	stp	w8, w8, [x19, #24]
	stp	w8, w8, [x20, #12]
	tbnz	w24, #0, LBB0_22
; %bb.21:
	ldr	x8, [x20, #72]
Lloh54:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh55:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	str	x23, [x8, x9, lsl #3]
LBB0_22:
	tbnz	w25, #0, LBB0_24
; %bb.23:
	ldr	x8, [x20, #72]
Lloh57:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh58:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	str	x22, [x8, x9, lsl #3]
LBB0_24:
Lloh60:
	adrp	x8, _CFG80211_SIGNAL_TYPE_MBM@GOTPAGE
Lloh61:
	ldr	x8, [x8, _CFG80211_SIGNAL_TYPE_MBM@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
Lloh63:
	adrp	x9, _cipher_suites@GOTPAGE
Lloh64:
	ldr	x9, [x9, _cipher_suites@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x9]
	stp	w0, w8, [x20, #60]
	bl	_ARRAY_SIZE
	str	w0, [x20, #56]
	ldr	x8, [x21]
	str	x8, [x20, #40]
Lloh66:
	adrp	x8, _WIPHY_FLAG_SUPPORTS_FW_ROAM@GOTPAGE
Lloh67:
	ldr	x8, [x8, _WIPHY_FLAG_SUPPORTS_FW_ROAM@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x9, _WIPHY_FLAG_HAVE_AP_SME@GOTPAGE
Lloh70:
	ldr	x9, [x9, _WIPHY_FLAG_HAVE_AP_SME@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh72:
	adrp	x9, _WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL@GOTPAGE
Lloh73:
	ldr	x9, [x9, _WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh75:
	adrp	x9, _WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD@GOTPAGE
Lloh76:
	ldr	x9, [x9, _WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	x9, [x19, #8]
	ldr	w10, [x9, #20]
	orr	w8, w8, w10
	str	w8, [x9, #20]
Lloh78:
	adrp	x8, _ATH6KL_FW_CAPABILITY_SCHED_SCAN_V2@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ATH6KL_FW_CAPABILITY_SCHED_SCAN_V2@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbz	x0, LBB0_26
; %bb.25:
	ldr	x8, [x19, #8]
	mov	w9, #1
	str	w9, [x8, #24]
LBB0_26:
Lloh81:
	adrp	x8, _ATH6KL_FW_CAPABILITY_INACTIVITY_TIMEOUT@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ATH6KL_FW_CAPABILITY_INACTIVITY_TIMEOUT@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbz	x0, LBB0_28
; %bb.27:
Lloh84:
	adrp	x8, _NL80211_FEATURE_INACTIVITY_TIMER@GOTPAGE
Lloh85:
	ldr	x8, [x8, _NL80211_FEATURE_INACTIVITY_TIMER@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x8]
	ldr	x8, [x19, #8]
	ldr	w10, [x8, #32]
	orr	w9, w10, w9
	str	w9, [x8, #32]
	b	LBB0_29
LBB0_28:
	ldr	x8, [x19, #8]
LBB0_29:
Lloh87:
	adrp	x9, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS@GOTPAGE
Lloh88:
	ldr	x9, [x9, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
Lloh90:
	adrp	x10, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2@GOTPAGE
Lloh91:
	ldr	x10, [x10, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2@GOTPAGEOFF]
Lloh92:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh93:
	adrp	x10, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P@GOTPAGE
Lloh94:
	ldr	x10, [x10, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P@GOTPAGEOFF]
Lloh95:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x8, #28]
	mov	x0, x20
	bl	_wiphy_register
	tbnz	w0, #31, LBB0_31
; %bb.30:
	mov	w20, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_32
LBB0_31:
	mov	x20, x0
Lloh96:
	adrp	x0, l_.str.2@PAGE
Lloh97:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ath6kl_err
LBB0_32:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh96, Lloh97
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_11-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
                                        ; -- End function
	.comm	_ath6kl_mgmt_stypes,4,2         ; @ath6kl_mgmt_stypes
	.comm	_NL80211_IFTYPE_STATION,4,2     ; @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_ADHOC,4,2       ; @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_AP,4,2          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_P2P_GO,4,2      ; @NL80211_IFTYPE_P2P_GO
	.comm	_NL80211_IFTYPE_P2P_CLIENT,4,2  ; @NL80211_IFTYPE_P2P_CLIENT
	.comm	_CONFIG_ATH6KL_REGDOMAIN,4,2    ; @CONFIG_ATH6KL_REGDOMAIN
	.comm	_ATH6KL_FW_CAPABILITY_REGDOMAIN,4,2 ; @ATH6KL_FW_CAPABILITY_REGDOMAIN
	.comm	_ath6kl_cfg80211_reg_notify,4,2 ; @ath6kl_cfg80211_reg_notify
	.comm	_NL80211_FEATURE_CELL_BASE_REG_HINTS,4,2 ; @NL80211_FEATURE_CELL_BASE_REG_HINTS
	.comm	_MAX_PROBED_SSIDS,8,3           ; @MAX_PROBED_SSIDS
	.comm	_ATH6KL_FW_CAPABILITY_SCHED_SCAN_MATCH_LIST,4,2 ; @ATH6KL_FW_CAPABILITY_SCHED_SCAN_MATCH_LIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid phy capability!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE,4,2 ; @ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE
	.comm	_ath6kl_band_2ghz,24,3          ; @ath6kl_band_2ghz
	.comm	_ath6kl_band_5ghz,24,3          ; @ath6kl_band_5ghz
l_.str.1:                               ; @.str.1
	.asciz	"Firmware lacks RSN-CAP-OVERRIDE, so HT (802.11n) is disabled."

	.comm	_ATH6KL_FW_CAPABILITY_64BIT_RATES,4,2 ; @ATH6KL_FW_CAPABILITY_64BIT_RATES
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_CFG80211_SIGNAL_TYPE_MBM,4,2   ; @CFG80211_SIGNAL_TYPE_MBM
	.comm	_cipher_suites,4,2              ; @cipher_suites
	.comm	_WIPHY_FLAG_SUPPORTS_FW_ROAM,4,2 ; @WIPHY_FLAG_SUPPORTS_FW_ROAM
	.comm	_WIPHY_FLAG_HAVE_AP_SME,4,2     ; @WIPHY_FLAG_HAVE_AP_SME
	.comm	_WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL,4,2 ; @WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL
	.comm	_WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD,4,2 ; @WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD
	.comm	_ATH6KL_FW_CAPABILITY_SCHED_SCAN_V2,4,2 ; @ATH6KL_FW_CAPABILITY_SCHED_SCAN_V2
	.comm	_ATH6KL_FW_CAPABILITY_INACTIVITY_TIMEOUT,4,2 ; @ATH6KL_FW_CAPABILITY_INACTIVITY_TIMEOUT
	.comm	_NL80211_FEATURE_INACTIVITY_TIMER,4,2 ; @NL80211_FEATURE_INACTIVITY_TIMER
	.comm	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS,4,2 ; @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS
	.comm	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2,4,2 ; @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2
	.comm	_NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P,4,2 ; @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P
l_.str.2:                               ; @.str.2
	.asciz	"couldn't register wiphy device\n"

	.comm	_ath6kl_wowlan_support,4,2      ; @ath6kl_wowlan_support
.subsections_via_symbols
