	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_gphy_op_interf_mitigation
_b43_gphy_op_interf_mitigation:         ## @b43_gphy_op_interf_mitigation
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	24(%rdi), %r12
	movq	_B43_PHYTYPE_G@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_B43_WARN_ON
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	cmpl	$0, 16(%rbx)
	je	LBB0_2
## %bb.4:
	movl	$0, (%r12)
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	jb	LBB0_7
## %bb.5:
	cmpl	$131, %r14d
	jne	LBB0_15
## %bb.6:
	movl	$1, (%r12)
	cmpl	$1, 4(%r12)
	movl	$130, %r14d
	sbbl	$0, %r14d
LBB0_7:
	movl	8(%r12), %esi
	xorl	%r15d, %r15d
	cmpl	%r14d, %esi
	je	LBB0_14
## %bb.8:
	cmpl	$129, %esi
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_b43_radio_interference_mitigation_disable
LBB0_10:
	cmpl	$129, %r14d
	jne	LBB0_12
## %bb.11:
	movl	$0, 4(%r12)
	movl	$0, 12(%r12)
	jmp	LBB0_13
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_14:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_12:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_b43_radio_interference_mitigation_enable
LBB0_13:
	movl	%r14d, 8(%r12)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHYTYPE_G,8,3              ## @B43_PHYTYPE_G
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_b43_gphy_op_interf_mitigation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_gphy_op_interf_mitigation
_b43_gphy_op_interf_mitigation:         ; @b43_gphy_op_interf_mitigation
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #24]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _B43_PHYTYPE_G@GOTPAGE
Lloh1:
	ldr	x9, [x9, _B43_PHYTYPE_G@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_B43_WARN_ON
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_7
; %bb.2:
	str	wzr, [x21]
	sub	w8, w19, #128
	cmp	w8, #3
	b.lo	LBB0_5
; %bb.3:
	cmp	w19, #131
	b.ne	LBB0_14
; %bb.4:
	mov	w8, #1
	str	w8, [x21]
	ldr	w8, [x21, #4]
	cmp	w8, #0
	mov	w8, #129
	cinc	w19, w8, ne
LBB0_5:
	ldr	w1, [x21, #8]
	cmp	w1, w19
	b.ne	LBB0_10
; %bb.6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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
LBB0_10:
	cmp	w1, #129
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_b43_radio_interference_mitigation_disable
LBB0_12:
	cmp	w19, #129
	b.ne	LBB0_15
; %bb.13:
	str	wzr, [x21, #4]
	str	wzr, [x21, #12]
	b	LBB0_16
LBB0_14:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_15:
	mov	x0, x20
	mov	x1, x19
	bl	_b43_radio_interference_mitigation_enable
LBB0_16:
	mov	w0, #0
	str	w19, [x21, #8]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHYTYPE_G,8,3              ; @B43_PHYTYPE_G
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_b43_gphy_op_interf_mitigation
.subsections_via_symbols
