	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in_evdev_set_config
_in_evdev_set_config:                   ## @in_evdev_set_config
	.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
	movl	$-1, %eax
	cmpl	$129, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$128, %esi
	jne	LBB0_9
## %bb.2:
	movl	%edx, %esi
	popq	%rbp
	jmp	_in_evdev_set_blocking          ## TAILCALL
LBB0_3:
	leal	-100(%rdx), %ecx
	cmpl	$-99, %ecx
	jb	LBB0_9
## %bb.4:
	cmpl	$0, (%rdi)
	je	LBB0_9
## %bb.5:
	movl	4(%rdi), %eax
	subl	8(%rdi), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	imull	%ecx, %edx
	movslq	%edx, %rax
	imulq	$-1374389535, %rax, %rax        ## imm = 0xAE147AE1
	movq	%rax, %rsi
	shrq	$63, %rsi
	sarq	$37, %rax
	addl	%esi, %eax
	addl	%ecx, %eax
	movl	%eax, (%rdi)
	jle	LBB0_6
## %bb.7:
	xorl	%eax, %eax
	cmpl	$99, %edx
	jg	LBB0_9
## %bb.8:
	decl	%ecx
	movl	%ecx, (%rdi)
LBB0_9:
	popq	%rbp
	retq
LBB0_6:
	movl	$1, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_in_evdev_set_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in_evdev_set_config
_in_evdev_set_config:                   ; @in_evdev_set_config
	.cfi_startproc
; %bb.0:
	cmp	w1, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_8
; %bb.2:
	mov	x1, x2
	b	_in_evdev_set_blocking
LBB0_3:
	sub	w8, w2, #100
	cmn	w8, #99
	b.lo	LBB0_8
; %bb.4:
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.5:
	ldp	w8, w9, [x0, #4]
	sub	w8, w8, w9
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w9, w8, #1
	mul	w8, w9, w2
	mov	w10, #31457
	movk	w10, #44564, lsl #16
	smull	x10, w8, w10
	lsr	x11, x10, #63
	asr	x10, x10, #37
	add	w10, w10, w11
	add	w10, w10, w9
	str	w10, [x0]
	cmp	w10, #0
	b.le	LBB0_9
; %bb.6:
	cmp	w8, #99
	b.le	LBB0_10
; %bb.7:
	mov	w0, #0
	ret
LBB0_8:
	mov	w0, #-1
	ret
LBB0_9:
	mov	w8, #0
	mov	w9, #1
	b	LBB0_11
LBB0_10:
	mov	w8, #0
	sub	w9, w9, #1
LBB0_11:
	str	w9, [x0]
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_in_evdev_set_config
.subsections_via_symbols
