	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos3250_jpeg_try_crop
_exynos3250_jpeg_try_crop:              ## @exynos3250_jpeg_try_crop
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	56(%rdi), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	movl	$1, %esi
	movl	$1, %r15d
	cmpl	$2, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.exynos3250_jpeg_try_crop(%rip), %rcx
	movl	(%rcx,%rax,4), %esi
	movl	$2, %r15d
LBB0_2:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movups	40(%r14), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	8(%rbx), %rdi
	callq	_round_down
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rdi
	movl	%r15d, %esi
	callq	_round_down
	movq	%rax, (%rbx)
	movq	24(%rbx), %rdi
	movl	$2, %esi
	callq	_round_down
	movq	%rax, 24(%rbx)
	movq	16(%rbx), %rdi
	movl	$2, %esi
	callq	_round_down
	movq	%rax, 16(%rbx)
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_enclosed_rectangle
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movups	16(%rbx), %xmm0
	movups	%xmm0, 24(%r14)
	movups	(%rbx), %xmm0
	movups	%xmm0, 8(%r14)
	movl	$1, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_exynos3250_jpeg_try_crop
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.exynos3250_jpeg_try_crop
l_switch.table.exynos3250_jpeg_try_crop:
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	1                               ## 0x1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos3250_jpeg_try_crop
_exynos3250_jpeg_try_crop:              ; @exynos3250_jpeg_try_crop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #56]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.exynos3250_jpeg_try_crop@PAGE
Lloh1:
	add	x9, x9, l_switch.table.exynos3250_jpeg_try_crop@PAGEOFF
	ldr	w1, [x9, w8, sxtw #2]
	mov	w21, #2
	b	LBB0_3
LBB0_2:
	mov	w1, #1
	mov	w21, #1
LBB0_3:
	stp	xzr, xzr, [sp, #16]
	ldp	x9, x8, [x19, #40]
	stp	x9, x8, [sp]
	ldr	x0, [x20, #8]
	bl	_round_down
	str	x0, [x20, #8]
	ldr	x0, [x20]
	mov	x1, x21
	bl	_round_down
	str	x0, [x20]
	ldr	x0, [x20, #24]
	mov	w1, #2
	bl	_round_down
	str	x0, [x20, #24]
	ldr	x0, [x20, #16]
	mov	w1, #2
	bl	_round_down
	str	x0, [x20, #16]
	mov	x1, sp
	mov	x0, x20
	bl	_enclosed_rectangle
	cbz	w0, LBB0_5
; %bb.4:
	mov	w0, #0
	ldr	x8, [x20, #24]
	str	x8, [x19, #32]
	ldr	x8, [x20, #16]
	str	x8, [x19, #24]
	ldr	q0, [x20]
	stur	q0, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_exynos3250_jpeg_try_crop
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.exynos3250_jpeg_try_crop
l_switch.table.exynos3250_jpeg_try_crop:
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.long	1                               ; 0x1

.subsections_via_symbols
