	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath_reg_apply_ir_flags
_ath_reg_apply_ir_flags:                ## @ath_reg_apply_ir_flags
	.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), %rax
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$128, %edx
	je	LBB0_4
## %bb.2:
	cmpl	$129, %edx
	je	LBB0_3
## %bb.6:
	movq	%rbx, %rdi
	movl	$2467, %esi                     ## imm = 0x9A3
	callq	_ath_force_no_ir_freq
	movq	%rbx, %rdi
	movl	$2472, %esi                     ## imm = 0x9A8
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ath_force_no_ir_freq           ## TAILCALL
LBB0_4:
	movq	%rsi, %rdi
	callq	_ath_reg_dyn_country_user_allow
	testl	%eax, %eax
	je	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	movl	$2467, %esi                     ## imm = 0x9A3
	callq	_ath_force_clear_no_ir_freq
	movq	%rbx, %rdi
	movl	$2472, %esi                     ## imm = 0x9A8
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ath_force_clear_no_ir_freq     ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.no_dead_strip	_ath_reg_apply_ir_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath_reg_apply_ir_flags
_ath_reg_apply_ir_flags:                ; @ath_reg_apply_ir_flags
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	cmp	w2, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w2, #129
	b.eq	LBB0_5
; %bb.3:
	mov	x0, x19
	mov	w1, #2467
	bl	_ath_force_no_ir_freq
	mov	x0, x19
	mov	w1, #2472
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath_force_no_ir_freq
LBB0_4:
	mov	x0, x1
	bl	_ath_reg_dyn_country_user_allow
	cbz	w0, LBB0_6
LBB0_5:
	mov	x0, x19
	mov	w1, #2467
	bl	_ath_force_clear_no_ir_freq
	mov	x0, x19
	mov	w1, #2472
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath_force_clear_no_ir_freq
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
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.no_dead_strip	_ath_reg_apply_ir_flags
.subsections_via_symbols
