	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_calculate_link_quality
_b43_calculate_link_quality:            ## @b43_calculate_link_quality
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movq	_B43_PHYTYPE_G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	cmpl	$0, (%rdi)
	je	LBB0_3
LBB0_2:
	popq	%rbp
	retq
LBB0_3:
	movl	$1, (%rdi)
	movq	$0, 8(%rdi)
	popq	%rbp
	jmp	_b43_generate_noise_sample      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHYTYPE_G,8,3              ## @B43_PHYTYPE_G
	.no_dead_strip	_b43_calculate_link_quality
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_calculate_link_quality
_b43_calculate_link_quality:            ; @b43_calculate_link_quality
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _B43_PHYTYPE_G@GOTPAGE
Lloh1:
	ldr	x9, [x9, _B43_PHYTYPE_G@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x0]
	cbz	w8, LBB0_3
LBB0_2:
	ret
LBB0_3:
	mov	w8, #1
	str	w8, [x0]
	str	xzr, [x0, #8]
	b	_b43_generate_noise_sample
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHYTYPE_G,8,3              ; @B43_PHYTYPE_G
	.no_dead_strip	_b43_calculate_link_quality
.subsections_via_symbols
