	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function acs_find_ideal_chan
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0xc0a00000                      ## float -5
LCPI0_2:
	.long	0xc1200000                      ## float -10
LCPI0_3:
	.long	0x40a00000                      ## float 5
LCPI0_4:
	.long	0x41200000                      ## float 10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_acs_find_ideal_chan:                   ## @acs_find_ideal_chan
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	cmpq	$0, 32(%rdi)
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %eax
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	cmpl	$1, %eax
	movl	$2, %ebx
	sbbl	$0, %ebx
	cmpq	$0, 24(%rdi)
	jne	LBB0_7
	jmp	LBB0_6
LBB0_1:
	movl	$1, %ebx
	cmpq	$0, 24(%rdi)
	jne	LBB0_7
LBB0_6:
	cmpq	$0, 16(%rdi)
	je	LBB0_11
LBB0_7:
	callq	_hostapd_get_oper_chwidth
	cmpl	$129, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.9:
	movl	$4, %ebx
	jmp	LBB0_11
LBB0_3:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_79
LBB0_10:
	movl	$8, %ebx
LBB0_11:
	movl	%ebx, %edi
	callq	_num_chan_to_bw
	movl	%ebx, %r14d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	fld	%st(0)
	fstpt	-132(%rbp)                      ## 10-byte Folded Spill
	fstpt	(%rsp)
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.13:
	fldz
	xorl	%ebx, %ebx
	fld	%st(0)
	fstpt	-260(%rbp)                      ## 10-byte Folded Spill
	fstpt	-152(%rbp)                      ## 10-byte Folded Spill
	xorl	%ecx, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_14
LBB0_44:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	fldt	(%rax)
	fstpt	(%rsp)
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_76:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	movq	(%r15), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_77
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_39 Depth 2
                                        ##     Child Loop BB0_50 Depth 2
                                        ##     Child Loop BB0_67 Depth 2
	movq	16(%rax), %rax
	leaq	(%rbx,%rbx,2), %r13
	shlq	$4, %r13
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r13), %r14
	movq	%r14, %rdi
	callq	_chan_pri_allowed
	testl	%eax, %eax
	je	LBB0_76
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_is_in_chanlist
	testl	%eax, %eax
	je	LBB0_76
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	fldt	-132(%rbp)                      ## 10-byte Folded Reload
	fstpt	(%rsp)
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_chan_bw_allowed
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movq	_HOSTAPD_MODE_IEEE80211A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r15), %rax
	cmpq	$0, 32(%rax)
	je	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, (%rax)
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_acs_usable_ht40_chan
	testl	%eax, %eax
	je	LBB0_29
## %bb.22:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movq	_HOSTAPD_MODE_IEEE80211A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpq	%rcx, %rax
	jne	LBB0_34
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r15), %rdi
	cmpq	$0, 24(%rdi)
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpq	$0, 16(%rdi)
	je	LBB0_34
LBB0_26:                                ##   in Loop: Header=BB0_14 Depth=1
	callq	_hostapd_get_oper_chwidth
	cmpl	$128, %eax
	jne	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_acs_usable_vht80_chan
	testl	%eax, %eax
	je	LBB0_28
LBB0_31:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r15), %rdi
	callq	_hostapd_get_oper_chwidth
	cmpl	$129, %eax
	jne	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_acs_usable_vht160_chan
	testl	%eax, %eax
	je	LBB0_33
LBB0_34:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_acs_usable_chan
	fldt	-260(%rbp)                      ## 10-byte Folded Reload
	fstpt	-92(%rbp)                       ## 10-byte Folded Spill
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	fldt	16(%rax,%r13)
	fstpt	-92(%rbp)                       ## 10-byte Folded Spill
LBB0_36:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	$1, %ebx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$2, %eax
	jb	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	%r13, %rax
	addq	$32, %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	$1, %ebx
	movl	$20, %r14d
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_39 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%ebx
	addl	$20, %r14d
	cmpl	%ebx, %eax
	je	LBB0_48
