	.file	"extr_omap-sham.c_omap_sham_wait.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	omap_sham_wait, @function
omap_sham_wait:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR DEFAULT_TIMEOUT_INTERVAL[rip]
	add	r13, QWORD PTR jiffies[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, r13
	call	time_is_before_jiffies@PLT
	test	rax, rax
	jne	.L9
.L2:
	mov	esi, ebp
	mov	rdi, r12
	call	omap_sham_read@PLT
	test	eax, ebx
	je	.L4
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR ETIMEDOUT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	omap_sham_wait, .-omap_sham_wait
	.comm	jiffies,8,8
	.comm	ETIMEDOUT,4,4
	.comm	DEFAULT_TIMEOUT_INTERVAL,8,8
	.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-sham.c_omap_sham_wait.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	omap_sham_wait, %function
omap_sham_wait:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L10
	ldr	r3, .L10+4
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	ldr	r7, [ip]
	mov	r6, r0
	mov	r5, r1
	mov	r4, r2
	add	r7, r7, r3
	b	.L2
.L4:
	mov	r0, r7
	bl	time_is_before_jiffies
	cmp	r0, #0
	bne	.L9
.L2:
	mov	r1, r5
	mov	r0, r6
	bl	omap_sham_read
	tst	r0, r4
	beq	.L4
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	jiffies
	.word	DEFAULT_TIMEOUT_INTERVAL
	.word	ETIMEDOUT
	.size	omap_sham_wait, .-omap_sham_wait
	.comm	jiffies,4,4
	.comm	ETIMEDOUT,4,4
	.comm	DEFAULT_TIMEOUT_INTERVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
