	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function wpas_p2p_setup_freqs
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_wpas_p2p_setup_freqs:                  ## @wpas_p2p_setup_freqs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	16(%rbp), %rcx
	movl	(%rcx), %eax
	movl	%eax, -60(%rbp)
	movl	$0, (%rcx)
	movl	32(%rdi), %edi
	movl	$4, %esi
	callq	_os_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	32(%r14), %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_wpas_p2p_valid_oper_freqs
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_wpas_p2p_num_unused_channels
	movl	%eax, %ebx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movl	%r13d, %r8d
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_wpa_printf
	testl	%r12d, %r12d
	jle	LBB0_29
## %bb.3:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:
	movl	%r12d, %esi
	callq	_p2p_supported_freq
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_56
LBB0_29:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_wpas_p2p_pick_best_used_freq
	movl	%eax, %r12d
	movq	16(%r14), %rax
	cmpl	$0, (%rax)
	jne	LBB0_45
## %bb.30:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_45
## %bb.31:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	jne	LBB0_32
## %bb.33:
	movq	_WPA_IF_P2P_CLIENT@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_5:
	movl	%r12d, %esi
	callq	_p2p_supported_freq_cli
	testl	%eax, %eax
	jne	LBB0_10
LBB0_7:
	movq	_WPA_DRIVER_FLAGS_DFS_OFFLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_57
## %bb.8:
	movl	24(%r14), %edx
	movl	28(%r14), %esi
	movl	%r12d, %edi
	callq	_ieee80211_is_dfs
	testq	%rax, %rax
	je	LBB0_57
## %bb.9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_10:
	xorl	%edx, %edx
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.12:
	movl	%r13d, %eax
	cmpl	$8, %r13d
	jae	LBB0_14
## %bb.13:
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_11:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_14:
	movl	%eax, %ecx
	andl	$-8, %ecx
	movd	%r12d, %xmm0
	pshufd	$0, %xmm0, %xmm3                ## xmm3 = xmm0[0,0,0,0]
	leaq	-8(%rcx), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.16:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	xorps	%xmm2, %xmm2
	xorl	%esi, %esi
	movaps	LCPI0_0(%rip), %xmm5            ## xmm5 = [1,1,1,1]
	xorps	%xmm4, %xmm4
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%r15,%rsi,4), %xmm6
	movdqu	16(%r15,%rsi,4), %xmm7
	movdqu	32(%r15,%rsi,4), %xmm0
	movdqu	48(%r15,%rsi,4), %xmm1
	pcmpeqd	%xmm3, %xmm6
	pcmpeqd	%xmm3, %xmm7
	pcmpeqd	%xmm3, %xmm0
	por	%xmm6, %xmm0
	pcmpeqd	%xmm3, %xmm1
	por	%xmm7, %xmm1
	blendvps	%xmm0, %xmm5, %xmm2
	movdqa	%xmm1, %xmm0
	blendvps	%xmm0, %xmm5, %xmm4
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_17
## %bb.18:
	testb	$1, %dl
	je	LBB0_20
LBB0_19:
	movdqu	(%r15,%rsi,4), %xmm0
	movdqu	16(%r15,%rsi,4), %xmm1
	pcmpeqd	%xmm3, %xmm0
	pcmpeqd	%xmm3, %xmm1
	movaps	LCPI0_0(%rip), %xmm3            ## xmm3 = [1,1,1,1]
	blendvps	%xmm0, %xmm3, %xmm2
	movdqa	%xmm1, %xmm0
	blendvps	%xmm0, %xmm3, %xmm4
LBB0_20:
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm2, %xmm0
	blendvps	%xmm0, %xmm4, %xmm2
	xorl	%edx, %edx
	ptest	%xmm2, %xmm2
	setne	%dl
	cmpq	%rax, %rcx
	je	LBB0_23
LBB0_21:
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%r15,%rcx,4)
	cmovel	%esi, %edx
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_22
LBB0_23:
	testl	%edx, %edx
	setne	%dl
