	.file	"extr_hp_sdc_rtc.c_hp_sdc_rtc_read_i8042timer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hp_sdc_rtc_read_i8042timer, @function
hp_sdc_rtc_read_i8042timer:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, i8042tregs[rip]
	sub	rsp, 144
	.cfi_def_cfa_offset 160
	mov	edx, DWORD PTR HP_SDC_ACT_PRECMD[rip]
	mov	ecx, DWORD PTR HP_SDC_ACT_DATAIN[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR HP_SDC_ACT_POSTCMD[rip]
	mov	DWORD PTR 44[rsp], 2
	mov	QWORD PTR 48[rsp], 0
	or	edx, eax
	or	eax, ecx
	mov	QWORD PTR 64[rsp], 2
	or	edx, ecx
	mov	DWORD PTR 56[rsp], eax
	mov	DWORD PTR 32[rsp], edx
	mov	edx, DWORD PTR HP_SDC_CMD_READ_T1[rip]
	mov	DWORD PTR 76[rsp], eax
	mov	DWORD PTR 40[rsp], edx
	mov	edx, DWORD PTR HP_SDC_CMD_READ_T2[rip]
	mov	DWORD PTR 96[rsp], eax
	mov	DWORD PTR 60[rsp], edx
	mov	edx, DWORD PTR HP_SDC_CMD_READ_T3[rip]
	mov	DWORD PTR 116[rsp], eax
	mov	eax, DWORD PTR HP_SDC_CMD_READ_T5[rip]
	mov	DWORD PTR 80[rsp], edx
	mov	edx, DWORD PTR HP_SDC_CMD_READ_T4[rip]
	mov	DWORD PTR 120[rsp], eax
	lea	eax, [rsi+rsi*4]
	mov	DWORD PTR 100[rsp], edx
	mov	DWORD PTR 72[rsp], 0
	mov	DWORD PTR 84[rsp], 2
	mov	QWORD PTR 88[rsp], 0
	mov	QWORD PTR 104[rsp], 2
	mov	DWORD PTR 112[rsp], 0
	mov	DWORD PTR 124[rsp], 2
	mov	QWORD PTR 128[rsp], 0
	mov	DWORD PTR [rsp], eax
	sub	eax, 4
	cdqe
	mov	DWORD PTR 36[rsp], edi
	mov	rdi, rbp
	mov	edx, DWORD PTR 32[rsp+rax*4]
	or	edx, DWORD PTR HP_SDC_ACT_SEMAPHORE[rip]
	mov	QWORD PTR 16[rsp], rbp
	mov	DWORD PTR 32[rsp+rax*4], edx
	lea	rax, 32[rsp]
	mov	QWORD PTR 8[rsp], rax
	call	down_interruptible@PLT
	mov	edi, eax
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L8
	mov	rdi, rsp
	call	hp_sdc_enqueue_transaction@PLT
	mov	rdi, rbp
	test	rax, rax
	jne	.L10
	call	down_interruptible@PLT
	mov	edi, eax
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L8
	mov	rdi, rbp
	call	up@PLT
	mov	eax, DWORD PTR 72[rsp]
	mov	edx, DWORD PTR 92[rsp]
	sal	eax, 8
	sal	edx, 16
	or	eax, edx
	mov	edx, DWORD PTR 112[rsp]
	or	eax, DWORD PTR 52[rsp]
	sal	edx, 24
	or	eax, edx
.L1:
	mov	rcx, QWORD PTR 136[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 144
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	call	up@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, -1
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hp_sdc_rtc_read_i8042timer, .-hp_sdc_rtc_read_i8042timer
	.comm	i8042tregs,4,4
	.comm	HP_SDC_CMD_READ_T5,4,4
	.comm	HP_SDC_CMD_READ_T4,4,4
	.comm	HP_SDC_CMD_READ_T3,4,4
	.comm	HP_SDC_CMD_READ_T2,4,4
	.comm	HP_SDC_CMD_READ_T1,4,4
	.comm	HP_SDC_ACT_SEMAPHORE,4,4
	.comm	HP_SDC_ACT_PRECMD,4,4
	.comm	HP_SDC_ACT_POSTCMD,4,4
	.comm	HP_SDC_ACT_DATAIN,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_hp_sdc_rtc.c_hp_sdc_rtc_read_i8042timer.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hp_sdc_rtc_read_i8042timer, %function
hp_sdc_rtc_read_i8042timer:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #2
	mov	r3, #0
	push	{r4, r5, r6, r7, lr}
	ldr	r2, .L12
	ldr	lr, .L12+4
	ldr	r4, .L12+8
	ldr	r2, [r2]
	ldr	lr, [lr]
	ldr	r5, .L12+12
	ldr	r4, [r4]
	ldr	r6, [r5]
	orr	lr, r2, lr
	ldr	r5, .L12+16
	sub	sp, sp, #124
	orr	lr, lr, r4
	ldr	r5, [r5]
	str	r5, [sp, #116]
	mov	r5,#0
	orr	r2, r2, r4
	str	lr, [sp, #12]
	ldr	r4, .L12+20
	ldr	lr, .L12+24
	ldr	r5, [r4]
	str	r2, [sp, #36]
	ldr	r4, [lr]
	str	r2, [sp, #56]
	str	r2, [sp, #76]
	str	r2, [sp, #96]
	ldr	lr, .L12+28
	ldr	r2, .L12+32
	ldr	lr, [lr]
	ldr	r2, [r2]
	add	r1, r1, r1, lsl ip
	str	r4, [sp, #60]
	str	r2, [sp, #80]
	str	lr, [sp, #100]
	sub	r2, r1, #4
	ldr	lr, .L12+36
	add	r4, sp, #120
	add	r2, r4, r2, lsl ip
	str	ip, [sp, #24]
	str	ip, [sp, #44]
	str	ip, [sp, #64]
	str	ip, [sp, #84]
	str	r3, [sp, #28]
	str	r3, [sp, #32]
	str	r3, [sp, #48]
	str	r3, [sp, #52]
	str	r3, [sp, #68]
	str	r3, [sp, #72]
	str	r3, [sp, #88]
	str	r6, [sp, #20]
	str	r5, [sp, #40]
	str	r3, [sp, #92]
	str	ip, [sp, #104]
	str	r0, [sp, #16]
	str	r3, [sp, #108]
	str	r3, [sp, #112]
	ldr	r3, [r2, #-108]
	ldr	r0, [lr]
	ldr	r4, .L12+40
	orr	r3, r3, r0
	add	ip, sp, #12
	mov	r0, r4
	str	r1, [sp]
	str	r3, [r2, #-108]
	str	ip, [sp, #4]
	str	r4, [sp, #8]
	bl	down_interruptible
	bl	WARN_ON
	cmp	r0, #0
	bne	.L8
	mov	r0, sp
	bl	hp_sdc_enqueue_transaction
	cmp	r0, #0
	mov	r0, r4
	bne	.L10
	bl	down_interruptible
	bl	WARN_ON
	cmp	r0, #0
	bne	.L8
	mov	r0, r4
	bl	up
	ldr	r0, [sp, #72]
	ldr	r3, [sp, #52]
	ldr	r2, [sp, #32]
	lsl	r0, r0, #16
	orr	r0, r0, r3, lsl #8
	ldr	r3, [sp, #92]
	orr	r0, r0, r2
	orr	r0, r0, r3, lsl #24
.L1:
	ldr	r3, .L12+16
	ldr	r2, [r3]
	ldr	r3, [sp, #116]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #124
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	bl	up
.L8:
	mvn	r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	HP_SDC_ACT_POSTCMD
	.word	HP_SDC_ACT_PRECMD
	.word	HP_SDC_ACT_DATAIN
	.word	HP_SDC_CMD_READ_T1
	.word	.LC0
	.word	HP_SDC_CMD_READ_T2
	.word	HP_SDC_CMD_READ_T3
	.word	HP_SDC_CMD_READ_T5
	.word	HP_SDC_CMD_READ_T4
	.word	HP_SDC_ACT_SEMAPHORE
	.word	i8042tregs
	.size	hp_sdc_rtc_read_i8042timer, .-hp_sdc_rtc_read_i8042timer
	.comm	i8042tregs,4,4
	.comm	HP_SDC_CMD_READ_T5,4,4
	.comm	HP_SDC_CMD_READ_T4,4,4
	.comm	HP_SDC_CMD_READ_T3,4,4
	.comm	HP_SDC_CMD_READ_T2,4,4
	.comm	HP_SDC_CMD_READ_T1,4,4
	.comm	HP_SDC_ACT_SEMAPHORE,4,4
	.comm	HP_SDC_ACT_PRECMD,4,4
	.comm	HP_SDC_ACT_POSTCMD,4,4
	.comm	HP_SDC_ACT_DATAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
