	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tas5130d1b_set_crop
_tas5130d1b_set_crop:                   ## @tas5130d1b_set_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_sn9c102_get_sensor
	movl	(%r15), %ebx
	movl	8(%r15), %esi
	subl	8(%rax), %esi
	addl	$104, %esi
	subl	(%rax), %ebx
	addl	$12, %ebx
	movq	%r14, %rdi
	movl	$18, %edx
	callq	_sn9c102_write_reg
	movq	%rax, %r15
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$19, %edx
	callq	_sn9c102_write_reg
	movq	%rax, %r12
	addl	%r15d, %r12d
	movq	%r14, %rdi
	movl	$31, %esi
	movl	$26, %edx
	callq	_sn9c102_write_reg
	movq	%rax, %rbx
	addl	%r12d, %ebx
	movq	%r14, %rdi
	movl	$26, %esi
	movl	$27, %edx
	callq	_sn9c102_write_reg
	movq	%rax, %r15
	addl	%ebx, %r15d
	movq	%r14, %rdi
	movl	$25, %esi
	callq	_sn9c102_pread_reg
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$25, %edx
	callq	_sn9c102_write_reg
	addl	%r15d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tas5130d1b_set_crop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tas5130d1b_set_crop
_tas5130d1b_set_crop:                   ; @tas5130d1b_set_crop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_sn9c102_get_sensor
	ldr	w8, [x20, #8]
	ldr	w9, [x0, #8]
	sub	w8, w8, w9
	add	w1, w8, #104
	ldr	w8, [x20]
	ldr	w9, [x0]
	sub	w8, w8, w9
	add	w20, w8, #12
	mov	x0, x19
	mov	w2, #18
	bl	_sn9c102_write_reg
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #19
	bl	_sn9c102_write_reg
	add	w20, w0, w21
	mov	x0, x19
	mov	w1, #31
	mov	w2, #26
	bl	_sn9c102_write_reg
	add	w20, w20, w0
	mov	x0, x19
	mov	w1, #26
	mov	w2, #27
	bl	_sn9c102_write_reg
	add	w20, w20, w0
	mov	x0, x19
	mov	w1, #25
	bl	_sn9c102_pread_reg
	mov	x1, x0
	mov	x0, x19
	mov	w2, #25
	bl	_sn9c102_write_reg
	add	w0, w20, w0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tas5130d1b_set_crop
.subsections_via_symbols
