	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos4_jpeg_irq
_exynos4_jpeg_irq:                      ## @exynos4_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	leaq	12(%rsi), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	callq	_exynos4_jpeg_set_sys_int_enable
	movl	8(%rbx), %edi
	callq	_v4l2_m2m_get_curr_priv
	movq	%rax, %r15
	movl	8(%rax), %edi
	callq	_v4l2_m2m_src_buf_remove
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r15), %edi
	callq	_v4l2_m2m_dst_buf_remove
	movq	%rax, %r13
	movl	16(%rbx), %edi
	callq	_exynos4_jpeg_get_int_status
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	andl	$31, %eax
	decl	%eax
	cmpl	$15, %eax
	ja	LBB0_8
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_ERR_PROT@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_ERR_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_OK_ENC_OR_DEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.11:
	movq	(%r15), %rax
	movq	_S5P_JPEG_ENCODE@GOTPCREL(%rip), %rcx
	movq	_VB2_BUF_STATE_DONE@GOTPCREL(%rip), %r12
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movl	16(%rbx), %edi
	callq	_exynos4_jpeg_get_stream_size
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	_vb2_set_plane_payload
	jmp	LBB0_13
LBB0_10:
	movq	_VB2_BUF_STATE_ERROR@GOTPCREL(%rip), %r12
LBB0_13:
	movl	(%r12), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_v4l2_m2m_buf_done
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_v4l2_m2m_buf_done
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movq	_SJPEG_EXYNOS4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	movl	16(%rbx), %edi
	callq	_exynos4_jpeg_get_frame_fmt
	movl	%eax, 12(%r15)
LBB0_15:
	movl	16(%rbx), %edi
	movq	_S5P_JPEG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_exynos4_jpeg_set_enc_dec_mode
	movq	%r14, %rdi
	callq	_spin_unlock
	movl	8(%rbx), %edi
	movl	8(%r15), %esi
	callq	_v4l2_m2m_job_finish
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_OK_ENC_OR_DEC@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_ERR_DEC_INVALID_FORMAT@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_ERR_MULTI_SCAN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_ERR_FRAME@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_ERR_PROT,8,3                   ## @ERR_PROT
	.comm	_OK_ENC_OR_DEC,8,3              ## @OK_ENC_OR_DEC
	.comm	_ERR_DEC_INVALID_FORMAT,8,3     ## @ERR_DEC_INVALID_FORMAT
	.comm	_ERR_MULTI_SCAN,8,3             ## @ERR_MULTI_SCAN
	.comm	_ERR_FRAME,8,3                  ## @ERR_FRAME
	.comm	_ERR_UNKNOWN,8,3                ## @ERR_UNKNOWN
	.comm	_S5P_JPEG_ENCODE,8,3            ## @S5P_JPEG_ENCODE
	.comm	_VB2_BUF_STATE_DONE,4,2         ## @VB2_BUF_STATE_DONE
	.comm	_VB2_BUF_STATE_ERROR,4,2        ## @VB2_BUF_STATE_ERROR
	.comm	_SJPEG_EXYNOS4,8,3              ## @SJPEG_EXYNOS4
	.comm	_S5P_JPEG_DISABLE,4,2           ## @S5P_JPEG_DISABLE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_exynos4_jpeg_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos4_jpeg_irq
