	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acs_survey_is_sufficient
_acs_survey_is_sufficient:              ## @acs_survey_is_sufficient
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_SURVEY_HAS_NF@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_SURVEY_HAS_CHAN_TIME@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_SURVEY_HAS_CHAN_TIME_BUSY@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	testl	%ecx, (%rdx)
	je	LBB0_5
LBB0_8:
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_5:
	movq	_SURVEY_HAS_CHAN_TIME_RX@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_8
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wpa_printf
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SURVEY_HAS_NF,4,2              ## @SURVEY_HAS_NF
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ACS: Survey is missing noise floor"

	.comm	_SURVEY_HAS_CHAN_TIME,4,2       ## @SURVEY_HAS_CHAN_TIME
L_.str.1:                               ## @.str.1
	.asciz	"ACS: Survey is missing channel time"

	.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
L_.str.2:                               ## @.str.2
	.asciz	"ACS: Survey is missing RX and busy time (at least one is required)"

	.no_dead_strip	_acs_survey_is_sufficient
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acs_survey_is_sufficient
_acs_survey_is_sufficient:              ; @acs_survey_is_sufficient
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SURVEY_HAS_NF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SURVEY_HAS_NF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x9, _SURVEY_HAS_CHAN_TIME@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SURVEY_HAS_CHAN_TIME@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
Lloh6:
	adrp	x9, _SURVEY_HAS_CHAN_TIME_BUSY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SURVEY_HAS_CHAN_TIME_BUSY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x9, _SURVEY_HAS_CHAN_TIME_RX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SURVEY_HAS_CHAN_TIME_RX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_4:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_8:
Lloh18:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_wpa_printf
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SURVEY_HAS_NF,4,2              ; @SURVEY_HAS_NF
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ACS: Survey is missing noise floor"

	.comm	_SURVEY_HAS_CHAN_TIME,4,2       ; @SURVEY_HAS_CHAN_TIME
l_.str.1:                               ; @.str.1
	.asciz	"ACS: Survey is missing channel time"

	.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
l_.str.2:                               ; @.str.2
	.asciz	"ACS: Survey is missing RX and busy time (at least one is required)"

	.no_dead_strip	_acs_survey_is_sufficient
.subsections_via_symbols
