	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prism2_ap_translate_scan       ## -- Begin function prism2_ap_translate_scan
	.p2align	4, 0x90
_prism2_ap_translate_scan:              ## @prism2_ap_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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IW_SCAN_MAX_DATA@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movq	8(%rbx), %r15
	movq	%r14, %rax
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	testq	%r15, %r15
	je	LBB0_20
## %bb.1:
	movq	-144(%rbp), %rax                ## 8-byte Reload
	addq	$8, %rax
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	cmpq	%rax, %r15
	je	LBB0_20
## %bb.2:
	movq	-120(%rbp), %r14                ## 8-byte Reload
	addq	%r14, %r13
	leaq	-216(%rbp), %r12
	movq	%r13, -224(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_SIOCGIWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -168(%rbp)
	movl	-172(%rbp), %edi
	movl	48(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_IW_EV_ADDR_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r8, -152(%rbp)
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_iwe_stream_add_event
	movq	%rax, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_SIOCGIWMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	cmpq	$0, 40(%r15)
	movq	_IW_MODE_MASTER@GOTPCREL(%rip), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_IW_MODE_INFRA@GOTPCREL(%rip), %rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
	movl	%eax, -176(%rbp)
	movq	_IW_EV_UINT_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r8, -152(%rbp)
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_iwe_stream_add_event
	movq	%rax, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_IWEVQUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	movl	(%r15), %ecx
	movl	4(%r15), %edi
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edi, %eax
	subl	%ecx, %eax
	addl	$-35, %eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	cmpl	$27, %edi
	jl	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	imull	$92, %edi, %eax
	movl	%eax, %ecx
	addl	$-2484, %ecx                    ## imm = 0xF64C
	movslq	%ecx, %rcx
	imulq	$-2130574327, %rcx, %rcx        ## imm = 0x81020409
	shrq	$32, %rcx
	addl	%ecx, %eax
	addl	$-2484, %eax                    ## imm = 0xF64C
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$6, %eax
	addl	%ecx, %eax
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, -200(%rbp)
	callq	_HFA384X_LEVEL_TO_dBm
	movq	%rax, -184(%rbp)
	movl	(%r15), %edi
	callq	_HFA384X_LEVEL_TO_dBm
	movq	%rax, -192(%rbp)
	movl	16(%r15), %eax
	movl	%eax, -196(%rbp)
	movq	_IW_EV_QUAL_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r8, -152(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_iwe_stream_add_event
	movq	%r14, %rbx
	movq	%rax, %r14
	cmpq	$0, 40(%r15)
	je	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_SIOCGIWESSID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	movl	36(%r15), %eax
	movl	%eax, -212(%rbp)
	movl	$1, -216(%rbp)
	movq	24(%r15), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_iwe_stream_add_point
	movq	%rax, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_SIOCGIWENCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	movq	_WLAN_CAPABILITY_PRIVACY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%r15), %eax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_IW_ENCODE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_IW_ENCODE_NOKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IW_ENCODE_ENABLED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, -216(%rbp)
	movq	24(%r15), %r8
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_iwe_stream_add_point
	movq	%rax, %rbx
	movl	32(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_FREQ_COUNT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_SIOCGIWFREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	movq	_freq_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	32(%r15), %rcx
	imull	$100000, -4(%rax,%rcx,4), %eax  ## imm = 0x186A0
	movl	%eax, -208(%rbp)
	movl	$1, -204(%rbp)
	movq	_IW_EV_FREQ_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_iwe_stream_add_event
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_IWEVCUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	movl	12(%r15), %edx
	leaq	-112(%rbp), %r13
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	movq	%r13, %rdi
	callq	_strlen
	movl	%eax, -212(%rbp)
	movq	%r14, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_iwe_stream_add_point
	movq	%rax, %r14
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_IW_QUAL_DBM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	(%r15), %r15
	testq	%r15, %r15
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-232(%rbp), %r15                ## 8-byte Folded Reload
	movq	-224(%rbp), %r13                ## 8-byte Reload
	jne	LBB0_3
LBB0_20:
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock_bh
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	subl	-120(%rbp), %r14d               ## 4-byte Folded Reload
	movl	%r14d, %eax
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IW_SCAN_MAX_DATA,4,2           ## @IW_SCAN_MAX_DATA
	.comm	_SIOCGIWAP,4,2                  ## @SIOCGIWAP
	.comm	_ARPHRD_ETHER,4,2               ## @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IW_EV_ADDR_LEN,8,3             ## @IW_EV_ADDR_LEN
	.comm	_SIOCGIWMODE,4,2                ## @SIOCGIWMODE
	.comm	_IW_MODE_MASTER,4,2             ## @IW_MODE_MASTER
	.comm	_IW_MODE_INFRA,4,2              ## @IW_MODE_INFRA
	.comm	_IW_EV_UINT_LEN,8,3             ## @IW_EV_UINT_LEN
	.comm	_IWEVQUAL,4,2                   ## @IWEVQUAL
	.comm	_IW_EV_QUAL_LEN,8,3             ## @IW_EV_QUAL_LEN
	.comm	_SIOCGIWESSID,4,2               ## @SIOCGIWESSID
	.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	_FREQ_COUNT,4,2                 ## @FREQ_COUNT
	.comm	_SIOCGIWFREQ,4,2                ## @SIOCGIWFREQ
	.comm	_freq_list,8,3                  ## @freq_list
	.comm	_IW_EV_FREQ_LEN,8,3             ## @IW_EV_FREQ_LEN
	.comm	_IWEVCUSTOM,4,2                 ## @IWEVCUSTOM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"beacon_interval=%d"

	.comm	_IW_QUAL_DBM,4,2                ## @IW_QUAL_DBM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prism2_ap_translate_scan       ; -- Begin function prism2_ap_translate_scan
	.p2align	2
_prism2_ap_translate_scan:              ; @prism2_ap_translate_scan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	mov	x24, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _IW_SCAN_MAX_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IW_SCAN_MAX_DATA@GOTPAGEOFF]
Lloh5:
	ldrsw	x21, [x8]
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x25, [x8]
	mov	x0, x25
	bl	_spin_lock_bh
	stp	x25, x24, [sp, #8]              ; 16-byte Folded Spill
	ldr	x26, [x25, #8]!
	cmp	x26, #0
	ccmp	x26, x25, #4, ne
	b.eq	LBB0_14
; %bb.1:
Lloh6:
	adrp	x28, _IW_MODE_MASTER@GOTPAGE
Lloh7:
	ldr	x28, [x28, _IW_MODE_MASTER@GOTPAGEOFF]
Lloh8:
	adrp	x19, _IW_EV_UINT_LEN@GOTPAGE
Lloh9:
	ldr	x19, [x19, _IW_EV_UINT_LEN@GOTPAGEOFF]
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
	add	x22, x24, x21
Lloh10:
	adrp	x21, _IWEVQUAL@GOTPAGE
Lloh11:
	ldr	x21, [x21, _IWEVQUAL@GOTPAGEOFF]
Lloh12:
	adrp	x23, _IW_EV_QUAL_LEN@GOTPAGE
Lloh13:
	ldr	x23, [x23, _IW_EV_QUAL_LEN@GOTPAGEOFF]
Lloh14:
	adrp	x27, _IW_QUAL_DBM@GOTPAGE
Lloh15:
	ldr	x27, [x27, _IW_QUAL_DBM@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh16:
	adrp	x8, _SIOCGIWAP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SIOCGIWAP@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	str	w8, [sp, #80]
	str	w9, [sp, #72]
	ldr	w0, [sp, #68]
	ldr	w1, [x26, #48]
Lloh22:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	bl	_memcpy
Lloh25:
	adrp	x8, _IW_EV_ADDR_LEN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IW_EV_ADDR_LEN@GOTPAGEOFF]
Lloh27:
	ldr	x4, [x8]
	str	x4, [sp, #88]
	add	x3, sp, #24
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_iwe_stream_add_event
	mov	x24, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh28:
	adrp	x8, _SIOCGIWMODE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SIOCGIWMODE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [sp, #80]
	ldr	x8, [x26, #40]
	cmp	x8, #0
Lloh31:
	adrp	x8, _IW_MODE_INFRA@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IW_MODE_INFRA@GOTPAGEOFF]
	csel	x8, x8, x28, eq
	ldr	w8, [x8]
	str	w8, [sp, #64]
	ldr	x4, [x19]
	str	x4, [sp, #88]
	add	x3, sp, #24
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_iwe_stream_add_event
	mov	x24, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	ldr	w8, [x21]
	str	w8, [sp, #80]
	ldp	w8, w0, [x26]
	cbz	w8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w0, w8
	sub	w8, w8, #35
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #27
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #92
	mul	w8, w0, w8
	sub	w8, w8, #2484
	mov	w9, #1033
	movk	w9, #33026, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #6
	add	w8, w9, w8, lsr #31
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w8, [sp, #40]
	bl	_HFA384X_LEVEL_TO_dBm
	str	x0, [sp, #56]
	ldr	w0, [x26]
	bl	_HFA384X_LEVEL_TO_dBm
	str	x0, [sp, #48]
	ldr	w8, [x26, #16]
	str	w8, [sp, #44]
	ldr	x4, [x23]
	str	x4, [sp, #88]
	add	x3, sp, #24
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_iwe_stream_add_event
	mov	x24, x0
	ldr	x8, [x26, #40]
	cbz	x8, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh33:
	adrp	x8, _SIOCGIWESSID@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SIOCGIWESSID@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [sp, #80]
	ldr	w9, [x26, #36]
	mov	w8, #1
	stp	w8, w9, [sp, #24]
	ldr	x4, [x26, #24]
	add	x3, sp, #24
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_iwe_stream_add_point
	mov	x24, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh36:
	adrp	x8, _SIOCGIWENCODE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SIOCGIWENCODE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [sp, #80]
	ldr	w8, [x26, #8]
Lloh39:
	adrp	x9, _WLAN_CAPABILITY_PRIVACY@GOTPAGE
Lloh40:
	ldr	x9, [x9, _WLAN_CAPABILITY_PRIVACY@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
Lloh42:
	adrp	x10, _IW_ENCODE_DISABLED@GOTPAGE
Lloh43:
	ldr	x10, [x10, _IW_ENCODE_DISABLED@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
Lloh45:
	adrp	x11, _IW_ENCODE_ENABLED@GOTPAGE
Lloh46:
	ldr	x11, [x11, _IW_ENCODE_ENABLED@GOTPAGEOFF]
Lloh47:
	ldr	w11, [x11]
Lloh48:
	adrp	x12, _IW_ENCODE_NOKEY@GOTPAGE
Lloh49:
	ldr	x12, [x12, _IW_ENCODE_NOKEY@GOTPAGEOFF]
Lloh50:
	ldr	w12, [x12]
	orr	w11, w12, w11
	tst	w9, w8
	csel	w8, w10, w11, eq
	str	w8, [sp, #24]
	ldr	x4, [x26, #24]
	add	x3, sp, #24
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_iwe_stream_add_point
	mov	x24, x0
	ldr	w8, [x26, #32]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh51:
	adrp	x9, _FREQ_COUNT@GOTPAGE
Lloh52:
	ldr	x9, [x9, _FREQ_COUNT@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh54:
	adrp	x8, _SIOCGIWFREQ@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SIOCGIWFREQ@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	str	w8, [sp, #80]
Lloh57:
	adrp	x8, _freq_list@GOTPAGE
Lloh58:
	ldr	x8, [x8, _freq_list@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
	ldrsw	x9, [x26, #32]
	add	x8, x8, x9, lsl #2
	ldur	w8, [x8, #-4]
	mov	w9, #34464
	movk	w9, #1, lsl #16
	mul	w10, w8, w9
	mov	w8, #1
	stp	w10, w8, [sp, #32]
Lloh60:
	adrp	x8, _IW_EV_FREQ_LEN@GOTPAGE
Lloh61:
	ldr	x8, [x8, _IW_EV_FREQ_LEN@GOTPAGEOFF]
Lloh62:
	ldr	x4, [x8]
	add	x3, sp, #24
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_iwe_stream_add_event
	mov	x24, x0
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh63:
	adrp	x8, _IWEVCUSTOM@GOTPAGE
Lloh64:
	ldr	x8, [x8, _IWEVCUSTOM@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	str	w8, [sp, #80]
	ldr	w2, [x26, #12]
	add	x0, sp, #96
Lloh66:
	adrp	x1, l_.str@PAGE
Lloh67:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	add	x0, sp, #96
	bl	_strlen
	str	w0, [sp, #28]
	add	x3, sp, #24
	add	x4, sp, #96
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_iwe_stream_add_point
	mov	x24, x0
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x27]
	str	w8, [x26, #16]
	ldr	x26, [x26]
	cbz	x26, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	x26, x25
	b.ne	LBB0_2
LBB0_14:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_spin_unlock_bh
	ldur	x8, [x29, #-96]
Lloh68:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh69:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	sub	w0, w24, w8
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_IW_SCAN_MAX_DATA,4,2           ; @IW_SCAN_MAX_DATA
	.comm	_SIOCGIWAP,4,2                  ; @SIOCGIWAP
	.comm	_ARPHRD_ETHER,4,2               ; @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IW_EV_ADDR_LEN,8,3             ; @IW_EV_ADDR_LEN
	.comm	_SIOCGIWMODE,4,2                ; @SIOCGIWMODE
	.comm	_IW_MODE_MASTER,4,2             ; @IW_MODE_MASTER
	.comm	_IW_MODE_INFRA,4,2              ; @IW_MODE_INFRA
	.comm	_IW_EV_UINT_LEN,8,3             ; @IW_EV_UINT_LEN
	.comm	_IWEVQUAL,4,2                   ; @IWEVQUAL
	.comm	_IW_EV_QUAL_LEN,8,3             ; @IW_EV_QUAL_LEN
	.comm	_SIOCGIWESSID,4,2               ; @SIOCGIWESSID
	.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	_FREQ_COUNT,4,2                 ; @FREQ_COUNT
	.comm	_SIOCGIWFREQ,4,2                ; @SIOCGIWFREQ
	.comm	_freq_list,8,3                  ; @freq_list
	.comm	_IW_EV_FREQ_LEN,8,3             ; @IW_EV_FREQ_LEN
	.comm	_IWEVCUSTOM,4,2                 ; @IWEVCUSTOM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"beacon_interval=%d"

	.comm	_IW_QUAL_DBM,4,2                ; @IW_QUAL_DBM
.subsections_via_symbols
