	.file	"extr_rtc-imx-sc.c_imx_sc_rtc_set_time.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	imx_sc_rtc_set_time, @function
imx_sc_rtc_set_time:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 32
	.cfi_def_cfa_offset 40
	mov	ecx, DWORD PTR 8[rsi]
	mov	r8d, DWORD PTR 16[rsi]
	xor	r9d, r9d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 16[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rsi]
	mov	edi, DWORD PTR IMX_SIP_SRTC[rip]
	sal	ecx, 16
	or	ecx, DWORD PTR 12[rsi]
	sal	r8d, 16
	lea	edx, 1900[rax]
	mov	eax, DWORD PTR 4[rsi]
	sal	edx, 16
	add	eax, 1
	or	edx, eax
	lea	rax, 12[rsp]
	push	rax
	.cfi_def_cfa_offset 48
	push	0
	.cfi_def_cfa_offset 56
	push	0
	.cfi_def_cfa_offset 64
	or	r8d, DWORD PTR 20[rsi]
	mov	esi, DWORD PTR IMX_SIP_SRTC_SET_TIME[rip]
	call	arm_smccc_smc@PLT
	mov	eax, DWORD PTR 36[rsp]
	add	rsp, 32
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR 8[rsp]
	xor	rdi, QWORD PTR fs:40
	jne	.L5
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	imx_sc_rtc_set_time, .-imx_sc_rtc_set_time
	.comm	IMX_SIP_SRTC_SET_TIME,4,4
	.comm	IMX_SIP_SRTC,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-imx-sc.c_imx_sc_rtc_set_time.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	imx_sc_rtc_set_time, %function
imx_sc_rtc_set_time:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	ldm	r1, {r0, r2}
	push	{r4, lr}
	ldr	r3, [r1, #16]
	ldr	lr, [r1, #20]
	add	r0, r0, #1888
	add	r0, r0, #12
	add	r2, r2, #1
	sub	sp, sp, #32
	ldr	r4, [r1, #8]
	orr	lr, lr, r3, lsl #16
	orr	r2, r2, r0, lsl #16
	ldr	r3, [r1, #12]
	ldr	r0, .L6
	ldr	r1, .L6+4
	str	lr, [sp]
	str	ip, [sp, #12]
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	add	lr, sp, #24
	ldr	ip, .L6+8
	ldr	r1, [r1]
	ldr	r0, [r0]
	orr	r3, r3, r4, lsl #16
	str	lr, [sp, #16]
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	bl	arm_smccc_smc
	ldr	r3, .L6+8
	ldr	r0, [sp, #24]
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #32
	@ sp needed
	pop	{r4, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	IMX_SIP_SRTC
	.word	IMX_SIP_SRTC_SET_TIME
	.word	.LC0
	.size	imx_sc_rtc_set_time, .-imx_sc_rtc_set_time
	.comm	IMX_SIP_SRTC_SET_TIME,4,4
	.comm	IMX_SIP_SRTC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
