	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_radio_interference_mitigation_disable
_b43_radio_interference_mitigation_disable: ## @b43_radio_interference_mitigation_disable
	.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
	cmpl	$129, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$128, %esi
	jne	LBB0_14
## %bb.2:
	cmpl	$1, 8(%rbx)
	jne	LBB0_16
## %bb.3:
	movl	$120, %edi
	callq	_radio_stackrestore
	movq	%rbx, %rdi
	callq	_b43_calc_nrssi_threshold
	movl	$1030, %edi                     ## imm = 0x406
	callq	_phy_stackrestore
	movq	%rbx, %rdi
	movl	$1067, %esi                     ## imm = 0x42B
	movl	$-2049, %edx                    ## imm = 0xF7FF
	callq	_b43_phy_mask
	cmpl	$0, (%rbx)
	jne	LBB0_5
## %bb.4:
	movq	_B43_PHY_RADIO_BITFIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-2049, %edx                    ## imm = 0xF7FF
	callq	_b43_phy_mask
LBB0_5:
	movq	_B43_PHY_G_CRS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$16384, %edx                    ## imm = 0x4000
	callq	_b43_phy_set
	movl	$1184, %edi                     ## imm = 0x4A0
	callq	_phy_stackrestore
	movl	$1185, %edi                     ## imm = 0x4A1
	callq	_phy_stackrestore
	movl	$1186, %edi                     ## imm = 0x4A2
	callq	_phy_stackrestore
	movl	$1192, %edi                     ## imm = 0x4A8
	callq	_phy_stackrestore
	movl	$1195, %edi                     ## imm = 0x4AB
	callq	_phy_stackrestore
	movl	$1191, %edi                     ## imm = 0x4A7
	callq	_phy_stackrestore
	movl	$1187, %edi                     ## imm = 0x4A3
	callq	_phy_stackrestore
	movl	$1193, %edi                     ## imm = 0x4A9
	callq	_phy_stackrestore
	movl	$1171, %edi                     ## imm = 0x493
	callq	_phy_stackrestore
	movl	$1194, %edi                     ## imm = 0x4AA
	callq	_phy_stackrestore
	movl	$1196, %edi                     ## imm = 0x4AC
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_phy_stackrestore               ## TAILCALL
LBB0_6:
	movq	16(%rbx), %r14
	movq	%rbx, %rdi
	movl	$51, %esi
	callq	_b43_phy_read
	testl	$2048, %eax                     ## imm = 0x800
	jne	LBB0_7
## %bb.15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_14:
	movl	$1, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_B43_WARN_ON                    ## TAILCALL
LBB0_16:
	movq	%rbx, %rdi
	movl	$1067, %esi                     ## imm = 0x42B
	movl	$-2049, %edx                    ## imm = 0xF7FF
	callq	_b43_phy_mask
	movq	_B43_PHY_G_CRS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$16384, %edx                    ## imm = 0x4000
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_phy_set                    ## TAILCALL
LBB0_7:
	movl	$0, (%r14)
	movq	_B43_PHY_RADIO_BITFIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_phy_stackrestore
	movq	_B43_PHY_G_CRS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_phy_stackrestore
	movl	$51, %edi
	callq	_phy_stackrestore
	movl	$1187, %edi                     ## imm = 0x4A3
	callq	_phy_stackrestore
	movl	$1193, %edi                     ## imm = 0x4A9
	callq	_phy_stackrestore
	movl	$1171, %edi                     ## imm = 0x493
	callq	_phy_stackrestore
	movl	$1194, %edi                     ## imm = 0x4AA
	callq	_phy_stackrestore
	movl	$1196, %edi                     ## imm = 0x4AC
	callq	_phy_stackrestore
	movl	$1184, %edi                     ## imm = 0x4A0
	callq	_phy_stackrestore
	movl	$1191, %edi                     ## imm = 0x4A7
	callq	_phy_stackrestore
	movl	$1030, %edi                     ## imm = 0x406
	cmpl	$2, 8(%rbx)
	jl	LBB0_9
