	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9t031_s_crop
_mt9t031_s_crop:                        ## @mt9t031_s_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movups	(%rsi), %xmm0
	movups	16(%rsi), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	leaq	-48(%rbp), %r15
	callq	_v4l2_get_subdevdata
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_to_mt9t031
	movq	%rax, %r12
	movq	-48(%rbp), %rdi
	movl	$2, %esi
	callq	_ALIGN
	movq	%rax, -48(%rbp)
	movq	-64(%rbp), %rdi
	movl	$2, %esi
	callq	_ALIGN
	movq	%rax, -64(%rbp)
	leaq	-40(%rbp), %rdi
	movq	_MT9T031_COLUMN_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MT9T031_MIN_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MT9T031_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rsi
	callq	_soc_camera_limit_side
	leaq	-56(%rbp), %rdi
	movq	_MT9T031_ROW_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MT9T031_MIN_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MT9T031_MAX_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_soc_camera_limit_side
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mt9t031_set_params
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT9T031_COLUMN_SKIP,4,2        ## @MT9T031_COLUMN_SKIP
	.comm	_MT9T031_MIN_WIDTH,4,2          ## @MT9T031_MIN_WIDTH
	.comm	_MT9T031_MAX_WIDTH,4,2          ## @MT9T031_MAX_WIDTH
	.comm	_MT9T031_ROW_SKIP,4,2           ## @MT9T031_ROW_SKIP
	.comm	_MT9T031_MIN_HEIGHT,4,2         ## @MT9T031_MIN_HEIGHT
	.comm	_MT9T031_MAX_HEIGHT,4,2         ## @MT9T031_MAX_HEIGHT
	.no_dead_strip	_mt9t031_s_crop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9t031_s_crop
_mt9t031_s_crop:                        ; @mt9t031_s_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
	ldp	q0, q1, [x1]
	stp	q0, q1, [sp]
	mov	x22, sp
	add	x19, x22, #16
	bl	_v4l2_get_subdevdata
	mov	x20, x0
	bl	_to_mt9t031
	mov	x21, x0
	ldr	x0, [sp, #16]
	mov	w1, #2
	bl	_ALIGN
	str	x0, [sp, #16]
	ldr	x0, [sp]
	mov	w1, #2
	bl	_ALIGN
	str	x0, [sp]
	add	x0, x22, #24
Lloh0:
	adrp	x8, _MT9T031_COLUMN_SKIP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT9T031_COLUMN_SKIP@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _MT9T031_MIN_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT9T031_MIN_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _MT9T031_MAX_WIDTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MT9T031_MAX_WIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x1, x19
	bl	_soc_camera_limit_side
	orr	x0, x22, #0x8
Lloh9:
	adrp	x8, _MT9T031_ROW_SKIP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MT9T031_ROW_SKIP@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _MT9T031_MIN_HEIGHT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MT9T031_MIN_HEIGHT@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x8, _MT9T031_MAX_HEIGHT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MT9T031_MAX_HEIGHT@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	mov	x1, sp
	bl	_soc_camera_limit_side
	ldp	w3, w2, [x21]
	mov	x1, sp
	mov	x0, x20
	bl	_mt9t031_set_params
	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 AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT9T031_COLUMN_SKIP,4,2        ; @MT9T031_COLUMN_SKIP
	.comm	_MT9T031_MIN_WIDTH,4,2          ; @MT9T031_MIN_WIDTH
	.comm	_MT9T031_MAX_WIDTH,4,2          ; @MT9T031_MAX_WIDTH
	.comm	_MT9T031_ROW_SKIP,4,2           ; @MT9T031_ROW_SKIP
	.comm	_MT9T031_MIN_HEIGHT,4,2         ; @MT9T031_MIN_HEIGHT
	.comm	_MT9T031_MAX_HEIGHT,4,2         ; @MT9T031_MAX_HEIGHT
	.no_dead_strip	_mt9t031_s_crop
.subsections_via_symbols
