	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos3250_jpeg_irq
_exynos3250_jpeg_irq:                   ## @exynos3250_jpeg_irq
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	_VB2_BUF_STATE_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	4(%rsi), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movl	12(%r13), %edi
	callq	_exynos3250_jpeg_get_timer_status
	movl	%eax, %ebx
	movq	_EXYNOS3250_TIMER_INT_STAT@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	je	LBB0_2
## %bb.1:
	movl	12(%r13), %edi
	callq	_exynos3250_jpeg_clear_timer_status
	movl	16(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_2:
	testl	%ebx, %ebx
	setne	%r12b
	movl	12(%r13), %edi
	callq	_exynos3250_jpeg_get_int_status
	movl	%eax, %ebx
	movl	12(%r13), %edi
	movl	%eax, %esi
	callq	_exynos3250_jpeg_clear_int_status
	orl	%ebx, (%r13)
	movq	24(%r13), %rax
	movq	(%rax), %rax
	movq	_SJPEG_EXYNOS5420@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movb	%r12b, -56(%rbp)                ## 1-byte Spill
	jne	LBB0_6
## %bb.3:
	movq	_EXYNOS3250_STREAM_STAT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.4:
	movl	16(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movb	$1, %r15b
	jmp	LBB0_7
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movl	8(%r13), %edi
	callq	_v4l2_m2m_get_curr_priv
	testq	%rax, %rax
	je	LBB0_18
## %bb.8:
	movq	%rax, %r12
	movq	_EXYNOS3250_HEADER_STAT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.9:
	movq	(%r12), %rax
	movq	_S5P_JPEG_DECODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movl	12(%r13), %edi
	callq	_exynos3250_jpeg_rstart
	jmp	LBB0_18
LBB0_11:
	movq	_EXYNOS3250_JPEG_DONE@GOTPCREL(%rip), %rax
	movq	_EXYNOS3250_WDMA_DONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_EXYNOS3250_RDMA_DONE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_EXYNOS3250_RESULT_STAT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%ecx, (%r13)
	je	LBB0_13
## %bb.12:
	movl	12(%r13), %edi
	callq	_exynos3250_jpeg_compressed_size
	jmp	LBB0_15
LBB0_13:
	orb	-56(%rbp), %r15b                ## 1-byte Folded Reload
	cmpb	$1, %r15b
	jne	LBB0_18
## %bb.14:
	movq	_VB2_BUF_STATE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
LBB0_15:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %edi
	callq	_v4l2_m2m_src_buf_remove
	movq	%rax, %r15
	movl	8(%r12), %edi
	callq	_v4l2_m2m_dst_buf_remove
	movq	%rax, %rbx
	movl	4(%r15), %eax
	movl	%eax, 4(%rbx)
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	movq	%r15, %rdi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	callq	_v4l2_m2m_buf_done
	movq	(%r12), %rax
	movq	_S5P_JPEG_ENCODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_vb2_set_plane_payload
LBB0_17:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_v4l2_m2m_buf_done
	movl	12(%r13), %edi
	callq	_exynos3250_jpeg_get_subsampling_mode
	movl	%eax, 12(%r12)
	movq	%r14, %rdi
	callq	_spin_unlock
	movl	8(%r13), %edi
	movl	8(%r12), %esi
	callq	_v4l2_m2m_job_finish
	jmp	LBB0_19
LBB0_18:
	movq	%r14, %rdi
	callq	_spin_unlock
LBB0_19:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VB2_BUF_STATE_DONE,4,2         ## @VB2_BUF_STATE_DONE
	.comm	_EXYNOS3250_TIMER_INT_STAT,4,2  ## @EXYNOS3250_TIMER_INT_STAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Interrupt timeout occurred.\n"

	.comm	_SJPEG_EXYNOS5420,8,3           ## @SJPEG_EXYNOS5420
	.comm	_EXYNOS3250_STREAM_STAT,4,2     ## @EXYNOS3250_STREAM_STAT
L_.str.1:                               ## @.str.1
	.asciz	"Syntax error or unrecoverable error occurred.\n"

	.comm	_EXYNOS3250_HEADER_STAT,4,2     ## @EXYNOS3250_HEADER_STAT
	.comm	_S5P_JPEG_DECODE,8,3            ## @S5P_JPEG_DECODE
	.comm	_EXYNOS3250_JPEG_DONE,4,2       ## @EXYNOS3250_JPEG_DONE
	.comm	_EXYNOS3250_WDMA_DONE,4,2       ## @EXYNOS3250_WDMA_DONE
	.comm	_EXYNOS3250_RDMA_DONE,4,2       ## @EXYNOS3250_RDMA_DONE
	.comm	_EXYNOS3250_RESULT_STAT,4,2     ## @EXYNOS3250_RESULT_STAT
	.comm	_VB2_BUF_STATE_ERROR,4,2        ## @VB2_BUF_STATE_ERROR
	.comm	_S5P_JPEG_ENCODE,8,3            ## @S5P_JPEG_ENCODE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_exynos3250_jpeg_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos3250_jpeg_irq
_exynos3250_jpeg_irq:                   ; @exynos3250_jpeg_irq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
Lloh0:
	adrp	x8, _VB2_BUF_STATE_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VB2_BUF_STATE_DONE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	add	x19, x1, #4
	mov	x0, x19
	bl	_spin_lock
	ldr	w0, [x20, #12]
	bl	_exynos3250_jpeg_get_timer_status
Lloh3:
	adrp	x8, _EXYNOS3250_TIMER_INT_STAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXYNOS3250_TIMER_INT_STAT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ands	w22, w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x20, #12]
	bl	_exynos3250_jpeg_clear_timer_status
	ldr	w0, [x20, #16]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_2:
	cmp	w22, #0
	cset	w24, ne
	ldr	w0, [x20, #12]
	bl	_exynos3250_jpeg_get_int_status
	mov	x23, x0
	ldr	w0, [x20, #12]
	mov	x1, x23
	bl	_exynos3250_jpeg_clear_int_status
	ldr	w8, [x20]
	orr	w8, w8, w23
	str	w8, [x20]
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _SJPEG_EXYNOS5420@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SJPEG_EXYNOS5420@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh11:
	adrp	x8, _EXYNOS3250_STREAM_STAT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXYNOS3250_STREAM_STAT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x20, #16]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	mov	w25, #1
	b	LBB0_6
LBB0_5:
	mov	w25, #0
LBB0_6:
	ldr	w0, [x20, #8]
	bl	_v4l2_m2m_get_curr_priv
	cbz	x0, LBB0_17
; %bb.7:
	mov	x22, x0
Lloh16:
	adrp	x8, _EXYNOS3250_HEADER_STAT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EXYNOS3250_HEADER_STAT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_10
; %bb.8:
	ldr	x8, [x22]
Lloh19:
	adrp	x9, _S5P_JPEG_DECODE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _S5P_JPEG_DECODE@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldr	w0, [x20, #12]
	bl	_exynos3250_jpeg_rstart
	b	LBB0_17
LBB0_10:
	ldr	w8, [x20]
Lloh22:
	adrp	x9, _EXYNOS3250_JPEG_DONE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _EXYNOS3250_JPEG_DONE@GOTPAGEOFF]
Lloh24:
	adrp	x10, _EXYNOS3250_WDMA_DONE@GOTPAGE
Lloh25:
	ldr	x10, [x10, _EXYNOS3250_WDMA_DONE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh28:
	adrp	x10, _EXYNOS3250_RDMA_DONE@GOTPAGE
Lloh29:
	ldr	x10, [x10, _EXYNOS3250_RDMA_DONE@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh31:
	adrp	x10, _EXYNOS3250_RESULT_STAT@GOTPAGE
Lloh32:
	ldr	x10, [x10, _EXYNOS3250_RESULT_STAT@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	ldr	w0, [x20, #12]
	bl	_exynos3250_jpeg_compressed_size
	mov	x23, x0
	b	LBB0_14
LBB0_12:
	orr	w8, w25, w24
	cmp	w8, #1
	b.ne	LBB0_17
; %bb.13:
	mov	x23, #0
Lloh34:
	adrp	x8, _VB2_BUF_STATE_ERROR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _VB2_BUF_STATE_ERROR@GOTPAGEOFF]
Lloh36:
	ldr	w21, [x8]
LBB0_14:
	ldr	w0, [x22, #8]
	bl	_v4l2_m2m_src_buf_remove
	mov	x25, x0
	ldr	w0, [x22, #8]
	bl	_v4l2_m2m_dst_buf_remove
	mov	x24, x0
	ldr	d0, [x25]
	str	d0, [x0]
	mov	x0, x25
	mov	x1, x21
	bl	_v4l2_m2m_buf_done
	ldr	x8, [x22]
Lloh37:
	adrp	x9, _S5P_JPEG_ENCODE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _S5P_JPEG_ENCODE@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x24
	mov	w1, #0
	mov	x2, x23
	bl	_vb2_set_plane_payload
LBB0_16:
	mov	x0, x24
	mov	x1, x21
	bl	_v4l2_m2m_buf_done
	ldr	w0, [x20, #12]
	bl	_exynos3250_jpeg_get_subsampling_mode
	str	w0, [x22, #12]
	mov	x0, x19
	bl	_spin_unlock
	ldr	w0, [x20, #8]
	ldr	w1, [x22, #8]
	bl	_v4l2_m2m_job_finish
	b	LBB0_18
LBB0_17:
	mov	x0, x19
	bl	_spin_unlock
LBB0_18:
Lloh40:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_VB2_BUF_STATE_DONE,4,2         ; @VB2_BUF_STATE_DONE
	.comm	_EXYNOS3250_TIMER_INT_STAT,4,2  ; @EXYNOS3250_TIMER_INT_STAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Interrupt timeout occurred.\n"

	.comm	_SJPEG_EXYNOS5420,8,3           ; @SJPEG_EXYNOS5420
	.comm	_EXYNOS3250_STREAM_STAT,4,2     ; @EXYNOS3250_STREAM_STAT
l_.str.1:                               ; @.str.1
	.asciz	"Syntax error or unrecoverable error occurred.\n"

	.comm	_EXYNOS3250_HEADER_STAT,4,2     ; @EXYNOS3250_HEADER_STAT
	.comm	_S5P_JPEG_DECODE,8,3            ; @S5P_JPEG_DECODE
	.comm	_EXYNOS3250_JPEG_DONE,4,2       ; @EXYNOS3250_JPEG_DONE
	.comm	_EXYNOS3250_WDMA_DONE,4,2       ; @EXYNOS3250_WDMA_DONE
	.comm	_EXYNOS3250_RDMA_DONE,4,2       ; @EXYNOS3250_RDMA_DONE
	.comm	_EXYNOS3250_RESULT_STAT,4,2     ; @EXYNOS3250_RESULT_STAT
	.comm	_VB2_BUF_STATE_ERROR,4,2        ; @VB2_BUF_STATE_ERROR
	.comm	_S5P_JPEG_ENCODE,8,3            ; @S5P_JPEG_ENCODE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_exynos3250_jpeg_irq
.subsections_via_symbols