## %bb.8:
	movl	$1216, %edi                     ## imm = 0x4C0
	callq	_phy_stackrestore
	movl	$1217, %edi                     ## imm = 0x4C1
LBB0_9:
	callq	_phy_stackrestore
	movl	$1185, %edi                     ## imm = 0x4A1
	callq	_phy_stackrestore
	movl	$1195, %edi                     ## imm = 0x4AB
	callq	_phy_stackrestore
	movl	$1192, %edi                     ## imm = 0x4A8
	callq	_phy_stackrestore
	movl	8(%rbx), %eax
	cmpl	$2, %eax
	jne	LBB0_11
## %bb.10:
	movl	$1197, %edi                     ## imm = 0x4AD
	callq	_phy_stackrestore
	movl	$1198, %edi                     ## imm = 0x4AE
	callq	_phy_stackrestore
	jmp	LBB0_13
LBB0_11:
	jle	LBB0_13
## %bb.12:
	movl	$1197, %edi                     ## imm = 0x4AD
	callq	_phy_stackrestore
	movl	$1045, %edi                     ## imm = 0x415
	callq	_phy_stackrestore
	movl	$1046, %edi                     ## imm = 0x416
	callq	_phy_stackrestore
	movl	$1047, %edi                     ## imm = 0x417
	callq	_phy_stackrestore
	movl	$6656, %edi                     ## imm = 0x1A00
	movl	$2, %esi
	callq	_ofdmtab_stackrestore
	movl	$6656, %edi                     ## imm = 0x1A00
	movl	$3, %esi
	callq	_ofdmtab_stackrestore
LBB0_13:
	movl	$1186, %edi                     ## imm = 0x4A2
	callq	_phy_stackrestore
	movl	$1162, %edi                     ## imm = 0x48A
	callq	_phy_stackrestore
	movl	$1067, %edi                     ## imm = 0x42B
	callq	_phy_stackrestore
	movl	$1164, %edi                     ## imm = 0x48C
	callq	_phy_stackrestore
	movq	%rbx, %rdi
	callq	_b43_hf_read
	movq	_B43_HF_ACIW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	%rbx, %rdi
	callq	_b43_hf_write
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_calc_nrssi_slope           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHY_G_CRS,4,2              ## @B43_PHY_G_CRS
	.comm	_B43_PHY_RADIO_BITFIELD,4,2     ## @B43_PHY_RADIO_BITFIELD
	.comm	_B43_HF_ACIW,4,2                ## @B43_HF_ACIW
	.no_dead_strip	_b43_radio_interference_mitigation_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_radio_interference_mitigation_disable
_b43_radio_interference_mitigation_disable: ; @b43_radio_interference_mitigation_disable
	.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
	cmp	w1, #129
	b.eq	LBB0_6
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_8
; %bb.2:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.3:
	mov	w0, #120
	bl	_radio_stackrestore
	mov	x0, x19
	bl	_b43_calc_nrssi_threshold
	mov	w0, #1030
	bl	_phy_stackrestore
	mov	x0, x19
	mov	w1, #1067
	mov	w2, #-2049
	bl	_b43_phy_mask
	ldr	w8, [x19]
	cbnz	w8, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _B43_PHY_RADIO_BITFIELD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_PHY_RADIO_BITFIELD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-2049
	bl	_b43_phy_mask
