	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_cmn_reload_chainmask     ## -- Begin function ath9k_cmn_reload_chainmask
	.p2align	4, 0x90
_ath9k_cmn_reload_chainmask:            ## @ath9k_cmn_reload_chainmask
	.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	_ath9k_hw_common
	movq	%rax, %r14
	movl	(%rbx), %eax
	movq	_ATH9K_HW_CAP_HT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	_ATH9K_HW_CAP_2GHZ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_ath9k_cmn_setup_ht_cap
	movl	(%rbx), %eax
LBB0_3:
	movq	_ATH9K_HW_CAP_5GHZ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.5:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%r14), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ath9k_cmn_setup_ht_cap         ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH9K_HW_CAP_HT,4,2            ## @ATH9K_HW_CAP_HT
	.comm	_ATH9K_HW_CAP_2GHZ,4,2          ## @ATH9K_HW_CAP_2GHZ
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_ATH9K_HW_CAP_5GHZ,4,2          ## @ATH9K_HW_CAP_5GHZ
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_cmn_reload_chainmask     ; -- Begin function ath9k_cmn_reload_chainmask
	.p2align	2
_ath9k_cmn_reload_chainmask:            ; @ath9k_cmn_reload_chainmask
	.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
	bl	_ath9k_hw_common
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _ATH9K_HW_CAP_HT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATH9K_HW_CAP_HT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x9, _ATH9K_HW_CAP_2GHZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATH9K_HW_CAP_2GHZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	bl	_ath9k_cmn_setup_ht_cap
	ldr	w8, [x19]
LBB0_3:
Lloh9:
	adrp	x9, _ATH9K_HW_CAP_5GHZ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATH9K_HW_CAP_5GHZ@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath9k_cmn_setup_ht_cap
LBB0_5:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH9K_HW_CAP_HT,4,2            ; @ATH9K_HW_CAP_HT
	.comm	_ATH9K_HW_CAP_2GHZ,4,2          ; @ATH9K_HW_CAP_2GHZ
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_ATH9K_HW_CAP_5GHZ,4,2          ; @ATH9K_HW_CAP_5GHZ
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
.subsections_via_symbols
