	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libipw_translate_scan
_libipw_translate_scan:                 ## @libipw_translate_scan
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_CUSTOM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -200(%rbp)                ## 8-byte Spill
	movq	_SIOCGIWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movl	100(%rbx), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_IW_EV_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-192(%rbp), %r14
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_iwe_stream_add_event
	movq	%rax, %r15
	movq	_SIOCGIWESSID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	movl	$1, -184(%rbp)
	movl	96(%rbx), %edi
	movl	$32, %esi
	callq	_min
	movl	%eax, -180(%rbp)
	movq	(%rbx), %r8
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_iwe_stream_add_point
	movq	%rax, %r15
	movq	_SIOCGIWNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	movslq	-112(%rbp), %rdi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_libipw_modes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rcx
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movq	_IW_EV_CHAR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_iwe_stream_add_event
	movq	%rax, %r14
	movq	_SIOCGIWMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	movl	16(%rbx), %eax
	movq	_WLAN_CAPABILITY_ESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_WLAN_CAPABILITY_IBSS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	je	LBB0_5
## %bb.1:
	testl	%eax, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_IW_MODE_ADHOC@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_IW_MODE_MASTER@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)
	movq	_IW_EV_UINT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-192(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_iwe_stream_add_event
	movq	%rax, %r14
LBB0_5:
	movq	_SIOCGIWFREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	movl	56(%rbx), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_libipw_channel_to_freq
	movl	%eax, -120(%rbp)
	movq	$6, -128(%rbp)
	movq	_IW_EV_FREQ_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-192(%rbp), %r15
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_iwe_stream_add_event
	movq	_SIOCGIWENCODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -192(%rbp)
	movq	_WLAN_CAPABILITY_PRIVACY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	16(%rbx), %ecx
	jne	LBB0_6
## %bb.7:
	movq	_IW_ENCODE_DISABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_8
LBB0_6:
	movq	_IW_ENCODE_ENABLED@GOTPCREL(%rip), %rdx
	movq	_IW_ENCODE_NOKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
LBB0_8:
	movl	%ecx, -184(%rbp)
	movl	$0, -180(%rbp)
	movq	(%rbx), %r8
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_iwe_stream_add_point
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_iwe_stream_lcp_len
	movslq	%eax, %r15
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	addq	%rbx, %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	_SIOCGIWRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -144(%rbp)
	cmpl	$0, 20(%rbx)
	jle	LBB0_9
## %bb.12:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	40(%rbx), %rax
	movslq	%r14d, %rcx
	movl	(%rax,%rcx,4), %ecx
	andl	$127, %ecx
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incl	%r14d
	movl	%ecx, %eax
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	imull	$500000, %eax, %eax             ## imm = 0x7A120
	movl	%eax, -152(%rbp)
	movq	_IW_EV_PARAM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r13, %rcx
	leaq	-192(%rbp), %r8
	callq	_iwe_stream_add_value
	movq	%rax, %r15
	cmpl	20(%rbx), %r14d
	jge	LBB0_10
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpl	24(%rbx), %r12d
	jge	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movslq	%r12d, %rax
	movq	32(%rbx), %rcx
	movq	40(%rbx), %rdx
	movl	(%rcx,%rax,4), %eax
	andl	$127, %eax
	movslq	%r14d, %rcx
	movl	(%rdx,%rcx,4), %ecx
	andl	$127, %ecx
	cmpl	%ecx, %eax
	jae	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	incl	%r12d
	jmp	LBB0_18
LBB0_9:
	xorl	%r12d, %r12d
LBB0_10:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	cmpl	24(%rbx), %r12d
	jge	LBB0_11
## %bb.19:
	movslq	%r12d, %rbx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	movl	(%rax,%rbx,4), %eax
	andl	$127, %eax
	imull	$500000, %eax, %eax             ## imm = 0x7A120
	movl	%eax, -152(%rbp)
	movq	_IW_EV_PARAM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	leaq	-192(%rbp), %r8
	callq	_iwe_stream_add_value
	movq	%rax, %r15
	incq	%rbx
	movslq	24(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_20
	jmp	LBB0_21
LBB0_11:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_21:
	movq	%r15, %rbx
	movq	%r13, %r12
	subq	%r13, %rbx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_iwe_stream_lcp_len
	cltq
	cmpq	%rax, %rbx
	cmovgq	%r15, %r12
	movq	_IWEVQUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	movq	_IW_QUAL_QUAL_UPDATED@GOTPCREL(%rip), %rax
	movq	_IW_QUAL_LEVEL_UPDATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IW_QUAL_NOISE_UPDATED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -176(%rbp)
	movl	72(%r14), %r9d
	movq	_LIBIPW_STATMASK_RSSI@GOTPCREL(%rip), %rax
	testl	%r9d, (%rax)
	movq	%r13, %r15
	movq	%r12, %rsi
	je	LBB0_22
## %bb.23:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movq	%rbx, %rdx
	subq	8(%rax), %rdx
	jne	LBB0_25
## %bb.24:
	movl	$100, -172(%rbp)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_32
LBB0_22:
	movq	_IW_QUAL_QUAL_INVALID@GOTPCREL(%rip), %rax
	movq	_IW_QUAL_LEVEL_INVALID@GOTPCREL(%rip), %rdx
	orl	(%rax), %ecx
	orl	(%rdx), %ecx
	movl	%ecx, -176(%rbp)
	movl	$0, -172(%rbp)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_32
LBB0_25:
	movq	%rdx, %rdi
	imulq	%rdx, %rdi
	imulq	$100, %rdi, %r8
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	76(%rax), %rax
	subq	%rax, %rbx
	movq	%rdx, %rax
	shlq	$4, %rax
	subq	%rax, %rdx
	imulq	$-62, %rbx, %rax
	addq	%rdx, %rax
	imulq	%rbx, %rax
	addq	%r8, %rax
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_26
## %bb.27:
	cqto
	idivq	%rdi
	jmp	LBB0_28
LBB0_26:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_28:
	movl	%eax, -172(%rbp)
	cmpl	$101, %eax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jl	LBB0_30
## %bb.29:
	movl	$100, -172(%rbp)
	jmp	LBB0_32
LBB0_30:
	testl	%eax, %eax
	jg	LBB0_32
## %bb.31:
	movl	$0, -172(%rbp)
LBB0_32:
	movq	_LIBIPW_STATMASK_NOISE@GOTPCREL(%rip), %rax
	testl	%r9d, (%rax)
	je	LBB0_33
## %bb.34:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	88(%rax), %rax
	jmp	LBB0_35
LBB0_33:
	movq	_IW_QUAL_NOISE_INVALID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -176(%rbp)
	xorl	%eax, %eax
LBB0_35:
	movq	%rax, -160(%rbp)
	movq	_LIBIPW_STATMASK_SIGNAL@GOTPCREL(%rip), %rax
	testl	%r9d, (%rax)
	je	LBB0_36
## %bb.37:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	80(%rbx), %rax
	jmp	LBB0_38
LBB0_36:
	movq	_IW_QUAL_LEVEL_INVALID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -176(%rbp)
	xorl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_38:
	movq	%rax, -168(%rbp)
	movq	_IW_EV_QUAL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-192(%rbp), %r14
	movq	%r15, %rdi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_iwe_stream_add_event
	movq	%rax, %r12
	movq	_IWEVCUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	movl	$0, -180(%rbp)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$104, %edx
	callq	_memset
	cmpl	$0, 48(%rbx)
	je	LBB0_40
## %bb.39:
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_MAX_WPA_IE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	48(%rbx), %edx
	movl	68(%rbx), %esi
	movq	%r14, %rdi
	callq	_memcpy
	movq	_IWEVGENIE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	movl	48(%rbx), %eax
	movl	%eax, -180(%rbp)
	leaq	-192(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%r14, %r8
	callq	_iwe_stream_add_point
	movq	%rax, %r12
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
LBB0_40:
	leaq	-192(%rbp), %rdi
	xorl	%esi, %esi
	movl	$104, %edx
	callq	_memset
	cmpl	$0, 52(%rbx)
	movq	_IWEVCUSTOM@GOTPCREL(%rip), %r14
	je	LBB0_42
## %bb.41:
	movq	%rsp, %r15
	movq	_MAX_WPA_IE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%r14, %r13
	movq	%rsp, %r14
	movl	52(%rbx), %edx
	movl	64(%rbx), %esi
	movq	%r14, %rdi
	callq	_memcpy
	movq	_IWEVGENIE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	movl	52(%rbx), %eax
	movl	%eax, -180(%rbp)
	leaq	-192(%rbp), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %r8
	movq	%r13, %r14
	callq	_iwe_stream_add_point
	movq	%rax, %r12
	movq	%r15, %rsp
LBB0_42:
	movq	%r14, %r13
	movl	(%r14), %eax
	movl	%eax, -192(%rbp)
	movq	_MAX_CUSTOM_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movl	60(%rbx), %edi
	callq	_elapsed_jiffies_msecs
	leaq	L_.str.1(%rip), %rdx
	movq	-200(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	movl	%eax, -180(%rbp)
	testl	%eax, %eax
	je	LBB0_44
## %bb.43:
	leaq	-192(%rbp), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_iwe_stream_add_point
	movq	%rax, %r12
LBB0_44:
	movl	$-1, -192(%rbp)
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	movl	%eax, %r14d
	cltq
	movq	%rbx, %r15
	addq	%rax, %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	56(%rbx), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_libipw_get_channel_flags
	movq	_LIBIPW_CH_INVALID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_46
## %bb.45:
	movl	(%r13), %eax
	movl	%eax, -192(%rbp)
	movq	_MAX_CUSTOM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subl	%r14d, %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	cltq
	addq	%rax, %r15
LBB0_46:
	movl	56(%rbx), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_libipw_get_channel_flags
	movq	_LIBIPW_CH_RADAR_DETECT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_48
## %bb.47:
	movl	(%r13), %eax
	movl	%eax, -192(%rbp)
	movq	-200(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %esi
	subl	%r15d, %esi
	movq	_MAX_CUSTOM_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	cltq
	addq	%rax, %r15
LBB0_48:
	movslq	-192(%rbp), %rax
	cmpq	%rax, (%r13)
	jne	LBB0_50
## %bb.49:
	movq	-200(%rbp), %r8                 ## 8-byte Reload
	subl	%r8d, %r15d
	movl	%r15d, -180(%rbp)
	leaq	-192(%rbp), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_iwe_stream_add_point
	movq	%rax, %r12
LBB0_50:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_52
## %bb.51:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CUSTOM_LEN,4,2             ## @MAX_CUSTOM_LEN
	.comm	_SIOCGIWAP,4,2                  ## @SIOCGIWAP
	.comm	_ARPHRD_ETHER,4,2               ## @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IW_EV_ADDR_LEN,4,2             ## @IW_EV_ADDR_LEN
	.comm	_SIOCGIWESSID,4,2               ## @SIOCGIWESSID
	.comm	_SIOCGIWNAME,4,2                ## @SIOCGIWNAME
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IEEE 802.11%s"

	.comm	_libipw_modes,8,3               ## @libipw_modes
	.comm	_IW_EV_CHAR_LEN,4,2             ## @IW_EV_CHAR_LEN
	.comm	_SIOCGIWMODE,4,2                ## @SIOCGIWMODE
	.comm	_WLAN_CAPABILITY_ESS,4,2        ## @WLAN_CAPABILITY_ESS
	.comm	_WLAN_CAPABILITY_IBSS,4,2       ## @WLAN_CAPABILITY_IBSS
	.comm	_IW_MODE_MASTER,4,2             ## @IW_MODE_MASTER
	.comm	_IW_MODE_ADHOC,4,2              ## @IW_MODE_ADHOC
	.comm	_IW_EV_UINT_LEN,4,2             ## @IW_EV_UINT_LEN
	.comm	_SIOCGIWFREQ,4,2                ## @SIOCGIWFREQ
	.comm	_IW_EV_FREQ_LEN,4,2             ## @IW_EV_FREQ_LEN
	.comm	_SIOCGIWENCODE,4,2              ## @SIOCGIWENCODE
	.comm	_WLAN_CAPABILITY_PRIVACY,4,2    ## @WLAN_CAPABILITY_PRIVACY
	.comm	_IW_ENCODE_ENABLED,4,2          ## @IW_ENCODE_ENABLED
	.comm	_IW_ENCODE_NOKEY,4,2            ## @IW_ENCODE_NOKEY
	.comm	_IW_ENCODE_DISABLED,4,2         ## @IW_ENCODE_DISABLED
	.comm	_SIOCGIWRATE,4,2                ## @SIOCGIWRATE
	.comm	_IW_EV_PARAM_LEN,4,2            ## @IW_EV_PARAM_LEN
	.comm	_IWEVQUAL,4,2                   ## @IWEVQUAL
	.comm	_IW_QUAL_QUAL_UPDATED,4,2       ## @IW_QUAL_QUAL_UPDATED
	.comm	_IW_QUAL_LEVEL_UPDATED,4,2      ## @IW_QUAL_LEVEL_UPDATED
	.comm	_IW_QUAL_NOISE_UPDATED,4,2      ## @IW_QUAL_NOISE_UPDATED
	.comm	_LIBIPW_STATMASK_RSSI,4,2       ## @LIBIPW_STATMASK_RSSI
	.comm	_IW_QUAL_QUAL_INVALID,4,2       ## @IW_QUAL_QUAL_INVALID
	.comm	_IW_QUAL_LEVEL_INVALID,4,2      ## @IW_QUAL_LEVEL_INVALID
	.comm	_LIBIPW_STATMASK_NOISE,4,2      ## @LIBIPW_STATMASK_NOISE
	.comm	_IW_QUAL_NOISE_INVALID,4,2      ## @IW_QUAL_NOISE_INVALID
	.comm	_LIBIPW_STATMASK_SIGNAL,4,2     ## @LIBIPW_STATMASK_SIGNAL
	.comm	_IW_EV_QUAL_LEN,4,2             ## @IW_EV_QUAL_LEN
	.comm	_IWEVCUSTOM,8,3                 ## @IWEVCUSTOM
	.comm	_MAX_WPA_IE_LEN,4,2             ## @MAX_WPA_IE_LEN
	.comm	_IWEVGENIE,8,3                  ## @IWEVGENIE
L_.str.1:                               ## @.str.1
	.asciz	" Last beacon: %ums ago"

L_.str.2:                               ## @.str.2
	.asciz	" Channel flags: "

	.comm	_LIBIPW_CH_INVALID,4,2          ## @LIBIPW_CH_INVALID
L_.str.3:                               ## @.str.3
	.asciz	"INVALID "

	.comm	_LIBIPW_CH_RADAR_DETECT,4,2     ## @LIBIPW_CH_RADAR_DETECT
L_.str.4:                               ## @.str.4
	.asciz	"DFS "

	.no_dead_strip	_libipw_translate_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function libipw_translate_scan
lCPI0_0:
	.long	6                               ; 0x6
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_libipw_translate_scan:                 ; @libipw_translate_scan
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #128
	mov	x19, x4
	mov	x22, x3
	mov	x20, x2
	mov	x24, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_CUSTOM_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_CUSTOM_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _SIOCGIWAP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIOCGIWAP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stur	w8, [x29, #-192]
	stur	w9, [x29, #-96]
	ldr	w1, [x3, #100]
Lloh14:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	bl	_memcpy
Lloh17:
	adrp	x8, _IW_EV_ADDR_LEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IW_EV_ADDR_LEN@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	sub	x3, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_iwe_stream_add_event
	mov	x24, x0
Lloh20:
	adrp	x8, _SIOCGIWESSID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIOCGIWESSID@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	mov	w9, #1
	stur	w8, [x29, #-192]
	stur	w9, [x29, #-184]
	ldr	w0, [x22, #96]
	mov	w1, #32
	bl	_min
	stur	w0, [x29, #-180]
	ldr	x4, [x22]
	sub	x3, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_iwe_stream_add_point
	mov	x24, x0
Lloh23:
	adrp	x8, _SIOCGIWNAME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SIOCGIWNAME@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	stur	w8, [x29, #-192]
	ldursw	x0, [x29, #-112]
Lloh26:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _libipw_modes@GOTPAGE
Lloh30:
	ldr	x8, [x8, _libipw_modes@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldr	x9, [x22, #8]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp, #-16]!
Lloh32:
	adrp	x2, l_.str@PAGE
Lloh33:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	add	sp, sp, #16
Lloh34:
	adrp	x8, _IW_EV_CHAR_LEN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IW_EV_CHAR_LEN@GOTPAGEOFF]
Lloh36:
	ldr	w4, [x8]
	sub	x3, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_iwe_stream_add_event
	mov	x24, x0
Lloh37:
	adrp	x8, _SIOCGIWMODE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SIOCGIWMODE@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	stur	w8, [x29, #-192]
	ldr	w8, [x22, #16]
Lloh40:
	adrp	x9, _WLAN_CAPABILITY_ESS@GOTPAGE
Lloh41:
	ldr	x9, [x9, _WLAN_CAPABILITY_ESS@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
Lloh43:
	adrp	x10, _WLAN_CAPABILITY_IBSS@GOTPAGE
Lloh44:
	ldr	x10, [x10, _WLAN_CAPABILITY_IBSS@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	orr	w10, w10, w9
	tst	w10, w8
	b.eq	LBB0_2
; %bb.1:
Lloh46:
	adrp	x10, _IW_MODE_ADHOC@GOTPAGE
Lloh47:
	ldr	x10, [x10, _IW_MODE_ADHOC@GOTPAGEOFF]
Lloh48:
	adrp	x11, _IW_MODE_MASTER@GOTPAGE
Lloh49:
	ldr	x11, [x11, _IW_MODE_MASTER@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	stur	w8, [x29, #-116]
Lloh50:
	adrp	x8, _IW_EV_UINT_LEN@GOTPAGE
Lloh51:
	ldr	x8, [x8, _IW_EV_UINT_LEN@GOTPAGEOFF]
Lloh52:
	ldr	w4, [x8]
	sub	x3, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_iwe_stream_add_event
	mov	x24, x0
LBB0_2:
	mov	w26, #41248
	movk	w26, #7, lsl #16
Lloh53:
	adrp	x8, _SIOCGIWFREQ@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SIOCGIWFREQ@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	stur	w8, [x29, #-192]
	ldr	w1, [x22, #56]
	stur	x23, [x29, #-200]               ; 8-byte Folded Spill
	mov	x0, x23
	bl	_libipw_channel_to_freq
	stur	w0, [x29, #-120]
Lloh56:
	adrp	x8, lCPI0_0@PAGE
Lloh57:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x29, #-128]
Lloh58:
	adrp	x8, _IW_EV_FREQ_LEN@GOTPAGE
Lloh59:
	ldr	x8, [x8, _IW_EV_FREQ_LEN@GOTPAGEOFF]
Lloh60:
	ldr	w4, [x8]
	sub	x3, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_iwe_stream_add_event
	mov	x1, x0
Lloh61:
	adrp	x8, _SIOCGIWENCODE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _SIOCGIWENCODE@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	adrp	x9, _WLAN_CAPABILITY_PRIVACY@GOTPAGE
Lloh65:
	ldr	x9, [x9, _WLAN_CAPABILITY_PRIVACY@GOTPAGEOFF]
	ldr	w10, [x22, #16]
Lloh66:
	ldr	w9, [x9]
Lloh67:
	adrp	x11, _IW_ENCODE_ENABLED@GOTPAGE
Lloh68:
	ldr	x11, [x11, _IW_ENCODE_ENABLED@GOTPAGEOFF]
Lloh69:
	adrp	x12, _IW_ENCODE_NOKEY@GOTPAGE
Lloh70:
	ldr	x12, [x12, _IW_ENCODE_NOKEY@GOTPAGEOFF]
Lloh71:
	ldr	w11, [x11]
Lloh72:
	ldr	w12, [x12]
	orr	w11, w12, w11
Lloh73:
	adrp	x12, _IW_ENCODE_DISABLED@GOTPAGE
Lloh74:
	ldr	x12, [x12, _IW_ENCODE_DISABLED@GOTPAGEOFF]
Lloh75:
	ldr	w12, [x12]
	tst	w9, w10
	csel	w9, w12, w11, eq
	stur	w8, [x29, #-192]
	stp	w9, wzr, [x29, #-184]
	ldr	x4, [x22]
	sub	x3, x29, #192
	mov	x0, x19
	mov	x2, x20
	bl	_iwe_stream_add_point
	mov	x24, x0
	mov	x0, x19
	bl	_iwe_stream_lcp_len
	add	x25, x24, w0, sxtw
Lloh76:
	adrp	x8, _SIOCGIWRATE@GOTPAGE
Lloh77:
	ldr	x8, [x8, _SIOCGIWRATE@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	stur	w8, [x29, #-192]
	stp	xzr, xzr, [x29, #-144]
	ldr	w8, [x22, #20]
Lloh79:
	adrp	x28, _IW_EV_PARAM_LEN@GOTPAGE
Lloh80:
	ldr	x28, [x28, _IW_EV_PARAM_LEN@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.3:
	mov	w23, #0
	mov	w27, #0
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x22, #40]
	ldr	w8, [x8, w23, sxtw #2]
	and	w8, w8, #0x7f
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w23, w23, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mul	w8, w8, w26
	stur	w8, [x29, #-152]
	ldr	w5, [x28]
	sub	x4, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x25
	mov	x3, x20
	bl	_iwe_stream_add_value
	mov	x25, x0
	ldr	w8, [x22, #20]
	cmp	w23, w8
	b.ge	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22, #24]
	cmp	w27, w8
	b.ge	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	x8, x10, [x22, #32]
	ldr	w8, [x8, w27, sxtw #2]
	and	w9, w8, #0x7f
	ldr	w8, [x10, w23, sxtw #2]
	and	w8, w8, #0x7f
	cmp	w9, w8
	b.hs	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w27, w27, #1
	mov	x8, x9
	b	LBB0_6
LBB0_10:
	mov	w27, #0
LBB0_11:
	ldr	w8, [x22, #24]
	cmp	w27, w8
	b.ge	LBB0_14
; %bb.12:
	sxtw	x23, w27
	ldur	x27, [x29, #-200]               ; 8-byte Folded Reload
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #32]
	ldr	w8, [x8, x23, lsl #2]
	and	w8, w8, #0x7f
	mul	w8, w8, w26
	stur	w8, [x29, #-152]
	ldr	w5, [x28]
	sub	x4, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x25
	mov	x3, x20
	bl	_iwe_stream_add_value
	mov	x25, x0
	add	x23, x23, #1
	ldrsw	x8, [x22, #24]
	cmp	x23, x8
	b.lt	LBB0_13
	b	LBB0_15
LBB0_14:
	ldur	x27, [x29, #-200]               ; 8-byte Folded Reload
LBB0_15:
	sub	x23, x25, x24
	mov	x0, x19
	bl	_iwe_stream_lcp_len
	cmp	x23, w0, sxtw
	csel	x1, x25, x24, gt
Lloh81:
	adrp	x8, _IWEVQUAL@GOTPAGE
Lloh82:
	ldr	x8, [x8, _IWEVQUAL@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x8]
Lloh84:
	adrp	x8, _IW_QUAL_QUAL_UPDATED@GOTPAGE
Lloh85:
	ldr	x8, [x8, _IW_QUAL_QUAL_UPDATED@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
Lloh87:
	adrp	x10, _IW_QUAL_LEVEL_UPDATED@GOTPAGE
Lloh88:
	ldr	x10, [x10, _IW_QUAL_LEVEL_UPDATED@GOTPAGEOFF]
Lloh89:
	ldr	w10, [x10]
	orr	w8, w10, w8
Lloh90:
	adrp	x10, _IW_QUAL_NOISE_UPDATED@GOTPAGE
Lloh91:
	ldr	x10, [x10, _IW_QUAL_NOISE_UPDATED@GOTPAGEOFF]
Lloh92:
	ldr	w10, [x10]
	orr	w8, w8, w10
	stur	w9, [x29, #-192]
	stur	w8, [x29, #-176]
	ldr	w9, [x22, #72]
Lloh93:
	adrp	x10, _LIBIPW_STATMASK_RSSI@GOTPAGE
Lloh94:
	ldr	x10, [x10, _LIBIPW_STATMASK_RSSI@GOTPAGEOFF]
Lloh95:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_18
; %bb.16:
	ldp	x11, x10, [x27]
	subs	x12, x11, x10
	b.ne	LBB0_20
; %bb.17:
	mov	w10, #100
	stur	w10, [x29, #-172]
	b	LBB0_23
LBB0_18:
Lloh96:
	adrp	x10, _IW_QUAL_QUAL_INVALID@GOTPAGE
Lloh97:
	ldr	x10, [x10, _IW_QUAL_QUAL_INVALID@GOTPAGEOFF]
Lloh98:
	adrp	x11, _IW_QUAL_LEVEL_INVALID@GOTPAGE
Lloh99:
	ldr	x11, [x11, _IW_QUAL_LEVEL_INVALID@GOTPAGEOFF]
Lloh100:
	ldr	w10, [x10]
Lloh101:
	ldr	w11, [x11]
	orr	w8, w10, w8
	orr	w8, w8, w11
	stur	w8, [x29, #-176]
LBB0_19:
	stur	wzr, [x29, #-172]
	b	LBB0_23
LBB0_20:
	mul	x13, x12, x12
	mov	w10, #100
	mul	x14, x13, x10
	ldrsw	x15, [x22, #76]
	sub	x11, x11, x15
	sub	x12, x12, x12, lsl #4
	mov	x15, #-62
	madd	x12, x11, x15, x12
	madd	x11, x12, x11, x14
	sdiv	x11, x11, x13
	stur	w11, [x29, #-172]
	cmp	w11, #101
	b.lt	LBB0_22
; %bb.21:
	stur	w10, [x29, #-172]
	b	LBB0_23
LBB0_22:
	cmp	w11, #0
	b.le	LBB0_19
LBB0_23:
Lloh102:
	adrp	x10, _LIBIPW_STATMASK_NOISE@GOTPAGE
Lloh103:
	ldr	x10, [x10, _LIBIPW_STATMASK_NOISE@GOTPAGEOFF]
Lloh104:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_25
; %bb.24:
	ldr	x10, [x22, #88]
	b	LBB0_26
LBB0_25:
	mov	x10, #0
Lloh105:
	adrp	x11, _IW_QUAL_NOISE_INVALID@GOTPAGE
Lloh106:
	ldr	x11, [x11, _IW_QUAL_NOISE_INVALID@GOTPAGEOFF]
Lloh107:
	ldr	w11, [x11]
	orr	w8, w8, w11
	stur	w8, [x29, #-176]
LBB0_26:
	stur	x10, [x29, #-160]
Lloh108:
	adrp	x10, _LIBIPW_STATMASK_SIGNAL@GOTPAGE
Lloh109:
	ldr	x10, [x10, _LIBIPW_STATMASK_SIGNAL@GOTPAGEOFF]
Lloh110:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_28
; %bb.27:
	ldr	x9, [x22, #80]
	b	LBB0_29
LBB0_28:
	mov	x9, #0
Lloh111:
	adrp	x10, _IW_QUAL_LEVEL_INVALID@GOTPAGE
Lloh112:
	ldr	x10, [x10, _IW_QUAL_LEVEL_INVALID@GOTPAGEOFF]
Lloh113:
	ldr	w10, [x10]
	orr	w8, w8, w10
	stur	w8, [x29, #-176]
LBB0_29:
	stur	x9, [x29, #-168]
Lloh114:
	adrp	x8, _IW_EV_QUAL_LEN@GOTPAGE
Lloh115:
	ldr	x8, [x8, _IW_EV_QUAL_LEN@GOTPAGEOFF]
Lloh116:
	ldr	w4, [x8]
	sub	x3, x29, #192
	mov	x0, x19
	mov	x2, x20
	bl	_iwe_stream_add_event
	mov	x24, x0
Lloh117:
	adrp	x28, _IWEVCUSTOM@GOTPAGE
Lloh118:
	ldr	x28, [x28, _IWEVCUSTOM@GOTPAGEOFF]
	ldr	x8, [x28]
	stur	w8, [x29, #-192]
	stur	wzr, [x29, #-180]
	sub	x0, x29, #192
	mov	w1, #0
	mov	w2, #104
	bl	_memset
	ldr	w8, [x22, #48]
Lloh119:
	adrp	x23, _MAX_WPA_IE_LEN@GOTPAGE
Lloh120:
	ldr	x23, [x23, _MAX_WPA_IE_LEN@GOTPAGEOFF]
Lloh121:
	adrp	x26, _IWEVGENIE@GOTPAGE
Lloh122:
	ldr	x26, [x26, _IWEVGENIE@GOTPAGEOFF]
	cbz	w8, LBB0_31
; %bb.30:
	mov	x27, sp
	ldr	w8, [x23]
	mov	x9, x8
Lloh123:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh124:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	ldr	w1, [x22, #68]
	ldr	w2, [x22, #48]
	mov	x0, x25
	bl	_memcpy
	ldr	x8, [x26]
	ldr	w9, [x22, #48]
	stur	w8, [x29, #-192]
	stur	w9, [x29, #-180]
	sub	x3, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	mov	x4, x25
	bl	_iwe_stream_add_point
	mov	x24, x0
	mov	sp, x27
LBB0_31:
	sub	x0, x29, #192
	mov	w1, #0
	mov	w2, #104
	bl	_memset
	ldr	w8, [x22, #52]
	cbz	w8, LBB0_33
; %bb.32:
	mov	x27, sp
	ldr	w8, [x23]
	mov	x9, x8
Lloh125:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh126:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	ldr	w1, [x22, #64]
	ldr	w2, [x22, #52]
	mov	x0, x25
	bl	_memcpy
	ldr	x8, [x26]
	ldr	w9, [x22, #52]
	stur	w8, [x29, #-192]
	stur	w9, [x29, #-180]
	sub	x3, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	mov	x4, x25
	bl	_iwe_stream_add_point
	mov	x24, x0
	mov	sp, x27
LBB0_33:
	ldur	x27, [x29, #-200]               ; 8-byte Folded Reload
	ldr	x8, [x28]
	stur	w8, [x29, #-192]
Lloh127:
	adrp	x23, _MAX_CUSTOM_LEN@GOTPAGE
Lloh128:
	ldr	x23, [x23, _MAX_CUSTOM_LEN@GOTPAGEOFF]
	ldr	w25, [x23]
	ldr	w0, [x22, #60]
	bl	_elapsed_jiffies_msecs
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh129:
	adrp	x2, l_.str.1@PAGE
Lloh130:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x25
	bl	_snprintf
	add	sp, sp, #16
	stur	w0, [x29, #-180]
	cbz	w0, LBB0_35
; %bb.34:
	sub	x3, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	mov	x4, x21
	bl	_iwe_stream_add_point
	mov	x24, x0
LBB0_35:
	mov	w8, #-1
	stur	w8, [x29, #-192]
	ldr	w1, [x23]
Lloh131:
	adrp	x2, l_.str.2@PAGE
Lloh132:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_snprintf
	mov	x26, x0
	add	x25, x21, w0, sxtw
	ldr	w1, [x22, #56]
	mov	x0, x27
	bl	_libipw_get_channel_flags
Lloh133:
	adrp	x8, _LIBIPW_CH_INVALID@GOTPAGE
Lloh134:
	ldr	x8, [x8, _LIBIPW_CH_INVALID@GOTPAGEOFF]
Lloh135:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_37
; %bb.36:
	ldr	x8, [x28]
	stur	w8, [x29, #-192]
	ldr	w8, [x23]
	sub	w1, w8, w26
Lloh136:
	adrp	x2, l_.str.3@PAGE
Lloh137:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x25
	bl	_snprintf
	add	x25, x25, w0, sxtw
LBB0_37:
	ldr	w1, [x22, #56]
	mov	x0, x27
	bl	_libipw_get_channel_flags
Lloh138:
	adrp	x8, _LIBIPW_CH_RADAR_DETECT@GOTPAGE
Lloh139:
	ldr	x8, [x8, _LIBIPW_CH_RADAR_DETECT@GOTPAGEOFF]
Lloh140:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_39
; %bb.38:
	ldr	x8, [x28]
	stur	w8, [x29, #-192]
	ldr	w8, [x23]
	sub	w9, w21, w25
	add	w1, w8, w9
Lloh141:
	adrp	x2, l_.str.4@PAGE
Lloh142:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x25
	bl	_snprintf
	add	x25, x25, w0, sxtw
LBB0_39:
	ldursw	x8, [x29, #-192]
	ldr	x9, [x28]
	cmp	x9, x8
	b.ne	LBB0_41
; %bb.40:
	sub	w8, w25, w21
	stur	w8, [x29, #-180]
	sub	x3, x29, #192
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	mov	x4, x21
	bl	_iwe_stream_add_point
	mov	x24, x0
LBB0_41:
	ldur	x8, [x29, #-88]
Lloh143:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh144:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh145:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_43
; %bb.42:
	mov	x0, x24
	sub	sp, x29, #80
	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	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_43:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh71
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdrp	Lloh56, Lloh58
	.loh AdrpLdr	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh100
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh121, Lloh122
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGot	Lloh123, Lloh124
	.loh AdrpLdrGot	Lloh125, Lloh126
	.loh AdrpAdd	Lloh129, Lloh130
	.loh AdrpLdrGot	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpAdd	Lloh131, Lloh132
	.loh AdrpAdd	Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpAdd	Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CUSTOM_LEN,4,2             ; @MAX_CUSTOM_LEN
	.comm	_SIOCGIWAP,4,2                  ; @SIOCGIWAP
	.comm	_ARPHRD_ETHER,4,2               ; @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IW_EV_ADDR_LEN,4,2             ; @IW_EV_ADDR_LEN
	.comm	_SIOCGIWESSID,4,2               ; @SIOCGIWESSID
	.comm	_SIOCGIWNAME,4,2                ; @SIOCGIWNAME
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IEEE 802.11%s"

	.comm	_libipw_modes,8,3               ; @libipw_modes
	.comm	_IW_EV_CHAR_LEN,4,2             ; @IW_EV_CHAR_LEN
	.comm	_SIOCGIWMODE,4,2                ; @SIOCGIWMODE
	.comm	_WLAN_CAPABILITY_ESS,4,2        ; @WLAN_CAPABILITY_ESS
	.comm	_WLAN_CAPABILITY_IBSS,4,2       ; @WLAN_CAPABILITY_IBSS
	.comm	_IW_MODE_MASTER,4,2             ; @IW_MODE_MASTER
	.comm	_IW_MODE_ADHOC,4,2              ; @IW_MODE_ADHOC
	.comm	_IW_EV_UINT_LEN,4,2             ; @IW_EV_UINT_LEN
	.comm	_SIOCGIWFREQ,4,2                ; @SIOCGIWFREQ
	.comm	_IW_EV_FREQ_LEN,4,2             ; @IW_EV_FREQ_LEN
	.comm	_SIOCGIWENCODE,4,2              ; @SIOCGIWENCODE
	.comm	_WLAN_CAPABILITY_PRIVACY,4,2    ; @WLAN_CAPABILITY_PRIVACY
	.comm	_IW_ENCODE_ENABLED,4,2          ; @IW_ENCODE_ENABLED
	.comm	_IW_ENCODE_NOKEY,4,2            ; @IW_ENCODE_NOKEY
	.comm	_IW_ENCODE_DISABLED,4,2         ; @IW_ENCODE_DISABLED
	.comm	_SIOCGIWRATE,4,2                ; @SIOCGIWRATE
	.comm	_IW_EV_PARAM_LEN,4,2            ; @IW_EV_PARAM_LEN
	.comm	_IWEVQUAL,4,2                   ; @IWEVQUAL
	.comm	_IW_QUAL_QUAL_UPDATED,4,2       ; @IW_QUAL_QUAL_UPDATED
	.comm	_IW_QUAL_LEVEL_UPDATED,4,2      ; @IW_QUAL_LEVEL_UPDATED
	.comm	_IW_QUAL_NOISE_UPDATED,4,2      ; @IW_QUAL_NOISE_UPDATED
	.comm	_LIBIPW_STATMASK_RSSI,4,2       ; @LIBIPW_STATMASK_RSSI
	.comm	_IW_QUAL_QUAL_INVALID,4,2       ; @IW_QUAL_QUAL_INVALID
	.comm	_IW_QUAL_LEVEL_INVALID,4,2      ; @IW_QUAL_LEVEL_INVALID
	.comm	_LIBIPW_STATMASK_NOISE,4,2      ; @LIBIPW_STATMASK_NOISE
	.comm	_IW_QUAL_NOISE_INVALID,4,2      ; @IW_QUAL_NOISE_INVALID
	.comm	_LIBIPW_STATMASK_SIGNAL,4,2     ; @LIBIPW_STATMASK_SIGNAL
	.comm	_IW_EV_QUAL_LEN,4,2             ; @IW_EV_QUAL_LEN
	.comm	_IWEVCUSTOM,8,3                 ; @IWEVCUSTOM
	.comm	_MAX_WPA_IE_LEN,4,2             ; @MAX_WPA_IE_LEN
	.comm	_IWEVGENIE,8,3                  ; @IWEVGENIE
l_.str.1:                               ; @.str.1
	.asciz	" Last beacon: %ums ago"

l_.str.2:                               ; @.str.2
	.asciz	" Channel flags: "

	.comm	_LIBIPW_CH_INVALID,4,2          ; @LIBIPW_CH_INVALID
l_.str.3:                               ; @.str.3
	.asciz	"INVALID "

	.comm	_LIBIPW_CH_RADAR_DETECT,4,2     ; @LIBIPW_CH_RADAR_DETECT
l_.str.4:                               ; @.str.4
	.asciz	"DFS "

	.no_dead_strip	_libipw_translate_scan
.subsections_via_symbols