LBB0_5:
Lloh3:
	adrp	x8, _B43_PHY_G_CRS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_PHY_G_CRS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16384
	bl	_b43_phy_set
	mov	w0, #1184
	bl	_phy_stackrestore
	mov	w0, #1185
	bl	_phy_stackrestore
	mov	w0, #1186
	bl	_phy_stackrestore
	mov	w0, #1192
	bl	_phy_stackrestore
	mov	w0, #1195
	bl	_phy_stackrestore
	mov	w0, #1191
	bl	_phy_stackrestore
	mov	w0, #1187
	bl	_phy_stackrestore
	mov	w0, #1193
	bl	_phy_stackrestore
	mov	w0, #1171
	bl	_phy_stackrestore
	mov	w0, #1194
	bl	_phy_stackrestore
	mov	w0, #1196
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phy_stackrestore
LBB0_6:
	ldr	x20, [x19, #16]
	mov	x0, x19
	mov	w1, #51
	bl	_b43_phy_read
	tbnz	w0, #11, LBB0_10
; %bb.7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_B43_WARN_ON
LBB0_9:
	mov	x0, x19
	mov	w1, #1067
	mov	w2, #-2049
	bl	_b43_phy_mask
Lloh6:
	adrp	x8, _B43_PHY_G_CRS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43_PHY_G_CRS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16384
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_set
LBB0_10:
	str	wzr, [x20]
Lloh9:
	adrp	x8, _B43_PHY_RADIO_BITFIELD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B43_PHY_RADIO_BITFIELD@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_phy_stackrestore
Lloh12:
	adrp	x8, _B43_PHY_G_CRS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43_PHY_G_CRS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_phy_stackrestore
	mov	w0, #51
	bl	_phy_stackrestore
	mov	w0, #1187
	bl	_phy_stackrestore
	mov	w0, #1193
	bl	_phy_stackrestore
	mov	w0, #1171
	bl	_phy_stackrestore
	mov	w0, #1194
	bl	_phy_stackrestore
	mov	w0, #1196
	bl	_phy_stackrestore
	mov	w0, #1184
	bl	_phy_stackrestore
	mov	w0, #1191
	bl	_phy_stackrestore
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_12
; %bb.11:
	mov	w0, #1216
	bl	_phy_stackrestore
	mov	w0, #1217
	b	LBB0_13
LBB0_12:
	mov	w0, #1030
LBB0_13:
	bl	_phy_stackrestore
	mov	w0, #1185
	bl	_phy_stackrestore
	mov	w0, #1195
	bl	_phy_stackrestore
	mov	w0, #1192
	bl	_phy_stackrestore
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.ne	LBB0_15
; %bb.14:
	mov	w0, #1197
	bl	_phy_stackrestore
	mov	w0, #1198
	bl	_phy_stackrestore
	b	LBB0_17
LBB0_15:
	cmp	w8, #3
	b.lt	LBB0_17
; %bb.16:
	mov	w0, #1197
	bl	_phy_stackrestore
	mov	w0, #1045
	bl	_phy_stackrestore
	mov	w0, #1046
	bl	_phy_stackrestore
	mov	w0, #1047
	bl	_phy_stackrestore
	mov	w0, #6656
	mov	w1, #2
	bl	_ofdmtab_stackrestore
	mov	w0, #6656
	mov	w1, #3
	bl	_ofdmtab_stackrestore
LBB0_17:
	mov	w0, #1186
	bl	_phy_stackrestore
	mov	w0, #1162
	bl	_phy_stackrestore
	mov	w0, #1067
	bl	_phy_stackrestore
	mov	w0, #1164
	bl	_phy_stackrestore
	mov	x0, x19
	bl	_b43_hf_read
Lloh15:
	adrp	x8, _B43_HF_ACIW@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B43_HF_ACIW@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	bic	w1, w0, w8
	mov	x0, x19
	bl	_b43_hf_write
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_calc_nrssi_slope
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHY_G_CRS,4,2              ; @B43_PHY_G_CRS
	.comm	_B43_PHY_RADIO_BITFIELD,4,2     ; @B43_PHY_RADIO_BITFIELD
	.comm	_B43_HF_ACIW,4,2                ; @B43_HF_ACIW
	.no_dead_strip	_b43_radio_interference_mitigation_disable
.subsections_via_symbols