LBB0_24:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%ebx, %ebx
	jg	LBB0_27
## %bb.25:
	testb	%dl, %dl
	jne	LBB0_27
## %bb.26:
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_54:
	movl	$-2, %ebx
	jmp	LBB0_55
LBB0_27:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_28
LBB0_57:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-3, %ebx
	jmp	LBB0_55
LBB0_15:
	xorps	%xmm2, %xmm2
	xorl	%esi, %esi
	xorps	%xmm4, %xmm4
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testb	$1, %dl
	jne	LBB0_19
	jmp	LBB0_20
LBB0_32:
	movq	_WPA_IF_P2P_GO@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %r13d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	-60(%rbp), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_wpa_drv_get_pref_freq_list
	testl	%eax, %eax
	jne	LBB0_44
## %bb.35:
	movl	-60(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_44
## %bb.36:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rbp), %rcx
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_37 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13,%rbx,4), %ecx
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	incq	%rbx
	movq	16(%rbp), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	jae	LBB0_41
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	(%r13,%rbx,4), %esi
	callq	_p2p_supported_freq
	testl	%eax, %eax
	je	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	movq	8(%r14), %rdi
	movl	(%r13,%rbx,4), %esi
	callq	_wpas_p2p_disallowed_freq
	testq	%rax, %rax
	jne	LBB0_40
## %bb.39:
	movq	16(%rbp), %rax
	movl	(%rax), %eax
LBB0_41:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	cmpl	%ebx, %eax
	jne	LBB0_42
## %bb.43:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	16(%rbp), %rax
	movl	$0, (%rax)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_46
LBB0_44:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_45:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_46:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	testl	%r12d, %r12d
	jle	LBB0_51
## %bb.47:
	movl	(%rax), %edi
	testl	%ebx, %ebx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_50
## %bb.48:
	cmpl	$0, (%r13)
	jne	LBB0_50
