	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function printprof
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_2:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
LCPI0_3:
	.quad	24                              ## 0x18
	.quad	24                              ## 0x18
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_printprof
	.p2align	4, 0x90
_printprof:                             ## @printprof
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_actime@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	leaq	L_str(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
	callq	_flatprofheader
	movq	_nname@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	movl	(%r15), %esi
	testl	%esi, %esi
	jle	LBB0_21
## %bb.3:
	cmpl	$4, %esi
	jb	LBB0_4
## %bb.5:
	movq	_nl@GOTPCREL(%rip), %r8
	leaq	8(%r8), %rax
	cmpq	%rax, %r12
	jae	LBB0_8
## %bb.6:
	leaq	(%r12,%rsi,8), %rax
	cmpq	_nl@GOTPCREL(%rip), %rax
	jbe	LBB0_8
LBB0_4:
	xorl	%r9d, %r9d
LBB0_14:
	movq	%r9, %r8
	notq	%r8
	addq	%rsi, %r8
	movq	%rsi, %rdx
	andq	$3, %rdx
	je	LBB0_18
## %bb.15:
	leaq	(,%r9,4), %rdi
	negq	%rdx
	xorl	%eax, %eax
	movq	_nl@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rbx
	addq	%rdi, %rbx
	movq	%rbx, (%r12,%rdi,2)
	decq	%rax
	addq	$4, %rdi
	cmpq	%rax, %rdx
	jne	LBB0_16
## %bb.17:
	subq	%rax, %r9
LBB0_18:
	cmpq	$3, %r8
	jb	LBB0_21
## %bb.19:
	movq	%rsi, %rcx
	subq	%r9, %rcx
	leaq	8(,%r9,4), %rax
	movq	_nl@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rdi
	addq	%rax, %rdi
	addq	$-8, %rdi
	movq	%rdi, -16(%r12,%rax,2)
	movq	(%rdx), %rdi
	addq	%rax, %rdi
	addq	$-4, %rdi
	movq	%rdi, -8(%r12,%rax,2)
	movq	(%rdx), %rdi
	addq	%rax, %rdi
	movq	%rdi, (%r12,%rax,2)
	movq	(%rdx), %rdi
	addq	%rax, %rdi
	addq	$4, %rdi
	movq	%rdi, 8(%r12,%rax,2)
	addq	$16, %rax
	addq	$-4, %rcx
	jne	LBB0_20
	jmp	LBB0_21
LBB0_8:
	movl	%esi, %r9d
	andl	$-4, %r9d
	leaq	-4(%r9), %rax
	movq	%rax, %rcx
	shrq	$2, %rcx
	incq	%rcx
	testq	%rax, %rax
	je	LBB0_25
## %bb.9:
	movq	%rcx, %rdx
	andq	$-2, %rdx
	movq	(%r8), %xmm0                    ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm1               ## xmm1 = xmm0[0,1,0,1]
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edi, %edi
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [8,8]
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [16,16]
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [24,24]
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm5
	psllq	$2, %xmm5
	paddq	%xmm1, %xmm5
	movdqa	%xmm5, %xmm6
	paddq	%xmm2, %xmm6
	movdqu	%xmm5, (%r12,%rdi,8)
	movdqu	%xmm6, 16(%r12,%rdi,8)
	movdqa	%xmm5, %xmm6
	paddq	%xmm3, %xmm6
	paddq	%xmm4, %xmm5
	movdqu	%xmm6, 32(%r12,%rdi,8)
	movdqu	%xmm5, 48(%r12,%rdi,8)
	addq	$8, %rdi
	paddq	%xmm2, %xmm0
	addq	$-2, %rdx
	jne	LBB0_10
## %bb.11:
	testb	$1, %cl
	je	LBB0_13
LBB0_12:
	movq	(%r8), %xmm1                    ## xmm1 = mem[0],zero
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	psllq	$2, %xmm0
	paddq	%xmm1, %xmm0
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [8,8]
	paddq	%xmm0, %xmm1
	movdqu	%xmm0, (%r12,%rdi,8)
	movdqu	%xmm1, 16(%r12,%rdi,8)
LBB0_13:
	cmpq	%rsi, %r9
	jne	LBB0_14
LBB0_21:
	movq	_timecmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$8, %edx
	callq	_qsort
	cmpl	$0, (%r15)
	jle	LBB0_24
## %bb.22:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	callq	_flatprofline
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_23
LBB0_24:
	movq	$0, (%r14)
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_25:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edi, %edi
	testb	$1, %cl
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_actime,8,3                     ## @actime
	.comm	_nname,4,2                      ## @nname
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"[printprof] ran out of memory for time sorting"

	.comm	_nl,8,3                         ## @nl
	.comm	_timecmp,4,2                    ## @timecmp
L_str:                                  ## @str
	.asciz	"\f"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function printprof
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_printprof
	.p2align	2
_printprof:                             ; @printprof
	.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
Lloh0:
	adrp	x20, _actime@GOTPAGE
Lloh1:
	ldr	x20, [x20, _actime@GOTPAGEOFF]
	str	xzr, [x20]
Lloh2:
	adrp	x0, l_str@PAGE
Lloh3:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	bl	_flatprofheader
Lloh4:
	adrp	x21, _nname@GOTPAGE
Lloh5:
	ldr	x21, [x21, _nname@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #8
	bl	_calloc
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldr	w1, [x21]
	cmp	w1, #1
	b.lt	LBB0_11
; %bb.3:
Lloh8:
	adrp	x8, _nl@GOTPAGE
Lloh9:
	ldr	x8, [x8, _nl@GOTPAGEOFF]
	cmp	w1, #8
	b.lo	LBB0_8
; %bb.4:
	add	x9, x19, x1, lsl #3
	add	x10, x8, #8
	cmp	x19, x10
	ccmp	x9, x8, #0, lo
	b.hi	LBB0_8
; %bb.5:
	and	x9, x1, #0xfffffff8
	ld1r.2d	{ v0 }, [x8]
Lloh10:
	adrp	x10, lCPI0_0@PAGE
Lloh11:
	ldr	q1, [x10, lCPI0_0@PAGEOFF]
	add	x10, x19, #32
	mov	w11, #24
	dup.2d	v2, x11
	mov	w11, #16
	dup.2d	v3, x11
	mov	w11, #8
	dup.2d	v4, x11
	mov	x11, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	shl.2d	v5, v1, #2
	add.2d	v6, v0, v5
	add.2d	v5, v5, v0
	add.2d	v7, v5, v4
	add.2d	v16, v5, v3
	add.2d	v5, v5, v2
	stp	q6, q7, [x10, #-32]
	stp	q16, q5, [x10], #64
	add.2d	v1, v1, v4
	subs	x11, x11, #8
	b.ne	LBB0_6
; %bb.7:
	cmp	x9, x1
	b.ne	LBB0_9
	b	LBB0_11
LBB0_8:
	mov	x9, #0
LBB0_9:
	lsl	x10, x9, #2
	sub	x11, x1, x9
	add	x9, x19, x9, lsl #3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8]
	add	x12, x12, x10
	str	x12, [x9], #8
	add	x10, x10, #4
	subs	x11, x11, #1
	b.ne	LBB0_10
LBB0_11:
Lloh12:
	adrp	x8, _timecmp@GOTPAGE
Lloh13:
	ldr	x8, [x8, _timecmp@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #8
	bl	_qsort
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.12:
	mov	x22, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, x22, lsl #3]
	bl	_flatprofline
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_13
LBB0_14:
	str	xzr, [x20]
	mov	x0, x19
	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	_free
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_actime,8,3                     ; @actime
	.comm	_nname,4,2                      ; @nname
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"[printprof] ran out of memory for time sorting"

	.comm	_nl,8,3                         ; @nl
	.comm	_timecmp,4,2                    ; @timecmp
l_str:                                  ; @str
	.asciz	"\f"

.subsections_via_symbols
