	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function process_survey_stats
LCPI0_0:
	.long	0x42c80000                      ## float 100
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0x42c80000                      ## float 100
	.long	0x42c80000                      ## float 100
	.space	4
	.space	4
LCPI0_2:
	.quad	0x4059000000000000              ## double 100
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_process_survey_stats:                  ## @process_survey_stats
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CHANNEL_SURVEY_SAMPLE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	(%rdi), %rcx
	shlq	$3, %rax
	leaq	(%rax,%rax,4), %r8
	movaps	LCPI0_1(%rip), %xmm1            ## xmm1 = <1.0E+2,1.0E+2,u,u>
	xorps	%xmm10, %xmm10
	movss	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	xorl	%edi, %edi
	movapd	LCPI0_2(%rip), %xmm8            ## xmm8 = [1.0E+2,1.0E+2]
	xorl	%r13d, %r13d
	movaps	%xmm3, %xmm0
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movaps	%xmm6, %xmm10
	movaps	%xmm4, %xmm1
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$40, %rdi
	cmpq	%rdi, %r8
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdi), %esi
	testl	%esi, %esi
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorps	%xmm4, %xmm4
	cvtsi2sd	%esi, %xmm4
	xorps	%xmm5, %xmm5
	cvtsi2ssq	32(%rcx,%rdi), %xmm5
	xorps	%xmm7, %xmm7
	cvtsi2ssq	24(%rcx,%rdi), %xmm7
	incl	%r13d
	xorps	%xmm2, %xmm2
	cvtsi2ssq	16(%rcx,%rdi), %xmm2
	movdqu	8(%rcx,%rdi), %xmm9
	xorps	%xmm6, %xmm6
	cvtsi2ssq	8(%rcx,%rdi), %xmm6
	insertps	$16, %xmm2, %xmm6               ## xmm6 = xmm6[0],xmm2[0],xmm6[2,3]
	insertps	$32, %xmm7, %xmm6               ## xmm6 = xmm6[0,1],xmm7[0],xmm6[3]
	insertps	$16, %xmm5, %xmm7               ## xmm7 = xmm7[0],xmm5[0],xmm7[2,3]
	insertps	$48, %xmm5, %xmm6               ## xmm6 = xmm6[0,1,2],xmm5[0]
	cvtps2pd	%xmm6, %xmm2
	cvtps2pd	%xmm7, %xmm5
	movdqu	24(%rcx,%rdi), %xmm6
	mulpd	%xmm8, %xmm5
	mulpd	%xmm8, %xmm2
	movddup	%xmm4, %xmm4                    ## xmm4 = xmm4[0,0]
	divpd	%xmm4, %xmm2
	divpd	%xmm4, %xmm5
	cvtpd2ps	%xmm5, %xmm7
	cvtpd2ps	%xmm2, %xmm5
	movapd	%xmm5, %xmm4
	pextrd	$2, %xmm6, %eax
	unpcklpd	%xmm7, %xmm4                    ## xmm4 = xmm4[0],xmm7[0]
	imull	$10000, %eax, %eax              ## imm = 0x2710
	cltd
	idivl	%esi
	addl	%eax, %ebx
	movd	%xmm6, %eax
	imull	$10000, %eax, %eax              ## imm = 0x2710
	cltd
	idivl	%esi
	addl	%eax, %r12d
	pextrd	$2, %xmm9, %eax
	imull	$10000, %eax, %eax              ## imm = 0x2710
	cltd
	idivl	%esi
	addl	%eax, %r15d
	movd	%xmm9, %eax
	imull	$10000, %eax, %eax              ## imm = 0x2710
	cltd
	idivl	%esi
	addl	%eax, %r14d
	movapd	%xmm4, %xmm6
	maxps	%xmm10, %xmm6
	movshdup	%xmm7, %xmm7                    ## xmm7 = xmm7[1,1,3,3]
	minss	%xmm0, %xmm7
	shufps	$230, %xmm4, %xmm4              ## xmm4 = xmm4[2,1,2,3]
	minps	%xmm1, %xmm4
	movaps	%xmm7, %xmm0
	ucomiss	%xmm5, %xmm3
	jbe	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movaps	%xmm5, %xmm3
	jmp	LBB0_6
