	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_check_ovf
_fimc_check_ovf:                        ## @fimc_check_ovf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_EXYNOS_CISTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fimc_read
	movl	%eax, %r14d
	movq	_EXYNOS_CISTATUS_OVFIY@GOTPCREL(%rip), %rax
	movq	_EXYNOS_CISTATUS_OVFICB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_EXYNOS_CISTATUS_OVFICR@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	4(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_DRM_DEV_DEBUG_KMS
	testl	%r14d, %ebx
	je	LBB0_1
## %bb.2:
	movq	_EXYNOS_CIWDOFST@GOTPCREL(%rip), %rax
	movq	_EXYNOS_CIWDOFST_CLROVFIY@GOTPCREL(%rip), %rcx
	movq	_EXYNOS_CIWDOFST_CLROVFICB@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_EXYNOS_CIWDOFST_CLROVFICR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_fimc_set_bits
	movl	(%r15), %edx
	movl	4(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %ecx
	callq	_DRM_DEV_ERROR
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXYNOS_CISTATUS,4,2            ## @EXYNOS_CISTATUS
	.comm	_EXYNOS_CISTATUS_OVFIY,4,2      ## @EXYNOS_CISTATUS_OVFIY
	.comm	_EXYNOS_CISTATUS_OVFICB,4,2     ## @EXYNOS_CISTATUS_OVFICB
	.comm	_EXYNOS_CISTATUS_OVFICR,4,2     ## @EXYNOS_CISTATUS_OVFICR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flag[0x%x]\n"

	.comm	_EXYNOS_CIWDOFST,4,2            ## @EXYNOS_CIWDOFST
	.comm	_EXYNOS_CIWDOFST_CLROVFIY,4,2   ## @EXYNOS_CIWDOFST_CLROVFIY
	.comm	_EXYNOS_CIWDOFST_CLROVFICB,4,2  ## @EXYNOS_CIWDOFST_CLROVFICB
	.comm	_EXYNOS_CIWDOFST_CLROVFICR,4,2  ## @EXYNOS_CIWDOFST_CLROVFICR
L_.str.1:                               ## @.str.1
	.asciz	"occurred overflow at %d, status 0x%x.\n"

	.no_dead_strip	_fimc_check_ovf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_check_ovf
_fimc_check_ovf:                        ; @fimc_check_ovf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _EXYNOS_CISTATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXYNOS_CISTATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_fimc_read
	mov	x20, x0
Lloh3:
	adrp	x8, _EXYNOS_CISTATUS_OVFIY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXYNOS_CISTATUS_OVFIY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _EXYNOS_CISTATUS_OVFICB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EXYNOS_CISTATUS_OVFICB@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _EXYNOS_CISTATUS_OVFICR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EXYNOS_CISTATUS_OVFICR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w21, w8, w9
	ldr	w0, [x19, #4]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_DRM_DEV_DEBUG_KMS
	tst	w21, w20
	b.eq	LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, _EXYNOS_CIWDOFST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EXYNOS_CIWDOFST@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _EXYNOS_CIWDOFST_CLROVFIY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EXYNOS_CIWDOFST_CLROVFIY@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _EXYNOS_CIWDOFST_CLROVFICB@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EXYNOS_CIWDOFST_CLROVFICB@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _EXYNOS_CIWDOFST_CLROVFICR@GOTPAGE
Lloh24:
	ldr	x9, [x9, _EXYNOS_CIWDOFST_CLROVFICR@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_fimc_set_bits
	ldp	w2, w0, [x19]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x20
	bl	_DRM_DEV_ERROR
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EXYNOS_CISTATUS,4,2            ; @EXYNOS_CISTATUS
	.comm	_EXYNOS_CISTATUS_OVFIY,4,2      ; @EXYNOS_CISTATUS_OVFIY
	.comm	_EXYNOS_CISTATUS_OVFICB,4,2     ; @EXYNOS_CISTATUS_OVFICB
	.comm	_EXYNOS_CISTATUS_OVFICR,4,2     ; @EXYNOS_CISTATUS_OVFICR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flag[0x%x]\n"

	.comm	_EXYNOS_CIWDOFST,4,2            ; @EXYNOS_CIWDOFST
	.comm	_EXYNOS_CIWDOFST_CLROVFIY,4,2   ; @EXYNOS_CIWDOFST_CLROVFIY
	.comm	_EXYNOS_CIWDOFST_CLROVFICB,4,2  ; @EXYNOS_CIWDOFST_CLROVFICB
	.comm	_EXYNOS_CIWDOFST_CLROVFICR,4,2  ; @EXYNOS_CIWDOFST_CLROVFICR
l_.str.1:                               ; @.str.1
	.asciz	"occurred overflow at %d, status 0x%x.\n"

	.no_dead_strip	_fimc_check_ovf
.subsections_via_symbols
