	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_seq_timer_set_tick_resolution
_snd_seq_timer_set_tick_resolution:     ## @snd_seq_timer_set_tick_resolution
	.cfi_startproc
## %bb.0:
	movl	%edx, %ecx
	cmpl	$999999, %esi                   ## imm = 0xF423F
	jg	LBB0_2
## %bb.1:
	imull	$1000, %esi, %eax               ## imm = 0x3E8
	cltd
	idivl	%ecx
	jmp	LBB0_3
LBB0_2:
	movl	%esi, %eax
	cltd
	idivl	%ecx
	movl	%eax, %esi
	imull	$1000, %edx, %eax               ## imm = 0x3E8
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %ecx
	imull	$1000, %esi, %eax               ## imm = 0x3E8
	addl	%ecx, %eax
LBB0_3:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %eax
	movl	$1, %ecx
	cmovgel	%eax, %ecx
	movl	%ecx, (%rdi)
	xorl	%esi, %esi
	popq	%rbp
	jmp	_snd_seq_timer_update_tick      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_seq_timer_set_tick_resolution
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_seq_timer_set_tick_resolution
_snd_seq_timer_set_tick_resolution:     ; @snd_seq_timer_set_tick_resolution
	.cfi_startproc
; %bb.0:
	mov	w8, #16959
	movk	w8, #15, lsl #16
	cmp	w1, w8
	b.gt	LBB0_2
; %bb.1:
	mov	w8, #1000
	mul	w8, w1, w8
	sdiv	w8, w8, w2
	b	LBB0_3
LBB0_2:
	sdiv	w8, w1, w2
	msub	w9, w8, w2, w1
	mov	w10, #1000
	mul	w9, w9, w10
	udiv	w9, w9, w2
	madd	w8, w8, w10, w9
LBB0_3:
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	str	w8, [x0]
	mov	w1, #0
	b	_snd_seq_timer_update_tick
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_seq_timer_set_tick_resolution
.subsections_via_symbols
