	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_sens_auto_corr_ofdm
_iwl_sens_auto_corr_ofdm:               ## @iwl_sens_auto_corr_ofdm
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %eax
	movq	%rdi, %rbx
	imull	$204800, %esi, %ecx             ## imm = 0x32000
	movq	_MAX_FA_OFDM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	imull	%eax, %r8d
	movq	16(%rdi), %r14
	cmpl	%r8d, %ecx
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%ecx, %edx
	movl	%r8d, %ecx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_CALIB
	movq	_AUTO_CORR_STEP_OFDM@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	addl	(%rbx), %esi
	movl	56(%r14), %edi
	callq	_min
	movl	%eax, (%rbx)
	movl	(%r15), %esi
	addl	4(%rbx), %esi
	movl	48(%r14), %edi
	callq	_min
	movl	%eax, 4(%rbx)
	movl	(%r15), %esi
	addl	8(%rbx), %esi
	movl	40(%r14), %edi
	callq	_min
	movl	%eax, 8(%rbx)
	movl	(%r15), %esi
	addl	12(%rbx), %esi
	movl	32(%r14), %edi
	callq	_min
	movl	%eax, 12(%rbx)
	jmp	LBB0_5
LBB0_2:
	movq	_MIN_FA_OFDM@GOTPCREL(%rip), %rdx
	imull	(%rdx), %eax
	cmpl	%eax, %ecx
	jge	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%ecx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_CALIB
	movl	(%rbx), %esi
	movq	_AUTO_CORR_STEP_OFDM@GOTPCREL(%rip), %r15
	subl	(%r15), %esi
	movl	24(%r14), %edi
	callq	_max
	movl	%eax, (%rbx)
	movl	4(%rbx), %esi
	subl	(%r15), %esi
	movl	16(%r14), %edi
	callq	_max
	movl	%eax, 4(%rbx)
	movl	8(%rbx), %esi
	subl	(%r15), %esi
	movl	8(%r14), %edi
	callq	_max
	movl	%eax, 8(%rbx)
	movl	12(%rbx), %esi
	subl	(%r15), %esi
	movl	(%r14), %edi
	callq	_max
	movl	%eax, 12(%rbx)
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_CALIB
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_FA_OFDM,4,2                ## @MAX_FA_OFDM
	.comm	_MIN_FA_OFDM,4,2                ## @MIN_FA_OFDM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"norm FA %u > max FA %u)\n"

	.comm	_AUTO_CORR_STEP_OFDM,4,2        ## @AUTO_CORR_STEP_OFDM
L_.str.1:                               ## @.str.1
	.asciz	"norm FA %u < min FA %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"min FA %u < norm FA %u < max FA %u OK\n"

	.no_dead_strip	_iwl_sens_auto_corr_ofdm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_sens_auto_corr_ofdm
_iwl_sens_auto_corr_ofdm:               ; @iwl_sens_auto_corr_ofdm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	mov	w8, #8192
	movk	w8, #3, lsl #16
	mul	w8, w1, w8
Lloh0:
	adrp	x9, _MAX_FA_OFDM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_FA_OFDM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w3, w9, w2
	ldr	x20, [x0, #16]
	cmp	w8, w3
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x8
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_IWL_DEBUG_CALIB
	ldr	w8, [x19]
Lloh5:
	adrp	x21, _AUTO_CORR_STEP_OFDM@GOTPAGE
Lloh6:
	ldr	x21, [x21, _AUTO_CORR_STEP_OFDM@GOTPAGEOFF]
	ldr	w9, [x21]
	add	w1, w9, w8
	ldr	w0, [x20, #56]
	bl	_min
	str	w0, [x19]
	ldr	w8, [x19, #4]
	ldr	w9, [x21]
	add	w1, w9, w8
	ldr	w0, [x20, #48]
	bl	_min
	str	w0, [x19, #4]
	ldr	w8, [x19, #8]
	ldr	w9, [x21]
	add	w1, w9, w8
	ldr	w0, [x20, #40]
	bl	_min
	str	w0, [x19, #8]
	ldr	w8, [x19, #12]
	ldr	w9, [x21]
	add	w1, w9, w8
	ldr	w0, [x20, #32]
	bl	_min
	str	w0, [x19, #12]
	b	LBB0_5
LBB0_2:
Lloh7:
	adrp	x9, _MIN_FA_OFDM@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MIN_FA_OFDM@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	mul	w9, w9, w2
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x8
	mov	x3, x9
	bl	_IWL_DEBUG_CALIB
	ldr	w8, [x19]
Lloh12:
	adrp	x21, _AUTO_CORR_STEP_OFDM@GOTPAGE
Lloh13:
	ldr	x21, [x21, _AUTO_CORR_STEP_OFDM@GOTPAGEOFF]
	ldr	w9, [x21]
	sub	w1, w8, w9
	ldr	w0, [x20, #24]
	bl	_max
	str	w0, [x19]
	ldr	w8, [x19, #4]
	ldr	w9, [x21]
	sub	w1, w8, w9
	ldr	w0, [x20, #16]
	bl	_max
	str	w0, [x19, #4]
	ldr	w8, [x19, #8]
	ldr	w9, [x21]
	sub	w1, w8, w9
	ldr	w0, [x20, #8]
	bl	_max
	str	w0, [x19, #8]
	ldr	w8, [x19, #12]
	ldr	w9, [x21]
	sub	w1, w8, w9
	ldr	w0, [x20]
	bl	_max
	str	w0, [x19, #12]
	b	LBB0_5
LBB0_4:
	str	x3, [sp]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x9
	mov	x3, x8
	bl	_IWL_DEBUG_CALIB
LBB0_5:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_FA_OFDM,4,2                ; @MAX_FA_OFDM
	.comm	_MIN_FA_OFDM,4,2                ; @MIN_FA_OFDM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"norm FA %u > max FA %u)\n"

	.comm	_AUTO_CORR_STEP_OFDM,4,2        ; @AUTO_CORR_STEP_OFDM
l_.str.1:                               ; @.str.1
	.asciz	"norm FA %u < min FA %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"min FA %u < norm FA %u < max FA %u OK\n"

	.no_dead_strip	_iwl_sens_auto_corr_ofdm
.subsections_via_symbols
