	.file	"extr_ecore_mcp.c_ecore_mcp_ov_update_wol.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Can't change WoL configuration when WoL isn't supported\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Invalid wol state %d\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Failed to send wol mode, rc = %d\n"
	.text
	.p2align 4
	.globl	ecore_mcp_ov_update_wol
	.type	ecore_mcp_ov_update_wol, @function
ecore_mcp_ov_update_wol:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rsp], 0
	mov	rax, QWORD PTR ECORE_WOL_SUPPORT_NONE[rip]
	mov	DWORD PTR 4[rsp], 0
	cmp	QWORD PTR 8[rdi], rax
	je	.L14
	mov	r12d, edx
	cmp	edx, 129
	je	.L4
	cmp	edx, 130
	je	.L5
	cmp	edx, 128
	je	.L15
	lea	rsi, .LC1[rip]
	call	DP_ERR@PLT
	mov	r13d, DWORD PTR ECORE_INVAL[rip]
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	ecx, DWORD PTR DRV_MB_PARAM_WOL_DISABLED[rip]
.L8:
	mov	edx, DWORD PTR DRV_MSG_CODE_OV_UPDATE_WOL[rip]
	lea	r9, 4[rsp]
	mov	r8, rsp
	mov	rdi, rbp
	call	ecore_mcp_cmd@PLT
	cmp	eax, DWORD PTR ECORE_SUCCESS[rip]
	mov	r13d, eax
	je	.L9
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	DP_ERR@PLT
.L9:
	mov	rax, QWORD PTR 0[rbp]
	mov	ecx, r12d
	mov	QWORD PTR [rax], rcx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	ecx, DWORD PTR DRV_MB_PARAM_WOL_ENABLED[rip]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, DWORD PTR DRV_MB_PARAM_WOL_DEFAULT[rip]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L14:
	mov	esi, DWORD PTR ECORE_MSG_SP[rip]
	lea	rdx, .LC0[rip]
	call	DP_VERBOSE@PLT
	mov	r13d, DWORD PTR ECORE_INVAL[rip]
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ecore_mcp_ov_update_wol, .-ecore_mcp_ov_update_wol
	.comm	ECORE_WOL_SUPPORT_NONE,8,8
	.comm	ECORE_SUCCESS,4,4
	.comm	ECORE_MSG_SP,4,4
	.comm	ECORE_INVAL,4,4
	.comm	DRV_MSG_CODE_OV_UPDATE_WOL,4,4
	.comm	DRV_MB_PARAM_WOL_ENABLED,4,4
	.comm	DRV_MB_PARAM_WOL_DISABLED,4,4
	.comm	DRV_MB_PARAM_WOL_DEFAULT,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_ecore_mcp.c_ecore_mcp_ov_update_wol.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can't change WoL configuration when WoL isn't suppo"
	.ascii	"rted\012\000"
	.align	2
.LC1:
	.ascii	"Invalid wol state %d\012\000"
	.align	2
.LC2:
	.ascii	"Failed to send wol mode, rc = %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ecore_mcp_ov_update_wol
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecore_mcp_ov_update_wol, %function
ecore_mcp_ov_update_wol:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, lr}
	ldr	ip, .L17
	ldr	lr, [r0, #4]
	ldr	ip, [ip]
	sub	sp, sp, #24
	cmp	lr, ip
	ldr	ip, .L17+4
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	beq	.L14
	cmp	r2, #129
	mov	r6, r0
	mov	r4, r2
	beq	.L4
	cmp	r2, #130
	beq	.L5
	cmp	r2, #128
	beq	.L15
	ldr	r1, .L17+8
	bl	DP_ERR
	ldr	r3, .L17+12
	ldr	r5, [r3]
.L1:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L17+16
	ldr	r3, [r3]
.L8:
	ldr	r2, .L17+20
	add	ip, sp, #16
	add	r0, sp, #12
	ldr	r2, [r2]
	stm	sp, {r0, ip}
	mov	r0, r6
	bl	ecore_mcp_cmd
	ldr	r3, .L17+24
	mov	r5, r0
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L9
	mov	r2, r0
	ldr	r1, .L17+28
	mov	r0, r6
	bl	DP_ERR
.L9:
	ldr	r3, [r6]
	str	r4, [r3]
	b	.L1
.L15:
	ldr	r3, .L17+32
	ldr	r3, [r3]
	b	.L8
.L5:
	ldr	r3, .L17+36
	ldr	r3, [r3]
	b	.L8
.L14:
	ldr	r3, .L17+40
	ldr	r2, .L17+44
	ldr	r1, [r3]
	bl	DP_VERBOSE
	ldr	r3, .L17+12
	ldr	r5, [r3]
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	ECORE_WOL_SUPPORT_NONE
	.word	.LC3
	.word	.LC1
	.word	ECORE_INVAL
	.word	DRV_MB_PARAM_WOL_DISABLED
	.word	DRV_MSG_CODE_OV_UPDATE_WOL
	.word	ECORE_SUCCESS
	.word	.LC2
	.word	DRV_MB_PARAM_WOL_ENABLED
	.word	DRV_MB_PARAM_WOL_DEFAULT
	.word	ECORE_MSG_SP
	.word	.LC0
	.size	ecore_mcp_ov_update_wol, .-ecore_mcp_ov_update_wol
	.comm	ECORE_WOL_SUPPORT_NONE,4,4
	.comm	ECORE_SUCCESS,4,4
	.comm	ECORE_MSG_SP,4,4
	.comm	ECORE_INVAL,4,4
	.comm	DRV_MSG_CODE_OV_UPDATE_WOL,4,4
	.comm	DRV_MB_PARAM_WOL_ENABLED,4,4
	.comm	DRV_MB_PARAM_WOL_DISABLED,4,4
	.comm	DRV_MB_PARAM_WOL_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