LBB0_39:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-160(%rbp), %rax                ## 8-byte Reload
	fldt	(%rax)
	movl	%r14d, -140(%rbp)
	fiaddl	-140(%rbp)
	fstpt	(%rsp)
	movq	%r15, %rdi
	callq	_acs_find_chan
	testq	%rax, %rax
	je	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=2
	movq	%rax, %r12
	fldt	-132(%rbp)                      ## 10-byte Folded Reload
	fstpt	(%rsp)
	movq	%rax, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_chan_bw_allowed
	testl	%eax, %eax
	je	LBB0_41
## %bb.45:                              ##   in Loop: Header=BB0_39 Depth=2
	movq	%r12, %rdi
	callq	_acs_usable_chan
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_39 Depth=2
	fldt	16(%r12)
	fldt	-92(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fstpt	-92(%rbp)                       ## 10-byte Folded Spill
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	jmp	LBB0_47
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r12), %edi
	fldt	(%r14)
	fldt	-132(%rbp)                      ## 10-byte Folded Reload
	fstpt	16(%rsp)
	fstpt	(%rsp)
	leaq	L_.str.2(%rip), %rsi
LBB0_30:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_76
LBB0_37:                                ##   in Loop: Header=BB0_14 Depth=1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	cmpl	%eax, %ebx
	jne	LBB0_44
	jmp	LBB0_48
LBB0_41:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	fldt	(%rax)
	fldt	(%r12)
	fldt	-132(%rbp)                      ## 10-byte Folded Reload
	fstpt	32(%rsp)
	fstpt	16(%rsp)
	fstpt	(%rsp)
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_42:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %ebx
	jne	LBB0_44
LBB0_48:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	callq	_is_24ghz_mode
	testq	%rax, %rax
	je	LBB0_63
## %bb.49:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %r12
	addq	$32, %r12
	xorl	%r13d, %r13d
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_62:                                ##   in Loop: Header=BB0_50 Depth=2
	addl	$20, %r13d
	decl	%r14d
	je	LBB0_63
