	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_input_randomness           ## -- Begin function add_input_randomness
	.p2align	4, 0x90
_add_input_randomness:                  ## @add_input_randomness
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movzbl	_add_input_randomness.last_value(%rip), %eax
	cmpl	%edx, %eax
	jne	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%edx, %r14d
	movl	%esi, %ebx
	movl	%edi, %r15d
	leaq	L_.str(%rip), %rdi
	callq	_DEBUG_ENT
	movb	%r14b, _add_input_randomness.last_value(%rip)
	shll	$4, %r15d
	xorl	%ebx, %r15d
	shrl	$4, %ebx
	xorl	%r15d, %ebx
	xorl	%r14d, %ebx
	movq	_input_timer_state@GOTPCREL(%rip), %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_timer_randomness           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_add_input_randomness.last_value,1,0 ## @add_input_randomness.last_value
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"input event\n"

	.comm	_input_timer_state,4,2          ## @input_timer_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_input_randomness           ; -- Begin function add_input_randomness
	.p2align	2
_add_input_randomness:                  ; @add_input_randomness
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	adrp	x22, _add_input_randomness.last_value@PAGE
	ldrb	w8, [x22, _add_input_randomness.last_value@PAGEOFF]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DEBUG_ENT
	strb	w19, [x22, _add_input_randomness.last_value@PAGEOFF]
	eor	w8, w20, w21, lsl #4
	eor	w8, w8, w20, lsr #4
	eor	w1, w8, w19
Lloh2:
	adrp	x0, _input_timer_state@GOTPAGE
Lloh3:
	ldr	x0, [x0, _input_timer_state@GOTPAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_add_timer_randomness
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_add_input_randomness.last_value,1,0 ; @add_input_randomness.last_value
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"input event\n"

	.comm	_input_timer_state,4,2          ; @input_timer_state
.subsections_via_symbols
