	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos4_jpeg_set_jpeg_addr
_exynos4_jpeg_set_jpeg_addr:            ## @exynos4_jpeg_set_jpeg_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	(%rdi), %rax
	movq	_S5P_JPEG_ENCODE@GOTPCREL(%rip), %rcx
	movl	16(%rdi), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	callq	_v4l2_m2m_next_dst_buf
	jmp	LBB0_3
LBB0_2:
	callq	_v4l2_m2m_next_src_buf
LBB0_3:
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_vb2_dma_contig_plane_dma_addr
	movq	8(%r14), %rcx
	movq	(%rcx), %rcx
	movq	_SJPEG_EXYNOS5433@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.4:
	movq	(%rbx), %rcx
	movq	_S5P_JPEG_DECODE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	addl	8(%rbx), %eax
LBB0_6:
	movl	(%r14), %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_exynos4_jpeg_set_stream_buf_address ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_S5P_JPEG_ENCODE,8,3            ## @S5P_JPEG_ENCODE
	.comm	_SJPEG_EXYNOS5433,8,3           ## @SJPEG_EXYNOS5433
	.comm	_S5P_JPEG_DECODE,8,3            ## @S5P_JPEG_DECODE
	.no_dead_strip	_exynos4_jpeg_set_jpeg_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos4_jpeg_set_jpeg_addr
_exynos4_jpeg_set_jpeg_addr:            ; @exynos4_jpeg_set_jpeg_addr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _S5P_JPEG_ENCODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _S5P_JPEG_ENCODE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x0, #16]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	bl	_v4l2_m2m_next_dst_buf
	b	LBB0_3
LBB0_2:
	bl	_v4l2_m2m_next_src_buf
LBB0_3:
	mov	w1, #0
	bl	_vb2_dma_contig_plane_dma_addr
	mov	x1, x0
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SJPEG_EXYNOS5433@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SJPEG_EXYNOS5433@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _S5P_JPEG_DECODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _S5P_JPEG_DECODE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x19, #8]
	add	w1, w1, w8
LBB0_6:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_exynos4_jpeg_set_stream_buf_address
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_S5P_JPEG_ENCODE,8,3            ; @S5P_JPEG_ENCODE
	.comm	_SJPEG_EXYNOS5433,8,3           ; @SJPEG_EXYNOS5433
	.comm	_S5P_JPEG_DECODE,8,3            ; @S5P_JPEG_DECODE
	.no_dead_strip	_exynos4_jpeg_set_jpeg_addr
.subsections_via_symbols
