	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_defuzz_abs_event
_input_defuzz_abs_event:                ## @input_defuzz_abs_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	movl	%edi, %eax
	testl	%edx, %edx
	je	LBB0_10
## %bb.1:
	movl	%edx, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	sarl	%ecx
	movl	%esi, %edi
	subl	%ecx, %edi
	cmpl	%eax, %edi
	jge	LBB0_4
## %bb.2:
	addl	%esi, %ecx
	cmpl	%eax, %ecx
	jle	LBB0_4
## %bb.3:
	movl	%esi, %eax
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_4:
	movl	%esi, %ecx
	subl	%edx, %ecx
	cmpl	%eax, %ecx
	jge	LBB0_7
## %bb.5:
	leal	(%rdx,%rsi), %ecx
	cmpl	%eax, %ecx
	jle	LBB0_7
## %bb.6:
	leal	(%rsi,%rsi,2), %ecx
	movl	%ecx, %edx
	addl	%eax, %edx
	leal	3(%rax,%rcx), %eax
	cmovnsl	%edx, %eax
	sarl	$2, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_7:
	movl	%esi, %edi
	subl	%edx, %edi
	subl	%edx, %edi
	cmpl	%eax, %edi
	jge	LBB0_10
## %bb.8:
	leal	(%rsi,%rdx,2), %ecx
	cmpl	%eax, %ecx
	jle	LBB0_10
## %bb.9:
	addl	%eax, %esi
	movl	%esi, %eax
	shrl	$31, %eax
	addl	%esi, %eax
	sarl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_input_defuzz_abs_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_defuzz_abs_event
_input_defuzz_abs_event:                ; @input_defuzz_abs_event
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_7
; %bb.1:
	cmp	w2, #0
	cinc	w8, w2, lt
	asr	w8, w8, #1
	add	w9, w8, w1
	sub	w8, w1, w8
	cmp	w8, w0
	ccmp	w9, w0, #4, lt
	b.gt	LBB0_5
; %bb.2:
	sub	w8, w1, w2
	cmp	w8, w0
	b.ge	LBB0_6
; %bb.3:
	add	w8, w2, w1
	cmp	w8, w0
	b.le	LBB0_6
; %bb.4:
	add	w8, w1, w1, lsl #1
	add	w8, w8, w0
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #2
	ret
LBB0_5:
	mov	x0, x1
	ret
LBB0_6:
	lsl	w8, w2, #1
	add	w9, w1, w0
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	add	w10, w8, w1
	cmp	w10, w0
	csel	w9, w0, w9, le
	sub	w8, w1, w8
	cmp	w8, w0
	csel	w0, w0, w9, ge
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_input_defuzz_abs_event
.subsections_via_symbols
