	.file	"extr_rtc-rx8025.c_rx8025_alarm_irq_enable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rx8025_alarm_irq_enable, @function
rx8025_alarm_irq_enable:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, esi
	call	dev_get_drvdata@PLT
	mov	ecx, DWORD PTR [rax]
	test	ebx, ebx
	je	.L2
	mov	edx, DWORD PTR RX8025_BIT_CTRL1_DALE[rip]
	or	edx, ecx
	cmp	edx, ecx
	jne	.L7
.L4:
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR RX8025_BIT_CTRL1_DALE[rip]
	not	edx
	and	edx, ecx
	cmp	edx, ecx
	je	.L4
.L7:
	mov	edi, DWORD PTR 4[rax]
	mov	esi, DWORD PTR RX8025_REG_CTRL1[rip]
	mov	DWORD PTR [rax], edx
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	rx8025_write_reg@PLT
	.cfi_endproc
.LFE0:
	.size	rx8025_alarm_irq_enable, .-rx8025_alarm_irq_enable
	.comm	RX8025_REG_CTRL1,4,4
	.comm	RX8025_BIT_CTRL1_DALE,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_rtc-rx8025.c_rx8025_alarm_irq_enable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rx8025_alarm_irq_enable, %function
rx8025_alarm_irq_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r1
	bl	dev_get_drvdata
	ldr	r2, .L8
	ldr	r3, [r0]
	ldr	r2, [r2]
	cmp	r4, #0
	orrne	r2, r3, r2
	biceq	r2, r3, r2
	cmp	r2, r3
	bne	.L7
	mov	r0, #0
	pop	{r4, pc}
.L7:
	ldr	r3, .L8+4
	str	r2, [r0]
	ldr	r1, [r3]
	ldr	r0, [r0, #4]
	pop	{r4, lr}
	b	rx8025_write_reg
.L9:
	.align	2
.L8:
	.word	RX8025_BIT_CTRL1_DALE
	.word	RX8025_REG_CTRL1
	.size	rx8025_alarm_irq_enable, .-rx8025_alarm_irq_enable
	.comm	RX8025_REG_CTRL1,4,4
	.comm	RX8025_BIT_CTRL1_DALE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