LBB0_8:
	movaps	%xmm10, -64(%rbp)               ## 16-byte Spill
	movshdup	%xmm1, %xmm2                    ## xmm2 = xmm1[1,1,3,3]
	leaq	L_.str(%rip), %rdi
	callq	_printf
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.10:
	movl	%ebx, %eax
	cltd
	idivl	%r13d
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	LCPI0_0(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	divss	%xmm4, %xmm0
	movl	%r12d, %eax
	cltd
	idivl	%r13d
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	movl	%r15d, %eax
	cltd
	idivl	%r13d
	xorps	%xmm2, %xmm2
	cvtsi2ss	%eax, %xmm2
	divss	%xmm4, %xmm1
	divss	%xmm4, %xmm2
	movl	%r14d, %eax
	cltd
	idivl	%r13d
	xorps	%xmm3, %xmm3
	cvtsi2ss	%eax, %xmm3
	divss	%xmm4, %xmm3
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	movaps	%xmm0, %xmm2
	movaps	%xmm0, %xmm3
	callq	_printf
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
LBB0_9:
	xorps	%xmm2, %xmm2
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	xorps	%xmm3, %xmm3
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movaps	-64(%rbp), %xmm3                ## 16-byte Reload
	movshdup	%xmm3, %xmm2                    ## xmm2 = xmm3[1,1,3,3]
	movaps	%xmm3, %xmm1
	unpckhpd	%xmm3, %xmm1                    ## xmm1 = xmm1[1],xmm3[1]
	movaps	%xmm3, %xmm0
	shufps	$255, %xmm3, %xmm0              ## xmm0 = xmm0[3,3],xmm3[3,3]
	leaq	L_.str.1(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHANNEL_SURVEY_SAMPLE_COUNT,4,2 ## @CHANNEL_SURVEY_SAMPLE_COUNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%4.1f %4.1f %4.1f %4.1f) "

L_.str.1:                               ## @.str.1
	.asciz	"(%4.1f %4.1f %4.1f %4.1f)\n"

	.no_dead_strip	_process_survey_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_survey_stats
_process_survey_stats:                  ; @process_survey_stats
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
Lloh0:
	adrp	x8, _CHANNEL_SURVEY_SAMPLE_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_SURVEY_SAMPLE_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	b.le	LBB0_8
; %bb.1:
	mov	w19, #0
	mov	w20, #0
	mov	w21, #0
	mov	w22, #0
	mov	w23, #0
	ldr	x9, [x0]
	add	x9, x9, #16
	movi	d8, #0000000000000000
	mov	w10, #1120403456
	fmov	s3, w10
	mov	x10, #4636737291354636288
	mov	w11, #10000
	fmov	s2, s3
	fmov	s1, s3
	fmov	s0, s3
	movi	d9, #0000000000000000
	movi	d10, #0000000000000000
	movi	d11, #0000000000000000
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #40
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w12, [x9, #-16]
	cbz	w12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w19, w19, #1
	ldp	x14, x13, [x9, #8]
	scvtf	s4, x13
	fcvt	d4, s4
	fmov	d5, x10
	fmul	d4, d4, d5
	scvtf	d6, w12
	fdiv	d4, d4, d6
	fcvt	s7, d4
	ldp	x16, x15, [x9, #-8]
	scvtf	s4, x14
	fcvt	d4, s4
	fmul	d4, d4, d5
	fdiv	d4, d4, d6
	fcvt	s16, d4
	scvtf	s4, x15
	fcvt	d4, s4
	fmul	d4, d4, d5
	fdiv	d4, d4, d6
	fcvt	s17, d4
	scvtf	s4, x16
	fcvt	d4, s4
	fmul	d4, d4, d5
	fdiv	d4, d4, d6
	fcvt	s4, d4
	mul	w13, w13, w11
	sdiv	w13, w13, w12
	add	w23, w13, w23
	mul	w13, w14, w11
	sdiv	w13, w13, w12
	add	w22, w13, w22
	mul	w13, w15, w11
	sdiv	w13, w13, w12
	add	w21, w13, w21
	mul	w13, w16, w11
	sdiv	w12, w13, w12
	add	w20, w12, w20
	fcmp	s11, s7
	fcsel	s11, s7, s11, mi
	fcmp	s10, s16
	fcsel	s10, s16, s10, mi
	fcmp	s9, s17
	fcsel	s9, s17, s9, mi
	fcmp	s8, s4
	fcsel	s8, s4, s8, mi
	fcmp	s0, s7
	fcsel	s0, s7, s0, gt
	fcmp	s1, s16
	fcsel	s1, s16, s1, gt
	fcmp	s2, s17
	fcsel	s2, s17, s2, gt
	fcmp	s3, s4
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	fmov	s3, s4
	b	LBB0_2
LBB0_6:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	cbz	w19, LBB0_9
; %bb.7:
	sdiv	w8, w23, w19
	scvtf	s0, w8
	mov	w8, #1120403456
	fmov	s3, w8
	fdiv	s0, s0, s3
	sdiv	w8, w22, w19
	scvtf	s1, w8
	sdiv	w8, w21, w19
	scvtf	s2, w8
	fdiv	s1, s1, s3
	fdiv	s2, s2, s3
	sdiv	w8, w20, w19
	scvtf	s4, w8
	fdiv	s3, s4, s3
	b	LBB0_10
LBB0_8:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	w8, #1120403456
	fmov	s0, w8
	fmov	s1, s0
	fmov	s2, s0
	fmov	s3, s0
	bl	_printf
	movi	d8, #0000000000000000
	movi	d9, #0000000000000000
	movi	d10, #0000000000000000
	movi	d11, #0000000000000000
LBB0_9:
	movi	d2, #0000000000000000
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	movi	d3, #0000000000000000
LBB0_10:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	fmov	s0, s11
	fmov	s1, s10
	fmov	s2, s9
	fmov	s3, s8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #96             ; 16-byte Folded Reload
	b	_printf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CHANNEL_SURVEY_SAMPLE_COUNT,4,2 ; @CHANNEL_SURVEY_SAMPLE_COUNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%4.1f %4.1f %4.1f %4.1f) "

l_.str.1:                               ; @.str.1
	.asciz	"(%4.1f %4.1f %4.1f %4.1f)\n"

	.no_dead_strip	_process_survey_stats
.subsections_via_symbols
