	.file	"extr_p2p_supplicant.c_wpas_check_freq_conflict.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"P2P: Frequency %d MHz in use by another virtual interface and can be used"
	.align 8
.LC1:
	.string	"P2P: No valid operating frequencies"
	.text
	.p2align 4
	.type	wpas_check_freq_conflict, @function
wpas_check_freq_conflict:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	wpas_p2p_num_unused_channels@PLT
	test	rax, rax
	jle	.L16
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, 4
	mov	r13d, 1
	call	os_calloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR 0[rbp]
	mov	rsi, rax
	mov	rdi, rbp
	call	wpas_p2p_valid_oper_freqs@PLT
	test	eax, eax
	je	.L3
	sub	eax, 1
	mov	rdx, r14
	lea	rax, 4[r14+rax*4]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	add	rdx, 4
	cmp	rdx, rax
	je	.L3
.L6:
	cmp	DWORD PTR [rdx], r12d
	jne	.L4
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	edx, r12d
	xor	eax, eax
	xor	r13d, r13d
	lea	rsi, .LC0[rip]
	call	wpa_printf@PLT
.L5:
	mov	rdi, r14
	call	os_free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	mov	r13d, 1
	call	wpa_printf@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	wpas_check_freq_conflict, .-wpas_check_freq_conflict
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_p2p_supplicant.c_wpas_check_freq_conflict.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"P2P: Frequency %d MHz in use by another virtual int"
	.ascii	"erface and can be used\000"
	.align	2
.LC1:
	.ascii	"P2P: No valid operating frequencies\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wpas_check_freq_conflict, %function
wpas_check_freq_conflict:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	bl	wpas_p2p_num_unused_channels
	cmp	r0, #0
	movgt	r4, #0
	ble	.L15
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L15:
	mov	r1, #4
	ldr	r0, [r5]
	bl	os_calloc
	subs	r6, r0, #0
	moveq	r4, #1
	beq	.L1
	mov	r0, r5
	mov	r1, r6
	ldr	r2, [r5]
	bl	wpas_p2p_valid_oper_freqs
	cmp	r0, #0
	beq	.L3
	mov	r3, #0
	sub	r2, r6, #4
	b	.L6
.L4:
	cmp	r0, r3
	beq	.L3
.L6:
	ldr	r1, [r2, #4]!
	add	r3, r3, #1
	cmp	r1, r4
	bne	.L4
	ldr	r3, .L16
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L16+4
	bl	wpa_printf
	mov	r4, #0
.L5:
	mov	r0, r6
	bl	os_free
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r3, .L16
	ldr	r1, .L16+8
	ldr	r0, [r3]
	bl	wpa_printf
	mov	r4, #1
	b	.L5
.L17:
	.align	2
.L16:
	.word	MSG_DEBUG
	.word	.LC0
	.word	.LC1
	.size	wpas_check_freq_conflict, .-wpas_check_freq_conflict
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
