	.file	"extr_ispstat.c_omap3isp_stat_suspend.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	omap3isp_stat_suspend
	.type	omap3isp_stat_suspend, @function
omap3isp_stat_suspend:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	rdi, QWORD PTR 8[rdi]
	xor	esi, esi
	call	spin_lock_irqsave@PLT
	mov	rax, QWORD PTR ISPSTAT_DISABLED[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L2
	mov	rax, QWORD PTR 16[rbx]
	xor	esi, esi
	mov	rdi, rbx
	call	[QWORD PTR [rax]]
	mov	rax, QWORD PTR [rbx]
.L2:
	cmp	QWORD PTR ISPSTAT_ENABLED[rip], rax
	jne	.L3
	mov	rax, QWORD PTR ISPSTAT_SUSPENDED[rip]
	mov	QWORD PTR [rbx], rax
.L3:
	mov	rdi, QWORD PTR 8[rbx]
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	omap3isp_stat_suspend, .-omap3isp_stat_suspend
	.comm	ISPSTAT_SUSPENDED,8,8
	.comm	ISPSTAT_ENABLED,8,8
	.comm	ISPSTAT_DISABLED,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_ispstat.c_omap3isp_stat_suspend.c"
	.text
	.align	2
	.global	omap3isp_stat_suspend
	.syntax unified
	.arm
	.fpu softvfp
	.type	omap3isp_stat_suspend, %function
omap3isp_stat_suspend:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	mov	r1, #0
	ldr	r0, [r0, #4]
	bl	spin_lock_irqsave
	ldr	r3, .L6
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	ldr	r3, [r4, #8]
	mov	r1, #0
	ldr	r3, [r3]
	mov	r0, r4
	blx	r3
	ldr	r3, [r4]
.L2:
	ldr	r2, .L6+4
	ldr	r0, [r4, #4]
	ldr	r2, [r2]
	mov	r1, #0
	cmp	r2, r3
	ldreq	r3, .L6+8
	ldreq	r3, [r3]
	streq	r3, [r4]
	pop	{r4, lr}
	b	spin_unlock_irqrestore
.L7:
	.align	2
.L6:
	.word	ISPSTAT_DISABLED
	.word	ISPSTAT_ENABLED
	.word	ISPSTAT_SUSPENDED
	.size	omap3isp_stat_suspend, .-omap3isp_stat_suspend
	.comm	ISPSTAT_SUSPENDED,4,4
	.comm	ISPSTAT_ENABLED,4,4
	.comm	ISPSTAT_DISABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
