	.file	"extr_omap_hwmod.c__disable_wakeup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_disable_wakeup, @function
_disable_wakeup:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 8[rdi]
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR SYSC_HAS_ENAWAKEUP[rip], eax
	jne	.L3
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	edi, DWORD PTR SYSC_ENAWAKEUP_MASK[rip]
	mov	rsi, rbx
	not	edi
	and	edi, DWORD PTR 4[rbx]
	call	_write_sysconfig@PLT
	mov	eax, DWORD PTR _HWMOD_WAKEUP_ENABLED[rip]
	not	eax
	and	DWORD PTR [rbx], eax
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	_disable_wakeup, .-_disable_wakeup
	.comm	_HWMOD_WAKEUP_ENABLED,4,4
	.comm	SYSC_HAS_ENAWAKEUP,4,4
	.comm	SYSC_ENAWAKEUP_MASK,4,4
	.comm	EINVAL,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_omap_hwmod.c__disable_wakeup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_disable_wakeup, %function
_disable_wakeup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	cmp	r3, #0
	beq	.L2
	ldr	r1, .L12
	ldr	r2, [r3]
	ldr	r3, [r1]
	tst	r2, r3
	bne	.L3
.L2:
	ldr	r3, .L12+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L3:
	push	{r4, lr}
	mov	r4, r0
	ldr	r2, .L12+8
	ldr	r3, [r0, #4]
	ldr	r0, [r2]
	mov	r1, r4
	bic	r0, r3, r0
	bl	_write_sysconfig
	ldr	r2, .L12+12
	ldr	r3, [r4]
	ldr	r2, [r2]
	mov	r0, #0
	bic	r3, r3, r2
	str	r3, [r4]
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	SYSC_HAS_ENAWAKEUP
	.word	EINVAL
	.word	SYSC_ENAWAKEUP_MASK
	.word	_HWMOD_WAKEUP_ENABLED
	.size	_disable_wakeup, .-_disable_wakeup
	.comm	_HWMOD_WAKEUP_ENABLED,4,4
	.comm	SYSC_HAS_ENAWAKEUP,4,4
	.comm	SYSC_ENAWAKEUP_MASK,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