_exynos4_jpeg_irq:                      ; @exynos4_jpeg_irq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	add	x20, x1, #12
	mov	x0, x20
	bl	_spin_lock
	ldr	w0, [x19, #16]
	mov	w1, #0
	bl	_exynos4_jpeg_set_sys_int_enable
	ldr	w0, [x19, #8]
	bl	_v4l2_m2m_get_curr_priv
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_v4l2_m2m_src_buf_remove
	mov	x22, x0
	ldr	w0, [x21, #8]
	bl	_v4l2_m2m_dst_buf_remove
	mov	x23, x0
	ldr	w0, [x19, #16]
	bl	_exynos4_jpeg_get_int_status
Lloh0:
	adrp	x8, _OK_ENC_OR_DEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OK_ENC_OR_DEC@GOTPAGEOFF]
	cbz	w0, LBB0_4
; %bb.1:
	and	w9, w0, #0x1f
	sub	w9, w9, #1
	cmp	w9, #15
	b.hi	LBB0_4
; %bb.2:
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh4:
	adrp	x9, _ERR_PROT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ERR_PROT@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x9, _ERR_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ERR_UNKNOWN@GOTPAGEOFF]
LBB0_5:
	ldr	x9, [x9]
LBB0_6:
	str	x9, [x19]
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.7:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _S5P_JPEG_ENCODE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _S5P_JPEG_ENCODE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	ldr	w0, [x19, #16]
	bl	_exynos4_jpeg_get_stream_size
	mov	x2, x0
	mov	x0, x23
	mov	w1, #0
	bl	_vb2_set_plane_payload
LBB0_9:
Lloh11:
	adrp	x24, _VB2_BUF_STATE_DONE@GOTPAGE
Lloh12:
	ldr	x24, [x24, _VB2_BUF_STATE_DONE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x24, _VB2_BUF_STATE_ERROR@GOTPAGE
Lloh14:
	ldr	x24, [x24, _VB2_BUF_STATE_ERROR@GOTPAGEOFF]
LBB0_11:
	ldr	w1, [x24]
	mov	x0, x22
	bl	_v4l2_m2m_buf_done
	ldr	w1, [x24]
	mov	x0, x23
	bl	_v4l2_m2m_buf_done
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _SJPEG_EXYNOS4@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SJPEG_EXYNOS4@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	ldr	w0, [x19, #16]
	bl	_exynos4_jpeg_get_frame_fmt
	str	w0, [x21, #12]
LBB0_13:
	ldr	w0, [x19, #16]
Lloh18:
	adrp	x8, _S5P_JPEG_DISABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _S5P_JPEG_DISABLE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_exynos4_jpeg_set_enc_dec_mode
	mov	x0, x20
	bl	_spin_unlock
	ldr	w0, [x19, #8]
	ldr	w1, [x21, #8]
	bl	_v4l2_m2m_job_finish
Lloh21:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	x9, [x8]
	b	LBB0_6
LBB0_15:
Lloh24:
	adrp	x9, _ERR_DEC_INVALID_FORMAT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ERR_DEC_INVALID_FORMAT@GOTPAGEOFF]
	b	LBB0_5
LBB0_16:
Lloh26:
	adrp	x9, _ERR_MULTI_SCAN@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ERR_MULTI_SCAN@GOTPAGEOFF]
	b	LBB0_5
LBB0_17:
Lloh28:
	adrp	x9, _ERR_FRAME@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ERR_FRAME@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
                                        ; -- End function
	.comm	_ERR_PROT,8,3                   ; @ERR_PROT
	.comm	_OK_ENC_OR_DEC,8,3              ; @OK_ENC_OR_DEC
	.comm	_ERR_DEC_INVALID_FORMAT,8,3     ; @ERR_DEC_INVALID_FORMAT
	.comm	_ERR_MULTI_SCAN,8,3             ; @ERR_MULTI_SCAN
	.comm	_ERR_FRAME,8,3                  ; @ERR_FRAME
	.comm	_ERR_UNKNOWN,8,3                ; @ERR_UNKNOWN
	.comm	_S5P_JPEG_ENCODE,8,3            ; @S5P_JPEG_ENCODE
	.comm	_VB2_BUF_STATE_DONE,4,2         ; @VB2_BUF_STATE_DONE
	.comm	_VB2_BUF_STATE_ERROR,4,2        ; @VB2_BUF_STATE_ERROR
	.comm	_SJPEG_EXYNOS4,8,3              ; @SJPEG_EXYNOS4
	.comm	_S5P_JPEG_DISABLE,4,2           ; @S5P_JPEG_DISABLE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_exynos4_jpeg_irq
.subsections_via_symbols
