	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function acs_survey_interference_factor
LCPI0_0:
	.long	0x40a00000                      ## float 5
LCPI0_1:
	.long	0x41200000                      ## float 10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_acs_survey_interference_factor:        ## @acs_survey_interference_factor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_SURVEY_HAS_CHAN_TIME_BUSY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.1:
	leaq	16(%rbx), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_SURVEY_HAS_CHAN_TIME_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	leaq	32(%rbx), %rcx
LBB0_2:
	fldt	(%rcx)
	fldt	48(%rbx)
	movq	_SURVEY_HAS_CHAN_TIME_TX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.8:
	movq	80(%rbx), %rax
	movq	%rax, -56(%rbp)
	fildll	-56(%rbp)
	fsubr	%st, %st(2)
	fxch	%st(2)
	fstpt	-28(%rbp)                       ## 10-byte Folded Spill
	fsubp	%st, %st(1)
	jmp	LBB0_9
LBB0_3:
	fxch	%st(1)
	fstpt	-28(%rbp)                       ## 10-byte Folded Spill
LBB0_9:
	fstpt	-40(%rbp)                       ## 10-byte Folded Spill
	fldt	64(%rbx)
	fdivs	LCPI0_0(%rip)
	fstpt	(%rsp)
	movl	$10, %edi
	callq	_pow
	fstpt	-80(%rbp)                       ## 10-byte Folded Spill
	fldz
	fldt	-40(%rbp)                       ## 10-byte Folded Reload
	fucomi	%st(1), %st
	jne	LBB0_10
	jnp	LBB0_11
LBB0_10:
	fstp	%st(1)
	fldt	-28(%rbp)                       ## 10-byte Folded Reload
	fdivp	%st, %st(1)
	fldz
LBB0_11:
	fstp	%st(0)
	fstpt	-40(%rbp)                       ## 10-byte Folded Spill
	fldt	64(%rbx)
	flds	LCPI0_1(%rip)
	fld	%st(0)
	fstpt	-68(%rbp)                       ## 10-byte Folded Spill
	fdivrp	%st, %st(1)
	fstpt	(%rsp)
	movl	$10, %edi
	callq	_pow
	fstpt	-28(%rbp)                       ## 10-byte Folded Spill
	movq	%r14, -48(%rbp)
	fildll	-48(%rbp)
	fldt	-68(%rbp)                       ## 10-byte Folded Reload
	fdivrp	%st, %st(1)
	fstpt	(%rsp)
	movl	$10, %edi
	callq	_pow
	fldt	-28(%rbp)                       ## 10-byte Folded Reload
	fsubp	%st, %st(1)
	fstpt	(%rsp)
	movl	$2, %edi
	callq	_pow
	fldt	-40(%rbp)                       ## 10-byte Folded Reload
	fmulp	%st, %st(1)
	fldt	-80(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
LBB0_7:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	fldz
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_SURVEY_HAS_CHAN_TIME_BUSY,4,2  ## @SURVEY_HAS_CHAN_TIME_BUSY
	.comm	_SURVEY_HAS_CHAN_TIME_RX,4,2    ## @SURVEY_HAS_CHAN_TIME_RX
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ACS: Survey data missing"

	.comm	_SURVEY_HAS_CHAN_TIME_TX,4,2    ## @SURVEY_HAS_CHAN_TIME_TX
	.no_dead_strip	_acs_survey_interference_factor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acs_survey_interference_factor
_acs_survey_interference_factor:        ; @acs_survey_interference_factor
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SURVEY_HAS_CHAN_TIME_BUSY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SURVEY_HAS_CHAN_TIME_BUSY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	add	x9, x20, #8
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x9, _SURVEY_HAS_CHAN_TIME_RX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SURVEY_HAS_CHAN_TIME_RX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.3:
	add	x9, x20, #16
LBB0_4:
	ldr	d9, [x9]
	ldr	d10, [x20, #24]
Lloh6:
	adrp	x9, _SURVEY_HAS_CHAN_TIME_TX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SURVEY_HAS_CHAN_TIME_TX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	d0, [x20, #40]
	scvtf	d0, d0
	fsub	d9, d9, d0
	fsub	d10, d10, d0
LBB0_6:
	ldr	d0, [x20, #32]
	fmov	d1, #5.00000000
	fdiv	d0, d0, d1
	mov	w0, #10
	bl	_pow
	fmov	d8, d0
	fdiv	d0, d9, d10
	fcmp	d10, #0.0
	movi	d1, #0000000000000000
	fcsel	d10, d0, d1, ne
	ldr	d0, [x20, #32]
	fmov	d11, #10.00000000
	fdiv	d0, d0, d11
	mov	w0, #10
	bl	_pow
	fmov	d9, d0
	scvtf	d0, x19
	fdiv	d0, d0, d11
	mov	w0, #10
	bl	_pow
	fsub	d0, d9, d0
	mov	w0, #2
	bl	_pow
	fmadd	d0, d10, d0, d8
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh9:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	movi	d0, #0000000000000000
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SURVEY_HAS_CHAN_TIME_BUSY,4,2  ; @SURVEY_HAS_CHAN_TIME_BUSY
	.comm	_SURVEY_HAS_CHAN_TIME_RX,4,2    ; @SURVEY_HAS_CHAN_TIME_RX
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ACS: Survey data missing"

	.comm	_SURVEY_HAS_CHAN_TIME_TX,4,2    ; @SURVEY_HAS_CHAN_TIME_TX
	.no_dead_strip	_acs_survey_interference_factor
.subsections_via_symbols
