	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_ctrl_get_rel_speed
_uvc_ctrl_get_rel_speed:                ## @uvc_ctrl_get_rel_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	cmpl	$129, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$132, %esi
	jne	LBB0_6
## %bb.2:
	movl	(%rdx,%rcx,4), %esi
	testl	%esi, %esi
	je	LBB0_3
## %bb.4:
	incl	%ecx
	movl	(%rdx,%rcx,4), %ecx
	movl	%ecx, %eax
	negl	%eax
	testl	%esi, %esi
	cmovgl	%ecx, %eax
	popq	%rbp
	retq
LBB0_5:
	incl	%ecx
	xorl	%eax, %eax
	subl	(%rdx,%rcx,4), %eax
	popq	%rbp
	retq
LBB0_6:
	incl	%ecx
	movl	(%rdx,%rcx,4), %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_uvc_ctrl_get_rel_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvc_ctrl_get_rel_speed
_uvc_ctrl_get_rel_speed:                ; @uvc_ctrl_get_rel_speed
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	cmp	w1, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #132
	b.ne	LBB0_5
; %bb.2:
	ldr	w9, [x2, w8, uxtw #2]
	cbz	w9, LBB0_6
; %bb.3:
	add	w8, w8, #1
	ldr	w8, [x2, w8, uxtw #2]
	cmp	w9, #0
	cneg	w0, w8, le
	ret
LBB0_4:
	add	w8, w8, #1
	ldr	w8, [x2, w8, uxtw #2]
	neg	w0, w8
	ret
LBB0_5:
	add	w8, w8, #1
	ldr	w0, [x2, w8, uxtw #2]
	ret
LBB0_6:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_uvc_ctrl_get_rel_speed
.subsections_via_symbols
