	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_reg_notifier
_ath10k_reg_notifier:                   ## @ath10k_reg_notifier
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_wiphy_to_ieee80211_hw
	movq	(%rax), %r15
	leaq	40(%r15), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ath_reg_notifier_apply
	movq	_CONFIG_ATH10K_DFS_CERTIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	$0, 32(%r15)
	je	LBB0_4
## %bb.2:
	movq	_ATH10K_DBG_REGULATORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_ath10k_dbg
	movq	32(%r15), %rdi
	movl	(%r14), %esi
	callq	*(%rdi)
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_ath10k_warn
LBB0_4:
	leaq	24(%r15), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%r15), %rax
	movq	_ATH10K_STATE_ON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_ath10k_regd_update
LBB0_6:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_WHAL_WLAN_11A_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	je	LBB0_7
## %bb.8:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_mac_update_channel_list ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_ATH10K_DFS_CERTIFIED,4,2 ## @CONFIG_ATH10K_DFS_CERTIFIED
	.comm	_ATH10K_DBG_REGULATORY,4,2      ## @ATH10K_DBG_REGULATORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dfs region 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"DFS region 0x%X not supported, will trigger radar for every pulse\n"

	.comm	_ATH10K_STATE_ON,8,3            ## @ATH10K_STATE_ON
	.comm	_WHAL_WLAN_11A_CAPABILITY,4,2   ## @WHAL_WLAN_11A_CAPABILITY
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.no_dead_strip	_ath10k_reg_notifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_reg_notifier
_ath10k_reg_notifier:                   ; @ath10k_reg_notifier
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_wiphy_to_ieee80211_hw
	ldr	x19, [x0]
	add	x2, x19, #40
	mov	x0, x21
	mov	x1, x20
	bl	_ath_reg_notifier_apply
Lloh0:
	adrp	x8, _CONFIG_ATH10K_DFS_CERTIFIED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_ATH10K_DFS_CERTIFIED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _ATH10K_DBG_REGULATORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_DBG_REGULATORY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	ldr	x0, [x19, #32]
	ldr	x8, [x0]
	ldr	w1, [x20]
	blr	x8
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w2, [x20]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
LBB0_4:
	add	x20, x19, #24
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _ATH10K_STATE_ON@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ATH10K_STATE_ON@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_ath10k_regd_update
LBB0_6:
	mov	x0, x20
	bl	_mutex_unlock
	ldr	w8, [x19, #8]
Lloh13:
	adrp	x9, _WHAL_WLAN_11A_CAPABILITY@GOTPAGE
Lloh14:
	ldr	x9, [x9, _WHAL_WLAN_11A_CAPABILITY@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh16:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh18:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ath10k_mac_update_channel_list
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_ATH10K_DFS_CERTIFIED,4,2 ; @CONFIG_ATH10K_DFS_CERTIFIED
	.comm	_ATH10K_DBG_REGULATORY,4,2      ; @ATH10K_DBG_REGULATORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dfs region 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"DFS region 0x%X not supported, will trigger radar for every pulse\n"

	.comm	_ATH10K_STATE_ON,8,3            ; @ATH10K_STATE_ON
	.comm	_WHAL_WLAN_11A_CAPABILITY,4,2   ; @WHAL_WLAN_11A_CAPABILITY
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.no_dead_strip	_ath10k_reg_notifier
.subsections_via_symbols
