	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solo_set_motion_threshold      ## -- Begin function solo_set_motion_threshold
	.p2align	4, 0x90
_solo_set_motion_threshold:             ## @solo_set_motion_threshold
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	%esi, (%rdi)
	jge	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_SOLO_MOT_FLAG_AREA@GOTPCREL(%rip), %rax
	movq	_SOLO_MOT_THRESH_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%ecx, %esi
	addl	%esi, %esi
	movslq	%esi, %rsi
	addq	(%rax), %rsi
	popq	%rbp
	jmp	_solo_dma_vin_region            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SOLO_MOT_FLAG_AREA,8,3         ## @SOLO_MOT_FLAG_AREA
	.comm	_SOLO_MOT_THRESH_SIZE,4,2       ## @SOLO_MOT_THRESH_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solo_set_motion_threshold      ; -- Begin function solo_set_motion_threshold
	.p2align	2
_solo_set_motion_threshold:             ; @solo_set_motion_threshold
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
Lloh3:
	adrp	x8, _SOLO_MOT_FLAG_AREA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOLO_MOT_FLAG_AREA@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _SOLO_MOT_THRESH_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOLO_MOT_THRESH_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x9]
	mul	w9, w1, w3
	lsl	w9, w9, #1
	add	x1, x8, w9, sxtw
	b	_solo_dma_vin_region
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SOLO_MOT_FLAG_AREA,8,3         ; @SOLO_MOT_FLAG_AREA
	.comm	_SOLO_MOT_THRESH_SIZE,4,2       ; @SOLO_MOT_THRESH_SIZE
.subsections_via_symbols
