	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath_force_clear_no_ir_chan
_ath_force_clear_no_ir_chan:            ## @ath_force_clear_no_ir_chan
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rsi), %edi
	callq	_MHZ_TO_KHZ
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_freq_reg_info
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_NL80211_RRF_NO_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_4
## %bb.2:
	movl	(%r14), %eax
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r14)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_RRF_NO_IR,4,2          ## @NL80211_RRF_NO_IR
	.comm	_IEEE80211_CHAN_NO_IR,4,2       ## @IEEE80211_CHAN_NO_IR
	.no_dead_strip	_ath_force_clear_no_ir_chan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath_force_clear_no_ir_chan
_ath_force_clear_no_ir_chan:            ; @ath_force_clear_no_ir_chan
	.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, x1
	mov	x20, x0
	ldr	w0, [x1, #4]
	bl	_MHZ_TO_KHZ
	mov	x1, x0
	mov	x0, x20
	bl	_freq_reg_info
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _NL80211_RRF_NO_IR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_RRF_NO_IR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	bic	w8, w8, w9
	str	w8, [x19]
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_RRF_NO_IR,4,2          ; @NL80211_RRF_NO_IR
	.comm	_IEEE80211_CHAN_NO_IR,4,2       ; @IEEE80211_CHAN_NO_IR
	.no_dead_strip	_ath_force_clear_no_ir_chan
.subsections_via_symbols
