	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_reg_notifier
_ath9k_reg_notifier:                    ## @ath9k_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_wiphy_to_ieee80211_hw
	movq	(%rax), %r12
	movq	16(%r12), %r14
	movq	%r14, %rdi
	callq	_ath9k_hw_regulatory
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_ath_reg_notifier_apply
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	(%r15), %esi
	callq	*(%rdi)
LBB0_2:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rax), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx)
	movq	%r12, %rdi
	callq	_ath9k_ps_wakeup
	movq	(%r12), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_ath9k_hw_set_txpowerlimit
	movq	(%r12), %rax
	leaq	4(%rax), %rcx
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_ath9k_cmn_update_txpow
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath9k_ps_restore               ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ath9k_reg_notifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_reg_notifier
_ath9k_reg_notifier:                    ; @ath9k_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	x21, x1
	mov	x22, x0
	bl	_wiphy_to_ieee80211_hw
	ldr	x19, [x0]
	ldr	x20, [x19, #16]
	mov	x0, x20
	bl	_ath9k_hw_regulatory
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_ath_reg_notifier_apply
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	w1, [x21]
	blr	x8
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x8]
	ldr	w8, [x8]
	lsl	w8, w8, #1
	ldr	x9, [x19]
	str	w8, [x9]
	mov	x0, x19
	bl	_ath9k_ps_wakeup
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_ath9k_hw_set_txpowerlimit
	ldr	x3, [x19]
	ldr	w2, [x3]
	ldr	w1, [x3, #4]!
	mov	x0, x20
	bl	_ath9k_cmn_update_txpow
	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	_ath9k_ps_restore
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ath9k_reg_notifier
.subsections_via_symbols
