	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcm_sensor_set_shutter
_qcm_sensor_set_shutter:                ## @qcm_sensor_set_shutter
	.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, %r14
	movl	%esi, %eax
	andl	$16383, %eax                    ## imm = 0x3FFF
	cmpl	$49153, %esi                    ## imm = 0xC001
	leal	49152(,%rax,8), %ebx
	cmovll	%esi, %ebx
	movl	(%rdi), %edi
	movzbl	%bh, %edx
	movl	$5181, %esi                     ## imm = 0x143D
	callq	_qcm_stv_setb
	movl	%eax, %esi
	callq	_CHECK_RET
	movl	(%r14), %edi
	shrl	$16, %ebx
	andl	$3, %ebx
	movl	$5182, %esi                     ## imm = 0x143E
	movl	%ebx, %edx
	callq	_qcm_stv_setb
	movl	%eax, %esi
	callq	_CHECK_RET
	movl	(%r14), %edi
	movl	$5183, %esi                     ## imm = 0x143F
	movl	$1, %edx
	callq	_qcm_stv_setb
	movl	%eax, %esi
	callq	_CHECK_RET
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_qcm_sensor_set_shutter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcm_sensor_set_shutter
_qcm_sensor_set_shutter:                ; @qcm_sensor_set_shutter
	.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
	ubfiz	w8, w1, #3, #14
	add	w8, w8, #12, lsl #12            ; =49152
	cmp	w1, #12, lsl #12                ; =49152
	csel	w20, w8, w1, gt
	ldr	w0, [x0]
	ubfx	w2, w20, #8, #8
	mov	w1, #5181
	bl	_qcm_stv_setb
	mov	x1, x0
	bl	_CHECK_RET
	ldr	w0, [x19]
	ubfx	w2, w20, #16, #2
	mov	w1, #5182
	bl	_qcm_stv_setb
	mov	x1, x0
	bl	_CHECK_RET
	ldr	w0, [x19]
	mov	w1, #5183
	mov	w2, #1
	bl	_qcm_stv_setb
	mov	x1, x0
	bl	_CHECK_RET
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_qcm_sensor_set_shutter
.subsections_via_symbols
