	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il4965_rx_calc_noise
_il4965_rx_calc_noise:                  ## @il4965_rx_calc_noise
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movl	8(%rdi), %edi
	callq	_le32_to_cpu
	movl	%eax, %r14d
	movq	_IN_BAND_FILTER@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	andl	(%rax), %r14d
	movq	%rax, %r12
	movl	4(%r13), %edi
	setne	%bl
	callq	_le32_to_cpu
	movl	%eax, %r15d
	andl	(%r12), %r15d
	leal	1(%rbx), %r12d
	movl	(%r13), %edi
	cmovel	%ebx, %r12d
	callq	_le32_to_cpu
	movl	%eax, %ecx
	xorl	%esi, %esi
	movq	_IN_BAND_FILTER@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	setne	%sil
	addl	%r12d, %esi
	je	LBB0_2
## %bb.1:
	leal	(%r15,%r14), %eax
	addl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, %r8d
	addl	$-107, %r8d
	jmp	LBB0_3
LBB0_2:
	movq	_IL_NOISE_MEAS_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D_CALIB                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IN_BAND_FILTER,4,2             ## @IN_BAND_FILTER
	.comm	_IL_NOISE_MEAS_NOT_AVAILABLE,4,2 ## @IL_NOISE_MEAS_NOT_AVAILABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inband silence a %u, b %u, c %u, dBm %d\n"

	.no_dead_strip	_il4965_rx_calc_noise
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il4965_rx_calc_noise
_il4965_rx_calc_noise:                  ; @il4965_rx_calc_noise
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_le32_to_cpu
	mov	x20, x0
Lloh0:
	adrp	x22, _IN_BAND_FILTER@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IN_BAND_FILTER@GOTPAGEOFF]
	ldr	w23, [x22]
	ldr	w0, [x19, #4]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w24, [x22]
	ldr	w0, [x19]
	bl	_le32_to_cpu
	ands	w1, w23, w20
	cset	w8, ne
	mov	w9, #1
	cinc	w9, w9, ne
	ands	w2, w24, w21
	ldr	w10, [x22]
	csel	w8, w8, w9, eq
	ands	w3, w10, w0
	cinc	w8, w8, ne
	cbz	w8, LBB0_2
; %bb.1:
	add	w9, w2, w1
	add	w9, w9, w3
	sdiv	w8, w9, w8
	sub	w4, w8, #107
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _IL_NOISE_MEAS_NOT_AVAILABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IL_NOISE_MEAS_NOT_AVAILABLE@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x8]
LBB0_3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_D_CALIB
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IN_BAND_FILTER,4,2             ; @IN_BAND_FILTER
	.comm	_IL_NOISE_MEAS_NOT_AVAILABLE,4,2 ; @IL_NOISE_MEAS_NOT_AVAILABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inband silence a %u, b %u, c %u, dBm %d\n"

	.no_dead_strip	_il4965_rx_calc_noise
.subsections_via_symbols
