	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_irq_handler
_fimc_irq_handler:                      ## @fimc_irq_handler
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	(%rsi), %edx
	movl	4(%rsi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DRM_DEV_DEBUG_KMS
	movq	%rbx, %rdi
	callq	_fimc_clear_irq
	movq	%rbx, %rdi
	callq	_fimc_check_ovf
	movq	_IRQ_NONE@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_fimc_check_frame_end
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_fimc_get_buf_id
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movl	%eax, %r14d
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_DRM_DEV_DEBUG_KMS
	movq	8(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	$0, 8(%rbx)
	movl	4(%rbx), %edi
	callq	_pm_runtime_mark_last_busy
	movl	4(%rbx), %edi
	callq	_pm_runtime_put_autosuspend
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_exynos_drm_ipp_task_done
LBB0_5:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_fimc_dst_set_buf_seq
	movq	%rbx, %rdi
	callq	_fimc_stop
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fimc id[%d]\n"

	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
L_.str.1:                               ## @.str.1
	.asciz	"buf_id[%d]\n"

	.no_dead_strip	_fimc_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_irq_handler
_fimc_irq_handler:                      ; @fimc_irq_handler
	.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, x1
	ldp	w2, w0, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DRM_DEV_DEBUG_KMS
	mov	x0, x19
	bl	_fimc_clear_irq
	mov	x0, x19
	bl	_fimc_check_ovf
	cbz	x0, LBB0_2
LBB0_1:
Lloh2:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_8
LBB0_2:
	mov	x0, x19
	bl	_fimc_check_frame_end
	cbz	w0, LBB0_1
; %bb.3:
	mov	x0, x19
	bl	_fimc_get_buf_id
	tbnz	w0, #31, LBB0_7
; %bb.4:
	mov	x20, x0
	ldr	w0, [x19, #4]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_DRM_DEV_DEBUG_KMS
	ldr	x21, [x19, #8]
	cbz	x21, LBB0_6
; %bb.5:
	str	xzr, [x19, #8]
	ldr	w0, [x19, #4]
	bl	_pm_runtime_mark_last_busy
	ldr	w0, [x19, #4]
	bl	_pm_runtime_put_autosuspend
	mov	x0, x21
	mov	w1, #0
	bl	_exynos_drm_ipp_task_done
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_fimc_dst_set_buf_seq
	mov	x0, x19
	bl	_fimc_stop
LBB0_7:
Lloh6:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fimc id[%d]\n"

	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
l_.str.1:                               ; @.str.1
	.asciz	"buf_id[%d]\n"

	.no_dead_strip	_fimc_irq_handler
.subsections_via_symbols
