	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLTIPS_SetDelayTime
_TOOLTIPS_SetDelayTime:                 ## @TOOLTIPS_SetDelayTime
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	leal	-128(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_14
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	testl	%edx, %edx
	jns	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_GetDoubleClickTime
	cltq
	imulq	$1717986919, %rax, %rdx         ## imm = 0x66666667
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$33, %rdx
	addl	%eax, %edx
LBB0_7:
	movl	%edx, (%rbx)
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_WARN
	jmp	LBB0_15
LBB0_11:
	testl	%edx, %edx
	jns	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_GetDoubleClickTime
	movl	%eax, %edx
LBB0_13:
	movl	%edx, 8(%rbx)
	jmp	LBB0_15
LBB0_8:
	testl	%edx, %edx
	jns	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_GetDoubleClickTime
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %edx
LBB0_10:
	movl	%edx, 4(%rbx)
	jmp	LBB0_15
LBB0_2:
	testl	%edx, %edx
	jg	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_GetDoubleClickTime
	movl	%eax, %edx
LBB0_4:
	movslq	%edx, %rax
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$33, %rcx
	addl	%edx, %ecx
	movl	%ecx, (%rbx)
	leal	(%rax,%rax), %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%ecx, 4(%rbx)
	movl	%eax, 8(%rbx)
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid duration flag %x\n"

	.no_dead_strip	_TOOLTIPS_SetDelayTime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLTIPS_SetDelayTime
_TOOLTIPS_SetDelayTime:                 ; @TOOLTIPS_SetDelayTime
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	tbz	w2, #31, LBB0_4
; %bb.3:
	bl	_GetDoubleClickTime
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w2, w8, w9
LBB0_4:
	str	w2, [x19]
	b	LBB0_15
LBB0_5:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
	b	LBB0_15
LBB0_6:
	tbz	w2, #31, LBB0_14
; %bb.7:
	bl	_GetDoubleClickTime
	mov	x2, x0
	b	LBB0_14
LBB0_8:
	tbz	w2, #31, LBB0_10
; %bb.9:
	bl	_GetDoubleClickTime
	add	w8, w0, w0, lsl #2
	lsl	w2, w8, #1
LBB0_10:
	str	w2, [x19, #4]
	b	LBB0_15
LBB0_11:
	cmp	w2, #0
	b.gt	LBB0_13
; %bb.12:
	bl	_GetDoubleClickTime
	mov	x2, x0
LBB0_13:
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w2, w8
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w9
	add	w9, w2, w2, lsl #2
	lsl	w9, w9, #1
	stp	w8, w9, [x19]
LBB0_14:
	str	w2, [x19, #8]
LBB0_15:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid duration flag %x\n"

	.no_dead_strip	_TOOLTIPS_SetDelayTime
.subsections_via_symbols
