	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smt_timer_start                ## -- Begin function smt_timer_start
	.p2align	4, 0x90
_smt_timer_start:                       ## @smt_timer_start
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leal	15(%rdx), %eax
	movl	$1, %r13d
	cmpl	$31, %eax
	jb	LBB0_2
## %bb.1:
	testl	%edx, %edx
	cmovnsl	%edx, %eax
	sarl	$4, %eax
	movl	%eax, %r13d
LBB0_2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_smt_timer_stop
	movq	%r14, 24(%r15)
	movl	%r12d, (%r15)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.4:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_timer_done
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	4(%rax), %edx
	cmpl	%r13d, %edx
	jle	LBB0_11
## %bb.7:
	xorl	%ebx, %ebx
	movq	%r14, %rcx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movl	%edx, %ebx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	4(%rax), %edx
	addl	%ebx, %edx
	cmpl	%r13d, %edx
	jle	LBB0_11
## %bb.12:
	addq	$8, %rcx
LBB0_13:
	movq	%r15, (%rcx)
	movq	%rax, 8(%r15)
	subl	%ebx, %r13d
	movl	%r13d, 4(%r15)
	subl	%r13d, 4(%rax)
	jmp	LBB0_14
LBB0_3:
	movq	%r15, (%r14)
	movq	$0, 8(%r15)
	movl	%r13d, 4(%r15)
	movq	%r14, %rdi
	movl	%r13d, %esi
	jmp	LBB0_15
LBB0_5:
	movq	%r14, %rcx
	jmp	LBB0_9
LBB0_8:
	addq	$8, %rcx
LBB0_9:
	movq	%r15, (%rcx)
	movq	$0, 8(%r15)
	subl	%ebx, %r13d
	movl	%r13d, 4(%r15)
LBB0_14:
	movq	(%r14), %rax
	movl	4(%rax), %esi
	movq	%r14, %rdi
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hwt_start                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smt_timer_start                ; -- Begin function smt_timer_start
	.p2align	2
_smt_timer_start:                       ; @smt_timer_start
	.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
	mov	x22, x3
	mov	x20, x1
	mov	x19, x0
	add	w8, w2, #15
	cmp	w2, #0
	csel	w9, w8, w2, lt
	asr	w9, w9, #4
	cmp	w8, #31
	csinc	w21, w9, wzr, hs
	bl	_smt_timer_stop
	str	x19, [x20, #24]
	str	w22, [x20]
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_timer_done
	ldr	x8, [x19]
	cbz	x8, LBB0_9
; %bb.2:
	ldr	w11, [x8, #4]
	cmp	w11, w21
	b.le	LBB0_4
; %bb.3:
	mov	w9, #0
	mov	x10, x19
	b	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x8
	mov	x9, x11
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x8, #4]
	add	w11, w11, w9
	cmp	w11, w21
	b.le	LBB0_4
; %bb.6:
	add	x10, x10, #8
LBB0_7:
	str	x20, [x10]
	str	x8, [x20, #8]
	sub	w9, w21, w9
	str	w9, [x20, #4]
	ldr	w10, [x8, #4]
	sub	w9, w10, w9
	str	w9, [x8, #4]
	b	LBB0_12
LBB0_8:
	str	x20, [x19]
	str	xzr, [x20, #8]
	str	w21, [x20, #4]
	mov	x0, x19
	mov	x1, x21
	b	LBB0_13
LBB0_9:
	mov	w9, #0
	mov	x8, x19
	b	LBB0_11
LBB0_10:
	add	x8, x10, #8
LBB0_11:
	str	x20, [x8]
	str	xzr, [x20, #8]
	sub	w8, w21, w9
	str	w8, [x20, #4]
LBB0_12:
	ldr	x8, [x19]
	ldr	w1, [x8, #4]
	mov	x0, x19
LBB0_13:
	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	_hwt_start
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
