	.file	"extr_msm_vfe8x_proc.c_vfe_process_stats_awb_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vfe_process_stats_awb_irq, @function
vfe_process_stats_awb_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR ctrl[rip]
	mov	eax, DWORD PTR 16[rbx]
	test	eax, eax
	je	.L5
	add	DWORD PTR 4[rbx], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	eax, eax
	call	vfe_get_awb_pingpong_status@PLT
	mov	DWORD PTR [rbx], eax
	mov	rbx, QWORD PTR ctrl[rip]
	mov	ebp, DWORD PTR [rbx]
	xor	ebp, 1
	mov	edi, ebp
	call	vfe_read_awb_buf_addr@PLT
	mov	edi, ebp
	mov	DWORD PTR 8[rbx], eax
	mov	rax, QWORD PTR ctrl[rip]
	mov	esi, DWORD PTR 12[rax]
	call	vfe_update_awb_buf_addr@PLT
	mov	rax, QWORD PTR ctrl[rip]
	mov	edi, DWORD PTR 8[rax]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	vfe_send_awb_stats_msg@PLT
	.cfi_endproc
.LFE0:
	.size	vfe_process_stats_awb_irq, .-vfe_process_stats_awb_irq
	.comm	ctrl,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_msm_vfe8x_proc.c_vfe_process_stats_awb_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vfe_process_stats_awb_irq, %function
vfe_process_stats_awb_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L6
	ldr	r4, [r5]
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [r4, #4]
	add	r3, r3, #1
	str	r3, [r4, #4]
	pop	{r4, r5, r6, pc}
.L5:
	bl	vfe_get_awb_pingpong_status
	ldr	r6, [r5]
	str	r0, [r4]
	ldr	r4, [r6]
	eor	r4, r4, #1
	mov	r0, r4
	bl	vfe_read_awb_buf_addr
	ldr	r3, [r5]
	str	r0, [r6, #8]
	ldr	r1, [r3, #12]
	mov	r0, r4
	bl	vfe_update_awb_buf_addr
	ldr	r3, [r5]
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3, #8]
	b	vfe_send_awb_stats_msg
.L7:
	.align	2
.L6:
	.word	ctrl
	.size	vfe_process_stats_awb_irq, .-vfe_process_stats_awb_irq
	.comm	ctrl,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
