	.file	"extr_beat.c_beat_set_rtc_time.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	beat_set_rtc_time
	.type	beat_set_rtc_time, @function
beat_set_rtc_time:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rax, QWORD PTR 16[rdi]
	mov	ecx, DWORD PTR 8[rdi]
	mov	edx, DWORD PTR 12[rdi]
	mov	r9d, DWORD PTR [rdi]
	lea	rsi, 1[rax]
	mov	rax, QWORD PTR 24[rdi]
	mov	r8d, DWORD PTR 4[rdi]
	lea	r10, 1900[rax]
	mov	rdi, r10
	call	mktime@PLT
	mov	edi, eax
	call	beat_rtc_write@PLT
	test	rax, rax
	setne	al
	add	rsp, 8
	.cfi_def_cfa_offset 8
	movzx	eax, al
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	beat_set_rtc_time, .-beat_set_rtc_time
	.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_beat.c_beat_set_rtc_time.c"
	.text
	.align	2
	.global	beat_set_rtc_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	beat_set_rtc_time, %function
beat_set_rtc_time:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, r0
	str	lr, [sp, #-4]!
	ldr	ip, [r2]
	ldr	r3, [r2, #4]
	sub	sp, sp, #12
	ldr	r1, [r2, #16]
	ldr	r0, [r0, #20]
	stm	sp, {r3, ip}
	add	r0, r0, #1888
	ldr	r3, [r2, #8]
	add	r1, r1, #1
	ldr	r2, [r2, #12]
	add	r0, r0, #12
	bl	mktime
	bl	beat_rtc_write
	subs	r0, r0, #0
	movne	r0, #1
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
	.size	beat_set_rtc_time, .-beat_set_rtc_time
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
