	.file	"extr_wmi.c_ath6kl_wmi_p2p_info_event_rx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"host"
.LC1:
	.string	"firmware"
.LC2:
	.string	"p2p_info: flags=%x len=%d\n"
.LC3:
	.string	"p2p_info: GO Power Save = %d\n"
.LC4:
	.string	"p2p_info: MAC Address = %pM\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC5:
	.string	"p2p_info: P2P Model = %d (%s)\n"
	.text
	.p2align 4
	.type	ath6kl_wmi_p2p_info_event_rx, @function
ath6kl_wmi_p2p_info_event_rx:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	esi, 15
	ja	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edi, DWORD PTR 12[rdi]
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	ebx, eax
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR ATH6KL_DBG_WMI[rip]
	mov	edx, ebx
	lea	rsi, .LC2[rip]
	mov	r12d, eax
	mov	ecx, eax
	xor	eax, eax
	call	ath6kl_dbg@PLT
	test	DWORD PTR P2P_FLAG_CAPABILITIES_REQ[rip], ebx
	je	.L4
	cmp	r12d, 3
	ja	.L5
.L22:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	test	DWORD PTR P2P_FLAG_MACADDR_REQ[rip], ebx
	je	.L7
	cmp	r12d, 3
	jbe	.L22
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR ATH6KL_DBG_WMI[rip]
	lea	rsi, .LC3[rip]
	mov	edx, DWORD PTR [rax]
	xor	eax, eax
	call	ath6kl_dbg@PLT
	test	DWORD PTR P2P_FLAG_MACADDR_REQ[rip], ebx
	je	.L7
.L6:
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR ATH6KL_DBG_WMI[rip]
	lea	rsi, .LC4[rip]
	mov	edx, DWORD PTR [rax]
	xor	eax, eax
	call	ath6kl_dbg@PLT
.L7:
	mov	eax, ebx
	and	eax, DWORD PTR P2P_FLAG_HMODEL_REQ[rip]
	je	.L1
	cmp	r12d, 7
	jbe	.L22
	mov	rax, QWORD PTR 0[rbp]
	lea	rcx, .LC0[rip]
	mov	edi, DWORD PTR ATH6KL_DBG_WMI[rip]
	lea	rsi, .LC5[rip]
	mov	rdx, QWORD PTR [rax]
	lea	rax, .LC1[rip]
	test	rdx, rdx
	cmove	rcx, rax
	xor	eax, eax
	call	ath6kl_dbg@PLT
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ath6kl_wmi_p2p_info_event_rx, .-ath6kl_wmi_p2p_info_event_rx
	.comm	P2P_FLAG_MACADDR_REQ,4,4
	.comm	P2P_FLAG_HMODEL_REQ,4,4
	.comm	P2P_FLAG_CAPABILITIES_REQ,4,4
	.comm	EINVAL,4,4
	.comm	ATH6KL_DBG_WMI,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_wmi.c_ath6kl_wmi_p2p_info_event_rx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"host\000"
	.align	2
.LC1:
	.ascii	"firmware\000"
	.align	2
.LC2:
	.ascii	"p2p_info: flags=%x len=%d\012\000"
	.align	2
.LC3:
	.ascii	"p2p_info: GO Power Save = %d\012\000"
	.align	2
.LC4:
	.ascii	"p2p_info: MAC Address = %pM\012\000"
	.align	2
.LC5:
	.ascii	"p2p_info: P2P Model = %d (%s)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath6kl_wmi_p2p_info_event_rx, %function
ath6kl_wmi_p2p_info_event_rx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #11
	bhi	.L2
	ldr	r3, .L27
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L2:
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0, #8]
	bl	le32_to_cpu
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	le16_to_cpu
	ldr	r7, .L27+4
	mov	r3, r0
	mov	r6, r0
	mov	r2, r5
	ldr	r0, [r7]
	ldr	r1, .L27+8
	bl	ath6kl_dbg
	ldr	r3, .L27+12
	ldr	r3, [r3]
	tst	r5, r3
	beq	.L4
	cmp	r6, #3
	bhi	.L5
.L23:
	ldr	r3, .L27
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, .L27+16
	ldr	r3, [r3]
	tst	r5, r3
	bne	.L26
	ldr	r3, .L27+20
	ldr	r3, [r3]
	tst	r5, r3
	beq	.L24
	cmp	r6, #3
	bls	.L23
	b	.L10
.L26:
	cmp	r6, #3
	bls	.L23
	b	.L6
.L5:
	ldr	r3, [r4]
	ldr	r1, .L27+24
	ldr	r2, [r3]
	ldr	r0, [r7]
	bl	ath6kl_dbg
	ldr	r3, .L27+16
	ldr	r3, [r3]
	tst	r5, r3
	beq	.L22
.L6:
	ldr	r3, [r4]
	ldr	r1, .L27+28
	ldr	r2, [r3]
	ldr	r0, [r7]
	bl	ath6kl_dbg
.L22:
	ldr	r3, .L27+20
	ldr	r3, [r3]
	tst	r5, r3
	beq	.L24
.L10:
	ldr	r3, [r4]
	ldr	r1, .L27+32
	ldr	r2, [r3]
	ldr	r0, [r7]
	cmp	r2, #0
	ldr	r3, .L27+36
	movne	r3, r1
	ldr	r1, .L27+40
	bl	ath6kl_dbg
.L24:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L28:
	.align	2
.L27:
	.word	EINVAL
	.word	ATH6KL_DBG_WMI
	.word	.LC2
	.word	P2P_FLAG_CAPABILITIES_REQ
	.word	P2P_FLAG_MACADDR_REQ
	.word	P2P_FLAG_HMODEL_REQ
	.word	.LC3
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC5
	.size	ath6kl_wmi_p2p_info_event_rx, .-ath6kl_wmi_p2p_info_event_rx
	.comm	P2P_FLAG_MACADDR_REQ,4,4
	.comm	P2P_FLAG_HMODEL_REQ,4,4
	.comm	P2P_FLAG_CAPABILITIES_REQ,4,4
	.comm	EINVAL,4,4
	.comm	ATH6KL_DBG_WMI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
