	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pas202bcb_set_crop
_pas202bcb_set_crop:                    ## @pas202bcb_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	%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, %r15
	movq	%rdi, %r14
	callq	_sn9c102_get_sensor
	movq	%rax, %r12
	movq	8(%r15), %rbx
	movq	8(%rax), %r13
	movq	%r14, %rdi
	callq	_sn9c102_get_bridge
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.pas202bcb_set_crop(%rip), %rcx
	movq	(%r15), %rsi
	addq	(%rcx,%rax,8), %rsi
	subq	(%r12), %rsi
	jmp	LBB0_3
LBB0_1:
	xorl	%esi, %esi
LBB0_3:
	subq	%r13, %rbx
	addq	$3, %rbx
	movq	%r14, %rdi
	movl	$18, %edx
	callq	_sn9c102_write_reg
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$19, %edx
	callq	_sn9c102_write_reg
	addl	%r15d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pas202bcb_set_crop
	.section	__TEXT,__const
	.p2align	3                               ## @switch.table.pas202bcb_set_crop
l_switch.table.pas202bcb_set_crop:
	.quad	3                               ## 0x3
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pas202bcb_set_crop
_pas202bcb_set_crop:                    ; @pas202bcb_set_crop
	.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	x20, x1
	mov	x19, x0
	bl	_sn9c102_get_sensor
	mov	x21, x0
	ldr	x22, [x20, #8]
	ldr	x23, [x0, #8]
	mov	x0, x19
	bl	_sn9c102_get_bridge
	sub	w8, w0, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.pas202bcb_set_crop@PAGE
Lloh1:
	add	x9, x9, l_switch.table.pas202bcb_set_crop@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x9, [x20]
	ldr	x10, [x21]
	add	x8, x9, x8
	sub	x1, x8, x10
	b	LBB0_3
LBB0_2:
	mov	x1, #0
LBB0_3:
	sub	x8, x22, x23
	add	x20, x8, #3
	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	w0, w0, w21
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pas202bcb_set_crop
	.section	__TEXT,__const
	.p2align	3                               ; @switch.table.pas202bcb_set_crop
l_switch.table.pas202bcb_set_crop:
	.quad	3                               ; 0x3
	.quad	4                               ; 0x4
	.quad	4                               ; 0x4

.subsections_via_symbols