LBB0_50:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	fldt	(%r12)
	movl	%r13d, -136(%rbp)
	fildl	-136(%rbp)
	fld	%st(0)
	fstpt	-80(%rbp)                       ## 10-byte Folded Spill
	faddp	%st, %st(1)
	fadds	LCPI0_1(%rip)
	fstpt	(%rsp)
	movq	%r15, %rdi
	callq	_acs_find_chan
	testq	%rax, %rax
	je	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_acs_usable_chan
	testq	%rax, %rax
	je	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	_ACS_ADJ_WEIGHT@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fldt	16(%rbx)
	fmul	%st(1), %st
	fldt	-92(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fstpt	-92(%rbp)                       ## 10-byte Folded Spill
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, -248(%rbp)
	faddl	-248(%rbp)
	fstpl	-240(%rbp)
	movsd	-240(%rbp), %xmm0               ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
LBB0_53:                                ##   in Loop: Header=BB0_50 Depth=2
	fldt	(%r12)
	fldt	-80(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fadds	LCPI0_2(%rip)
	fstpt	(%rsp)
	movq	%r15, %rdi
	callq	_acs_find_chan
	testq	%rax, %rax
	je	LBB0_56
## %bb.54:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_acs_usable_chan
	testq	%rax, %rax
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	_ACS_NEXT_ADJ_WEIGHT@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fldt	16(%rbx)
	fmul	%st(1), %st
	fldt	-92(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fstpt	-92(%rbp)                       ## 10-byte Folded Spill
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, -232(%rbp)
	faddl	-232(%rbp)
	fstpl	-224(%rbp)
	movsd	-224(%rbp), %xmm0               ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
LBB0_56:                                ##   in Loop: Header=BB0_50 Depth=2
	fldt	(%r12)
	fldt	-80(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fadds	LCPI0_3(%rip)
	fstpt	(%rsp)
	movq	%r15, %rdi
	callq	_acs_find_chan
	testq	%rax, %rax
	je	LBB0_59
## %bb.57:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_acs_usable_chan
	testq	%rax, %rax
	je	LBB0_59
## %bb.58:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	_ACS_ADJ_WEIGHT@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fldt	16(%rbx)
	fmul	%st(1), %st
	fldt	-92(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fstpt	-92(%rbp)                       ## 10-byte Folded Spill
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, -216(%rbp)
	faddl	-216(%rbp)
	fstpl	-208(%rbp)
	movsd	-208(%rbp), %xmm0               ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
LBB0_59:                                ##   in Loop: Header=BB0_50 Depth=2
	fldt	(%r12)
	fldt	-80(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fadds	LCPI0_4(%rip)
	fstpt	(%rsp)
	movq	%r15, %rdi
	callq	_acs_find_chan
	testq	%rax, %rax
	je	LBB0_62
## %bb.60:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_acs_usable_chan
	testq	%rax, %rax
	je	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	_ACS_NEXT_ADJ_WEIGHT@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fldt	16(%rbx)
	fmul	%st(1), %st
	fldt	-92(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fstpt	-92(%rbp)                       ## 10-byte Folded Spill
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, -200(%rbp)
	faddl	-200(%rbp)
	fstpl	-192(%rbp)
	movsd	-192(%rbp), %xmm0               ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	jmp	LBB0_62
LBB0_63:                                ##   in Loop: Header=BB0_14 Depth=1
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, -184(%rbp)
	fldt	-92(%rbp)                       ## 10-byte Folded Reload
	fdivl	-184(%rbp)
	movq	8(%r15), %rcx
	movq	8(%rcx), %rax
	testq	%rax, %rax
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	fld	%st(0)
	fstpt	-80(%rbp)                       ## 10-byte Folded Spill
	je	LBB0_68
## %bb.64:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	4(%rcx), %ecx
	testq	%rcx, %rcx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	fldz
	je	LBB0_72
## %bb.65:                              ##   in Loop: Header=BB0_14 Depth=1
	fstp	%st(0)
	fldt	(%r13)
	addq	$16, %rax
	.p2align	4, 0x90
LBB0_67:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-16(%rax), %rdx
	movq	%rdx, -176(%rbp)
	fildll	-176(%rbp)
	fxch	%st(1)
	fucomi	%st(1), %st
	fstp	%st(1)
	jne	LBB0_66
	jnp	LBB0_71
LBB0_66:                                ##   in Loop: Header=BB0_67 Depth=2
	addq	$32, %rax
	decq	%rcx
	jne	LBB0_67
	jmp	LBB0_72
LBB0_68:                                ##   in Loop: Header=BB0_14 Depth=1
	fstp	%st(0)
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	callq	_is_24ghz_mode
	fldt	-80(%rbp)                       ## 10-byte Folded Reload
	testq	%rax, %rax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	fldz
	je	LBB0_72
## %bb.69:                              ##   in Loop: Header=BB0_14 Depth=1
	fstp	%st(0)
	fstp	%st(0)
	fldt	(%r13)
	fisttpll	-168(%rbp)
	movq	-168(%rbp), %rdi
	callq	_is_common_24ghz_chan
	fldt	-80(%rbp)                       ## 10-byte Folded Reload
	testq	%rax, %rax
	fldz
	je	LBB0_72
## %bb.70:                              ##   in Loop: Header=BB0_14 Depth=1
	fstp	%st(0)
	fldt	(%r13)
	movq	_ACS_24GHZ_PREFER_1_6_11@GOTPCREL(%rip), %rax
LBB0_71:                                ##   in Loop: Header=BB0_14 Depth=1
	fldt	(%rax)
	fmul	%st, %st(2)
	movl	(%r12), %edi
	fstpt	32(%rsp)
	fld	%st(1)
	fstpt	-80(%rbp)                       ## 10-byte Folded Spill
	fxch	%st(1)
	fstpt	16(%rsp)
	fstpt	(%rsp)
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_73
LBB0_72:                                ##   in Loop: Header=BB0_14 Depth=1
	fstp	%st(0)
	movl	(%r12), %edi
	fldt	(%r13)
	fxch	%st(1)
	fstpt	16(%rsp)
	fstpt	(%rsp)
	leaq	L_.str.9(%rip), %rsi
LBB0_73:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r13, %rdi
	callq	_acs_usable_chan
	testq	%rax, %rax
	je	LBB0_75
## %bb.74:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	testq	%rdx, %rdx
	sete	%al
	fldt	-152(%rbp)                      ## 10-byte Folded Reload
	fldt	-80(%rbp)                       ## 10-byte Folded Reload
	fxch	%st(1)
	fucomi	%st(1), %st
	seta	%cl
	orb	%al, %cl
	testb	%cl, %cl
	cmovneq	%r13, %rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	fcmovne	%st(1), %st
	fstp	%st(1)
	fstpt	-152(%rbp)                      ## 10-byte Folded Spill
LBB0_75:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	cmoveq	%r13, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_76
LBB0_28:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r12), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	fldt	(%rax)
	fstpt	(%rsp)
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_30
LBB0_33:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r12), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	fldt	(%rax)
	fstpt	(%rsp)
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r12), %edi
	fldt	(%r14)
	fstpt	(%rsp)
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_30
LBB0_77:
	movq	-104(%rbp), %r14                ## 8-byte Reload
	testq	%r14, %r14
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_79
## %bb.78:
	movl	(%r12), %edi
	fldt	(%r14)
	fldt	32(%r14)
	fldt	-152(%rbp)                      ## 10-byte Folded Reload
	fstpt	32(%rsp)
	fstpt	16(%rsp)
	fstpt	(%rsp)
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r14, %rbx
	jmp	LBB0_79
LBB0_12:
	xorl	%ebx, %ebx
LBB0_79:
	movq	%rbx, %rax
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ACS: HT40- is not supported yet. Please try HT40+"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"ACS: Survey analysis for selected bandwidth %d MHz"

L_.str.2:                               ## @.str.2
	.asciz	"ACS: Channel %d: BW %u is not supported"

	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ## @HOSTAPD_MODE_IEEE80211A
L_.str.3:                               ## @.str.3
	.asciz	"ACS: Channel %d: not allowed as primary channel for HT40"

L_.str.4:                               ## @.str.4
	.asciz	"ACS: Channel %d: not allowed as primary channel for VHT80"

L_.str.5:                               ## @.str.5
	.asciz	"ACS: Channel %d: not allowed as primary channel for VHT160"

L_.str.6:                               ## @.str.6
	.asciz	"ACS: PRI Channel %d: secondary channel %d BW %u is not supported"

L_.str.7:                               ## @.str.7
	.asciz	"ACS: Channel %d: not enough bandwidth"

	.comm	_ACS_ADJ_WEIGHT,16,4            ## @ACS_ADJ_WEIGHT
	.comm	_ACS_NEXT_ADJ_WEIGHT,16,4       ## @ACS_NEXT_ADJ_WEIGHT
	.comm	_ACS_24GHZ_PREFER_1_6_11,16,4   ## @ACS_24GHZ_PREFER_1_6_11
L_.str.8:                               ## @.str.8
	.asciz	"ACS:  * channel %d: total interference = %Lg (%f bias)"

L_.str.9:                               ## @.str.9
	.asciz	"ACS:  * channel %d: total interference = %Lg"

L_.str.10:                              ## @.str.10
	.asciz	"ACS: Ideal channel is %d (%d MHz) with total interference factor of %Lg"

	.no_dead_strip	_acs_find_ideal_chan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acs_find_ideal_chan
_acs_find_ideal_chan:                   ; @acs_find_ideal_chan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d15, d14, [sp, #48]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #64]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #80]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_73
; %bb.2:
	cmp	w8, #0
	mov	w8, #1
	cinc	w22, w8, ne
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_5
	b	LBB0_4
LBB0_3:
	mov	w22, #1
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_5
LBB0_4:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
LBB0_5:
	bl	_hostapd_get_oper_chwidth
	mov	w8, #8
	mov	w9, #4
	cmp	w0, #128
	csel	w9, w22, w9, ne
	cmp	w0, #129
	csel	w22, w8, w9, eq
LBB0_6:
	mov	x0, x22
	bl	_num_chan_to_bw
	fmov	d8, d0
Lloh0:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
	str	d0, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_74
; %bb.7:
	mov	x28, #0
	stp	xzr, xzr, [sp, #32]             ; 16-byte Folded Spill
	movi	d0, #0000000000000000
	str	d0, [sp, #24]                   ; 8-byte Folded Spill
	mov	w27, #24
	fmov	d11, #-5.00000000
	fmov	d12, #-10.00000000
	fmov	d13, #5.00000000
	fmov	d14, #10.00000000
Lloh4:
	adrp	x26, _ACS_ADJ_WEIGHT@GOTPAGE
Lloh5:
	ldr	x26, [x26, _ACS_ADJ_WEIGHT@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
Lloh6:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	d0, [x25]
	str	d0, [sp]
Lloh8:
	adrp	x1, l_.str.7@PAGE
Lloh9:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	mov	w27, #24
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x28, x28, #1
	ldr	x8, [x19]
	ldrsw	x9, [x8]
	cmp	x28, x9
	b.ge	LBB0_71
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_29 Depth 2
                                        ;     Child Loop BB0_41 Depth 2
                                        ;     Child Loop BB0_57 Depth 2
	ldr	x23, [x8, #16]
	madd	x25, x28, x27, x23
	mov	x0, x25
	bl	_chan_pri_allowed
	cbz	w0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_is_in_chanlist
	cbz	w0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	fmov	d0, d8
	mov	w1, #1
	mov	w2, #1
	bl	_chan_bw_allowed
	cbz	w0, LBB0_33
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
Lloh10:
	adrp	x9, _HOSTAPD_MODE_IEEE80211A@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HOSTAPD_MODE_IEEE80211A@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x8]
	cbz	w8, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	bl	_acs_usable_ht40_chan
	cbz	w0, LBB0_70
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
Lloh13:
	adrp	x9, _HOSTAPD_MODE_IEEE80211A@GOTPAGE
Lloh14:
	ldr	x9, [x9, _HOSTAPD_MODE_IEEE80211A@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	x8, x9
	b.ne	LBB0_25
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x19, #8]
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_25
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	bl	_hostapd_get_oper_chwidth
	cmp	w0, #128
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	bl	_acs_usable_vht80_chan
	cbz	w0, LBB0_68
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x19, #8]
	bl	_hostapd_get_oper_chwidth
	cmp	w0, #129
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	bl	_acs_usable_vht160_chan
	cbz	w0, LBB0_69
LBB0_25:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	bl	_acs_usable_chan
	cbz	x0, LBB0_35
; %bb.26:                               ;   in Loop: Header=BB0_10 Depth=1
	madd	x8, x28, x27, x23
	ldr	d15, [x8, #8]
	cmp	w22, #2
	b.lo	LBB0_36
LBB0_27:                                ;   in Loop: Header=BB0_10 Depth=1
	madd	x8, x28, x27, x23
	add	x21, x8, #16
	mov	w20, #1
	fmov	d9, #1.00000000
	mov	w27, #20
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=2
	add	w20, w20, #1
	add	w27, w27, #20
	cmp	w22, w20
	b.eq	LBB0_38
LBB0_29:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d0, [x21]
	scvtf	d1, w27
	fadd	d0, d0, d1
	mov	x0, x19
	bl	_acs_find_chan
	cbz	x0, LBB0_37
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x24, x0
	fmov	d0, d8
	mov	w1, #1
	mov	w2, #0
	bl	_chan_bw_allowed
	cbz	w0, LBB0_67
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x0, x24
	bl	_acs_usable_chan
	cbz	x0, LBB0_28
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=2
	ldr	d0, [x24, #8]
	fadd	d15, d15, d0
	fmov	d0, #1.00000000
	fadd	d9, d9, d0
	b	LBB0_28
LBB0_33:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x20]
	ldr	d0, [x25]
	stp	d0, d8, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_34:                                ;   in Loop: Header=BB0_10 Depth=1
	bl	_wpa_printf
	b	LBB0_9
LBB0_35:                                ;   in Loop: Header=BB0_10 Depth=1
	movi	d15, #0000000000000000
	cmp	w22, #2
	b.hs	LBB0_27
LBB0_36:                                ;   in Loop: Header=BB0_10 Depth=1
	fmov	d9, #1.00000000
	mov	w20, #1
LBB0_37:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w20, w22
	b.ne	LBB0_8
LBB0_38:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_is_24ghz_mode
	cbz	x0, LBB0_53
; %bb.39:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w21, #0
	mov	w27, #24
	madd	x8, x28, x27, x23
	add	x23, x8, #16
	mov	x20, x22
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=2
	add	w21, w21, #20
	subs	w20, w20, #1
	b.eq	LBB0_54
LBB0_41:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d0, [x23]
	scvtf	d10, w21
	fadd	d0, d0, d10
	fadd	d0, d0, d11
	mov	x0, x19
	bl	_acs_find_chan
	cbz	x0, LBB0_44
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=2
	mov	x24, x0
	bl	_acs_usable_chan
	cbz	x0, LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_41 Depth=2
	ldr	d0, [x26]
	ldr	d1, [x24, #8]
	fmadd	d15, d0, d1, d15
	fadd	d9, d9, d0
LBB0_44:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	d0, [x23]
	fadd	d0, d0, d10
	fadd	d0, d0, d12
	mov	x0, x19
	bl	_acs_find_chan
	cbz	x0, LBB0_47
; %bb.45:                               ;   in Loop: Header=BB0_41 Depth=2
	mov	x24, x0
	bl	_acs_usable_chan
	cbz	x0, LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_41 Depth=2
Lloh18:
	adrp	x8, _ACS_NEXT_ADJ_WEIGHT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ACS_NEXT_ADJ_WEIGHT@GOTPAGEOFF]
Lloh20:
	ldr	d0, [x8]
	ldr	d1, [x24, #8]
	fmadd	d15, d0, d1, d15
	fadd	d9, d9, d0
LBB0_47:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	d0, [x23]
	fadd	d0, d0, d10
	fadd	d0, d0, d13
	mov	x0, x19
	bl	_acs_find_chan
	cbz	x0, LBB0_50
; %bb.48:                               ;   in Loop: Header=BB0_41 Depth=2
	mov	x24, x0
	bl	_acs_usable_chan
	cbz	x0, LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_41 Depth=2
	ldr	d0, [x26]
	ldr	d1, [x24, #8]
	fmadd	d15, d0, d1, d15
	fadd	d9, d9, d0
LBB0_50:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	d0, [x23]
	fadd	d0, d0, d10
	fadd	d0, d0, d14
	mov	x0, x19
	bl	_acs_find_chan
	cbz	x0, LBB0_40
; %bb.51:                               ;   in Loop: Header=BB0_41 Depth=2
	mov	x24, x0
	bl	_acs_usable_chan
	cbz	x0, LBB0_40
; %bb.52:                               ;   in Loop: Header=BB0_41 Depth=2
Lloh21:
	adrp	x8, _ACS_NEXT_ADJ_WEIGHT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ACS_NEXT_ADJ_WEIGHT@GOTPAGEOFF]
Lloh23:
	ldr	d0, [x8]
	ldr	d1, [x24, #8]
	fmadd	d15, d0, d1, d15
	fadd	d9, d9, d0
	b	LBB0_40
LBB0_53:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w27, #24
LBB0_54:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x19, #8]
	ldr	x8, [x9, #8]
	fdiv	d9, d15, d9
Lloh24:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh25:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	cbz	x8, LBB0_59
; %bb.55:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w9, [x9, #4]
	cbz	w9, LBB0_63
; %bb.56:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	d0, [x25]
	add	x8, x8, #8
LBB0_57:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	d1, [x8, #-8]
	scvtf	d1, d1
	fcmp	d0, d1
	b.eq	LBB0_62
; %bb.58:                               ;   in Loop: Header=BB0_57 Depth=2
	add	x8, x8, #16
	subs	x9, x9, #1
	b.ne	LBB0_57
	b	LBB0_63
LBB0_59:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_is_24ghz_mode
	cbz	x0, LBB0_63
; %bb.60:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	d0, [x25]
	fcvtzs	x0, d0
	bl	_is_common_24ghz_chan
	cbz	x0, LBB0_63
; %bb.61:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	d0, [x25]
Lloh26:
	adrp	x8, _ACS_24GHZ_PREFER_1_6_11@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ACS_24GHZ_PREFER_1_6_11@GOTPAGEOFF]
LBB0_62:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	d1, [x8]
	fmul	d9, d9, d1
	ldr	w0, [x20]
	stp	d9, d1, [sp, #8]
	str	d0, [sp]
Lloh28:
	adrp	x1, l_.str.8@PAGE
Lloh29:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_64
LBB0_63:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x20]
	ldr	d0, [x25]
	stp	d0, d9, [sp]
Lloh30:
	adrp	x1, l_.str.9@PAGE
Lloh31:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_64:                                ;   in Loop: Header=BB0_10 Depth=1
	bl	_wpa_printf
	mov	x0, x25
	bl	_acs_usable_chan
	cbz	x0, LBB0_66
; %bb.65:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	d0, [sp, #24]                   ; 8-byte Folded Reload
	fcmp	d9, d0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ccmp	x8, #0, #4, pl
	csel	x8, x25, x8, eq
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	fcsel	d0, d9, d0, eq
	str	d0, [sp, #24]                   ; 8-byte Folded Spill
LBB0_66:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cmp	x8, #0
	csel	x8, x25, x8, eq
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_9
LBB0_67:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh32:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	d0, [x25]
	ldr	d1, [x24]
	stp	d1, d8, [sp, #8]
	str	d0, [sp]
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	cmp	w20, w22
	b.eq	LBB0_38
	b	LBB0_8
LBB0_68:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x20]
	ldr	d0, [x25]
	str	d0, [sp]
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_34
LBB0_69:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x20]
	ldr	d0, [x25]
	str	d0, [sp]
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_34
LBB0_70:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x20]
	ldr	d0, [x25]
	str	d0, [sp]
Lloh41:
	adrp	x1, l_.str.3@PAGE
Lloh42:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_34
LBB0_71:
	ldp	x19, x0, [sp, #32]              ; 16-byte Folded Reload
	cbz	x19, LBB0_75
; %bb.72:
	ldr	w0, [x20]
	ldr	d0, [x19]
	ldr	d1, [x19, #16]
	ldr	d2, [sp, #24]                   ; 8-byte Folded Reload
	str	d2, [sp, #16]
	str	d1, [sp, #8]
	str	d0, [sp]
Lloh43:
	adrp	x1, l_.str.10@PAGE
Lloh44:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	b	LBB0_75
LBB0_73:
Lloh45:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
Lloh48:
	adrp	x1, l_.str@PAGE
Lloh49:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_74:
	mov	x0, #0
LBB0_75:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #80]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #64]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ACS: HT40- is not supported yet. Please try HT40+"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"ACS: Survey analysis for selected bandwidth %d MHz"

l_.str.2:                               ; @.str.2
	.asciz	"ACS: Channel %d: BW %u is not supported"

	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ; @HOSTAPD_MODE_IEEE80211A
l_.str.3:                               ; @.str.3
	.asciz	"ACS: Channel %d: not allowed as primary channel for HT40"

l_.str.4:                               ; @.str.4
	.asciz	"ACS: Channel %d: not allowed as primary channel for VHT80"

l_.str.5:                               ; @.str.5
	.asciz	"ACS: Channel %d: not allowed as primary channel for VHT160"

l_.str.6:                               ; @.str.6
	.asciz	"ACS: PRI Channel %d: secondary channel %d BW %u is not supported"

l_.str.7:                               ; @.str.7
	.asciz	"ACS: Channel %d: not enough bandwidth"

	.comm	_ACS_ADJ_WEIGHT,8,3             ; @ACS_ADJ_WEIGHT
	.comm	_ACS_NEXT_ADJ_WEIGHT,8,3        ; @ACS_NEXT_ADJ_WEIGHT
	.comm	_ACS_24GHZ_PREFER_1_6_11,8,3    ; @ACS_24GHZ_PREFER_1_6_11
l_.str.8:                               ; @.str.8
	.asciz	"ACS:  * channel %d: total interference = %Lg (%f bias)"

l_.str.9:                               ; @.str.9
	.asciz	"ACS:  * channel %d: total interference = %Lg"

l_.str.10:                              ; @.str.10
	.asciz	"ACS: Ideal channel is %d (%d MHz) with total interference factor of %Lg"

	.no_dead_strip	_acs_find_ideal_chan
.subsections_via_symbols