## %bb.49:
	leaq	L_.str.10(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	%r12d, (%r13)
	jmp	LBB0_55
LBB0_51:
	movl	(%rax), %edi
	testl	%ebx, %ebx
	jle	LBB0_53
## %bb.52:
	leaq	L_.str.12(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$0, (%r14)
	jmp	LBB0_55
LBB0_50:
	leaq	L_.str.11(%rip), %rsi
LBB0_28:
	xorl	%ebx, %ebx
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	%r12d, (%r14)
LBB0_55:
	movq	%r15, %rdi
	callq	_os_free
LBB0_56:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	leaq	L_.str.13(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_54
LBB0_42:
	movl	%ebx, %eax
	movl	(%r13,%rax,4), %r12d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_46
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P: Setup freqs: freq=%d num_MCC=%d shared_freqs=%u num_unused=%d"

	.comm	_WPA_DRIVER_FLAGS_DFS_OFFLOAD,4,2 ## @WPA_DRIVER_FLAGS_DFS_OFFLOAD
L_.str.1:                               ## @.str.1
	.asciz	"P2P: The forced channel for GO (%u MHz) is DFS, and DFS is offloaded to the driver"

L_.str.2:                               ## @.str.2
	.asciz	"P2P: The forced channel (%u MHz) is not supported for P2P uses"

L_.str.3:                               ## @.str.3
	.asciz	"P2P: Cannot start P2P group on %u MHz as there are no available channels"

L_.str.4:                               ## @.str.4
	.asciz	"P2P: Trying to force us to use the requested channel (%u MHz)"

	.comm	_WPA_IF_P2P_GO,4,2              ## @WPA_IF_P2P_GO
	.comm	_WPA_IF_P2P_CLIENT,4,2          ## @WPA_IF_P2P_CLIENT
L_.str.5:                               ## @.str.5
	.asciz	"P2P: best_freq=%d, go=%d"

L_.str.6:                               ## @.str.6
	.asciz	"P2P: preferred_freq_list[%d]=%d is disallowed"

L_.str.7:                               ## @.str.7
	.asciz	"P2P: Using preferred_freq_list[%d]=%d"

L_.str.8:                               ## @.str.8
	.asciz	"P2P: All driver preferred frequencies are disallowed for P2P use"

L_.str.9:                               ## @.str.9
	.asciz	"P2P: No preferred frequency list available"

L_.str.10:                              ## @.str.10
	.asciz	"P2P: Try to prefer a frequency (%u MHz) we are already using"

L_.str.11:                              ## @.str.11
	.asciz	"P2P: Try to force us to use frequency (%u MHz) which is already in use"

L_.str.12:                              ## @.str.12
	.asciz	"P2P: Current operating channels are not available for P2P. Try to use another channel"

L_.str.13:                              ## @.str.13
	.asciz	"P2P: All channels are in use and none of them are P2P enabled. Cannot start P2P group"

	.no_dead_strip	_wpas_p2p_setup_freqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_p2p_setup_freqs
_wpas_p2p_setup_freqs:                  ; @wpas_p2p_setup_freqs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x25, x6
	mov	x26, x5
	mov	x28, x4
	mov	x23, x3
	mov	x20, x2
	mov	x22, x1
	mov	x24, x0
	ldr	w8, [x6]
	str	w8, [sp, #44]
	str	wzr, [x6]
	ldr	w0, [x0, #32]
	mov	w1, #4
	bl	_os_calloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	ldr	w2, [x24, #32]
	mov	x0, x24
	mov	x1, x19
	bl	_wpas_p2p_valid_oper_freqs
	mov	x27, x0
	mov	x0, x24
	bl	_wpas_p2p_num_unused_channels
	mov	x21, x0
Lloh0:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w8, [x24, #32]
	stp	x27, x21, [sp, #16]
	stp	x22, x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	cmp	w22, #1
	b.lt	LBB0_8
; %bb.2:
	ldr	x8, [x24, #8]
	ldr	w0, [x8]
	mov	x1, x22
	cbz	w28, LBB0_19
; %bb.3:
	bl	_p2p_supported_freq
	cbz	w0, LBB0_20
LBB0_4:
	cbz	w27, LBB0_23
LBB0_5:
	mov	w8, w27
	cmp	w27, #16
	b.hs	LBB0_24
; %bb.6:
	mov	x9, #0
	mov	w10, #0
	b	LBB0_27
LBB0_7:
	mov	w21, #-1
	b	LBB0_47
LBB0_8:
	mov	x0, x24
	mov	x1, x19
	mov	x2, x27
	bl	_wpas_p2p_pick_best_used_freq
	mov	x22, x0
	ldr	x8, [x24, #16]
	ldr	w8, [x8]
	cbnz	w8, LBB0_38
; %bb.9:
	ldr	w8, [x23]
	cbnz	w8, LBB0_38
; %bb.10:
Lloh4:
	adrp	x8, _WPA_IF_P2P_CLIENT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WPA_IF_P2P_CLIENT@GOTPAGEOFF]
Lloh6:
	adrp	x9, _WPA_IF_P2P_GO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WPA_IF_P2P_GO@GOTPAGEOFF]
	cmp	w28, #0
	csel	x8, x8, x9, eq
	ldr	w27, [x8]
	ldr	w0, [x20]
	stp	x22, x28, [sp]
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	add	x2, sp, #44
	mov	x0, x24
	mov	x1, x27
	mov	x3, x26
	bl	_wpa_drv_get_pref_freq_list
	cbnz	w0, LBB0_36
; %bb.11:
	ldr	w8, [sp, #44]
	cbz	w8, LBB0_36
; %bb.12:
	mov	x28, #0
	str	w8, [x25]
Lloh10:
	adrp	x27, l_.str.6@PAGE
Lloh11:
	add	x27, x27, l_.str.6@PAGEOFF
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x20]
	ldr	w8, [x26, x28, lsl #2]
	stp	x28, x8, [sp]
	mov	x1, x27
	bl	_wpa_printf
	add	x28, x28, #1
	ldr	w8, [x25]
	cmp	x28, x8
	b.hs	LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #8]
	ldr	w0, [x8]
	ldr	w1, [x26, x28, lsl #2]
	bl	_p2p_supported_freq
	cbz	w0, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [x24, #8]
	ldr	w1, [x26, x28, lsl #2]
	bl	_wpas_p2p_disallowed_freq
	cbnz	x0, LBB0_13
; %bb.16:
	ldr	w8, [x25]
LBB0_17:
	cmp	w8, w28
	b.ne	LBB0_37
; %bb.18:
	ldr	w0, [x20]
Lloh12:
	adrp	x1, l_.str.8@PAGE
Lloh13:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wpa_printf
	str	wzr, [x25]
	b	LBB0_38
LBB0_19:
	bl	_p2p_supported_freq_cli
	cbnz	w0, LBB0_4
LBB0_20:
	ldr	w8, [x24]
Lloh14:
	adrp	x9, _WPA_DRIVER_FLAGS_DFS_OFFLOAD@GOTPAGE
Lloh15:
	ldr	x9, [x9, _WPA_DRIVER_FLAGS_DFS_OFFLOAD@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.21:
	ldp	w2, w1, [x24, #24]
	mov	x0, x22
	bl	_ieee80211_is_dfs
	cbz	x0, LBB0_35
; %bb.22:
	ldr	w0, [x20]
	mov	x8, x22
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	cbnz	w27, LBB0_5
LBB0_23:
	mov	w8, #0
	b	LBB0_30
LBB0_24:
	and	x9, x8, #0xfffffff0
	dup.4s	v1, w22
	add	x10, x19, #32
	movi.2d	v0, #0000000000000000
	movi.4s	v3, #1
	mov	x11, x9
	movi.2d	v5, #0000000000000000
	movi.2d	v4, #0000000000000000
	movi.2d	v2, #0000000000000000
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldp	q6, q7, [x10, #-32]
	ldp	q16, q17, [x10], #64
	cmeq.4s	v6, v6, v1
	cmeq.4s	v7, v7, v1
	cmeq.4s	v16, v16, v1
	cmeq.4s	v17, v17, v1
	bit.16b	v0, v3, v6
	bit.16b	v5, v3, v7
	bit.16b	v4, v3, v16
	bit.16b	v2, v3, v17
	subs	x11, x11, #16
	b.ne	LBB0_25
; %bb.26:
	cmeq.4s	v1, v0, #0
	bit.16b	v0, v5, v1
	cmeq.4s	v1, v0, #0
	bit.16b	v0, v4, v1
	cmeq.4s	v1, v0, #0
	bit.16b	v0, v2, v1
	cmtst.4s	v0, v0, v0
	xtn.4h	v0, v0
	umov.h	w10, v0[0]
	umov.h	w11, v0[1]
	and	w11, w11, #0x1
	bfi	w10, w11, #1, #1
	umov.h	w11, v0[2]
	and	w11, w11, #0x1
	bfi	w10, w11, #2, #1
	umov.h	w11, v0[3]
	bfi	w10, w11, #3, #29
	tst	w10, #0xf
	cset	w10, ne
	cmp	x9, x8
	b.eq	LBB0_29
LBB0_27:
	add	x11, x19, x9, lsl #2
	sub	x8, x8, x9
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11], #4
	cmp	w9, w22
	csinc	w10, w10, wzr, ne
	subs	x8, x8, #1
	b.ne	LBB0_28
LBB0_29:
	cmp	w10, #0
	cset	w8, ne
LBB0_30:
	ldr	w0, [x20]
	cmp	w21, #0
	b.gt	LBB0_34
; %bb.31:
	tbnz	w8, #0, LBB0_34
; %bb.32:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	str	x22, [sp]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_33:
	bl	_wpa_printf
	mov	w21, #-2
	b	LBB0_46
LBB0_34:
	mov	x8, x22
	str	x8, [sp]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_45
LBB0_35:
	ldr	w0, [x20]
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	str	x22, [sp]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	w21, #-3
	b	LBB0_46
LBB0_36:
	ldr	w0, [x20]
Lloh25:
	adrp	x1, l_.str.9@PAGE
Lloh26:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_printf
	b	LBB0_38
LBB0_37:
	ldr	w22, [x26, w28, uxtw #2]
	ldr	w0, [x20]
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	stp	x28, x22, [sp]
Lloh27:
	adrp	x1, l_.str.7@PAGE
Lloh28:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_38:
	cmp	w22, #1
	b.lt	LBB0_42
; %bb.39:
	ldr	w0, [x20]
	cmp	w21, #1
	b.lt	LBB0_44
; %bb.40:
	ldr	w8, [x23]
	cbnz	w8, LBB0_44
; %bb.41:
	mov	x8, x22
	str	x8, [sp]
Lloh29:
	adrp	x1, l_.str.10@PAGE
Lloh30:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	mov	w21, #0
	str	w22, [x23]
	b	LBB0_46
LBB0_42:
	ldr	w0, [x20]
	cmp	w21, #1
	b.lt	LBB0_48
; %bb.43:
Lloh31:
	adrp	x1, l_.str.12@PAGE
Lloh32:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_printf
	mov	w21, #0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	wzr, [x8]
	b	LBB0_46
LBB0_44:
	mov	x8, x22
	str	x8, [sp]
Lloh33:
	adrp	x1, l_.str.11@PAGE
Lloh34:
	add	x1, x1, l_.str.11@PAGEOFF
LBB0_45:
	bl	_wpa_printf
	mov	w21, #0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	w22, [x8]
LBB0_46:
	mov	x0, x19
	bl	_os_free
LBB0_47:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_48:
Lloh35:
	adrp	x1, l_.str.13@PAGE
Lloh36:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_33
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P: Setup freqs: freq=%d num_MCC=%d shared_freqs=%u num_unused=%d"

	.comm	_WPA_DRIVER_FLAGS_DFS_OFFLOAD,4,2 ; @WPA_DRIVER_FLAGS_DFS_OFFLOAD
l_.str.1:                               ; @.str.1
	.asciz	"P2P: The forced channel for GO (%u MHz) is DFS, and DFS is offloaded to the driver"

l_.str.2:                               ; @.str.2
	.asciz	"P2P: The forced channel (%u MHz) is not supported for P2P uses"

l_.str.3:                               ; @.str.3
	.asciz	"P2P: Cannot start P2P group on %u MHz as there are no available channels"

l_.str.4:                               ; @.str.4
	.asciz	"P2P: Trying to force us to use the requested channel (%u MHz)"

	.comm	_WPA_IF_P2P_GO,4,2              ; @WPA_IF_P2P_GO
	.comm	_WPA_IF_P2P_CLIENT,4,2          ; @WPA_IF_P2P_CLIENT
l_.str.5:                               ; @.str.5
	.asciz	"P2P: best_freq=%d, go=%d"

l_.str.6:                               ; @.str.6
	.asciz	"P2P: preferred_freq_list[%d]=%d is disallowed"

l_.str.7:                               ; @.str.7
	.asciz	"P2P: Using preferred_freq_list[%d]=%d"

l_.str.8:                               ; @.str.8
	.asciz	"P2P: All driver preferred frequencies are disallowed for P2P use"

l_.str.9:                               ; @.str.9
	.asciz	"P2P: No preferred frequency list available"

l_.str.10:                              ; @.str.10
	.asciz	"P2P: Try to prefer a frequency (%u MHz) we are already using"

l_.str.11:                              ; @.str.11
	.asciz	"P2P: Try to force us to use frequency (%u MHz) which is already in use"

l_.str.12:                              ; @.str.12
	.asciz	"P2P: Current operating channels are not available for P2P. Try to use another channel"

l_.str.13:                              ; @.str.13
	.asciz	"P2P: All channels are in use and none of them are P2P enabled. Cannot start P2P group"

	.no_dead_strip	_wpas_p2p_setup_freqs
.subsections_via_symbols
