	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function main
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LNBUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_FNBUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	addl	$50, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -76(%rbp)                ## 4-byte Spill
	leaq	L_.str(%rip), %r12
	movq	_optarg@GOTPCREL(%rip), %r15
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_usage
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_getopt
	cmpl	$106, %eax
	jg	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$97, %eax
	jne	LBB0_5
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -80(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$108, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$107, %eax
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdi
	callq	_atof
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	movss	%xmm0, -76(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
LBB0_10:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	subl	%r15d, %ebx
	cmpl	$2, %ebx
	je	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_usage
LBB0_12:
	movq	(%r14,%r15,8), %r12
	movq	8(%r14,%r15,8), %rdi
	movq	_R_OK@GOTPCREL(%rip), %r14
	movq	_F_OK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	orl	(%r14), %esi
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	callq	_access
	cmpl	$-1, %eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_14:
	movl	(%r15), %esi
	orl	(%r14), %esi
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_access
	cmpl	$-1, %eax
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_16:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.17:
	movl	(%r15), %esi
	orl	(%r14), %esi
	callq	_access
	cmpl	$-1, %eax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.3(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_19:
	movq	%rbx, %r12
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_bzero
	leaq	L_.str.4(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	movq	%rax, %rbx
	movq	_TMPNAME@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leaq	L_.str.5(%rip), %r14
	leaq	-72(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_asprintf
	movl	(%r15), %ecx
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	jmp	LBB0_22
LBB0_20:
	movq	__PATH_TMP@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movq	_TMPNAME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leaq	L_.str.5(%rip), %r15
	leaq	-72(%rbp), %rdi
	movq	%r15, %rsi
	callq	_asprintf
	movq	(%r14), %rdx
	movl	(%rbx), %ecx
	leaq	-64(%rbp), %rdi
	movq	%r15, %rsi
LBB0_22:
	callq	_asprintf
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	movq	_LNBUFF@GOTPCREL(%rip), %rbx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	je	LBB0_24
## %bb.23:
	cmpq	$0, -72(%rbp)
	jne	LBB0_25
LBB0_24:
	leaq	L_.str.6(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
	movq	-64(%rbp), %rdi
LBB0_25:
	callq	_mkstemp
	cmpl	$-1, %eax
	movq	%r12, %r15
	jne	LBB0_27
## %bb.26:
	leaq	L_.str.7(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_27:
	movq	-64(%rbp), %r9
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_29
## %bb.28:
	leaq	L_.str.8(%rip), %rdx
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_30
LBB0_29:
	leaq	L_.str.9(%rip), %rdx
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rcx
	movq	%r9, %r8
	xorl	%eax, %eax
	callq	_snprintf
LBB0_30:
	movq	%r15, %rdi
	callq	_system
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	leaq	L_.str.7(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_32:
	movq	-64(%rbp), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_fopen
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_34
## %bb.33:
	leaq	L_.str.11(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	-144(%rbp), %r14
	movq	-136(%rbp), %r12
	movq	-152(%rbp), %rbx
	movq	_totalsamples@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rbx, %rdi
	callq	_general_findent
	testq	%rax, %rax
	je	LBB0_53
## %bb.39:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	%rax, %rdi
	callq	_entry_acqref
	movq	_LNBUFF@GOTPCREL(%rip), %rbx
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_41
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movsbl	(%r13), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_34
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.12(%rip), %rsi
	leaq	-152(%rbp), %rdx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	-144(%rbp), %r8
	leaq	-136(%rbp), %r9
	callq	_sscanf
	cmpl	$4, %eax
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_34 Depth=1
	xorl	%edi, %edi
	leaq	L_.str.13(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_FATAL
	jmp	LBB0_38
LBB0_53:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_entry_create
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.14(%rip), %rsi
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_55:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	%rbx, %rdi
	callq	_general_insertent
	movq	_LNBUFF@GOTPCREL(%rip), %rbx
	jmp	LBB0_34
LBB0_41:
	movq	%r15, %rdi
	callq	_fclose
	movq	_EOF@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_43
## %bb.42:
	leaq	L_.str.15(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_43:
	movq	-64(%rbp), %rdi
	callq	_remove
	cmpl	$-1, %eax
	movl	-80(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_45
## %bb.44:
	leaq	L_.str.16(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_45:
	xorl	%eax, %eax
	callq	_fqueue_insertgen
	cmpl	$-1, %eax
	jne	LBB0_47
## %bb.46:
	leaq	L_.str.17(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_47:
	movss	-76(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_fqueue_compact
	movq	-72(%rbp), %rsi
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	%r15d, %edx
	callq	_fqueue_getall
	cmpl	$-1, %eax
	jne	LBB0_49
## %bb.48:
	leaq	L_.str.7(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_49:
	movq	-72(%rbp), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_51
## %bb.50:
	leaq	L_.str.18(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_51:
	movq	%rbx, %rdi
	testl	%r15d, %r15d
	je	LBB0_56
## %bb.52:
	callq	_asmparse
	jmp	LBB0_58
LBB0_56:
	callq	_cparse
	cmpl	$-1, %eax
	jne	LBB0_58
## %bb.57:
	leaq	L_.str.19(%rip), %rsi
	xorl	%edi, %edi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_FATAL
LBB0_58:
	movq	%rbx, %rdi
	callq	_fclose
	cmpq	(%r14), %rax
	jne	LBB0_60
## %bb.59:
	leaq	L_.str.15(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_60:
	movq	-72(%rbp), %rdi
	callq	_remove
	cmpl	$-1, %eax
	jne	LBB0_62
## %bb.61:
	leaq	L_.str.16(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rdx
	callq	_FATAL
LBB0_62:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_64
## %bb.63:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_64:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LNBUFF,4,2                     ## @LNBUFF
	.comm	_FNBUFF,4,2                     ## @FNBUFF
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ahl:k:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_optind,8,3                     ## @optind
	.comm	_R_OK,4,2                       ## @R_OK
	.comm	_F_OK,4,2                       ## @F_OK
L_.str.1:                               ## @.str.1
	.asciz	"%s: Impossible to locate the binary file\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: Impossible to locate the pmcstat file\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: Impossible to locate the kernel file\n"

L_.str.4:                               ## @.str.4
	.asciz	"TMPDIR"

L_.str.5:                               ## @.str.5
	.asciz	"%s/%s"

	.comm	__PATH_TMP,8,3                  ## @_PATH_TMP
	.comm	_TMPNAME,4,2                    ## @TMPNAME
L_.str.6:                               ## @.str.6
	.asciz	"%s: Cannot create tempfile templates\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s: Impossible to create the tmp file\n"

L_.str.8:                               ## @.str.8
	.asciz	"pmcstat -k %s -R %s -m %s"

L_.str.9:                               ## @.str.9
	.asciz	"pmcstat -R %s -m %s"

L_.str.10:                              ## @.str.10
	.asciz	"r"

L_.str.11:                              ## @.str.11
	.asciz	"%s: Impossible to open the map file\n"

L_.str.12:                              ## @.str.12
	.asciz	"%p %s %p %p\n"

L_.str.13:                              ## @.str.13
	.asciz	"%s: Invalid scan of function in the map file\n"

	.comm	_totalsamples,4,2               ## @totalsamples
L_.str.14:                              ## @.str.14
	.asciz	"%s: Impossible to create a new object\n"

	.comm	_EOF,8,3                        ## @EOF
L_.str.15:                              ## @.str.15
	.asciz	"%s: Impossible to close the filedesc\n"

L_.str.16:                              ## @.str.16
	.asciz	"%s: Impossible to remove the tmpfile\n"

L_.str.17:                              ## @.str.17
	.asciz	"%s: Impossible to generate an analysis\n"

L_.str.18:                              ## @.str.18
	.asciz	"%s: Impossible to open the binary file\n"

L_.str.19:                              ## @.str.19
	.asciz	"%s: Invalid format for the C file\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #80
	mov	x23, x1
	mov	x27, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
Lloh3:
	adrp	x26, _LNBUFF@GOTPAGE
Lloh4:
	ldr	x26, [x26, _LNBUFF@GOTPAGEOFF]
	ldr	w8, [x26]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh7:
	adrp	x8, _FNBUFF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FNBUFF@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh12:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	add	w25, w8, #50
	mov	x9, x25
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x8, x8, x9
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
	mov	sp, x8
	mov	x24, #0
	stur	wzr, [x29, #-148]               ; 4-byte Folded Spill
	ldr	x19, [x1]
	fmov	s8, #0.50000000
Lloh17:
	adrp	x28, l_.str@PAGE
Lloh18:
	add	x28, x28, l_.str@PAGEOFF
Lloh19:
	adrp	x20, _optarg@GOTPAGE
Lloh20:
	ldr	x20, [x20, _optarg@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_usage
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x27
	mov	x1, x23
	mov	x2, x28
	bl	_getopt
	cmp	w0, #106
	b.gt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #97
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	stur	w8, [x29, #-148]                ; 4-byte Folded Spill
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #108
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #107
	b.ne	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x24, [x20]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20]
	bl	_atof
	scvtf	s8, x0
	b	LBB0_2
LBB0_10:
Lloh21:
	adrp	x8, _optind@GOTPAGE
Lloh22:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	sub	w9, w27, w8
	add	x23, x23, x8, lsl #3
	cmp	w9, #2
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_usage
LBB0_12:
Lloh24:
	adrp	x20, _R_OK@GOTPAGE
Lloh25:
	ldr	x20, [x20, _R_OK@GOTPAGEOFF]
	ldp	x27, x0, [x23]
	ldr	w8, [x20]
Lloh26:
	adrp	x23, _F_OK@GOTPAGE
Lloh27:
	ldr	x23, [x23, _F_OK@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w1, w9, w8
	stur	x0, [x29, #-168]                ; 8-byte Folded Spill
	bl	_access
	cmn	w0, #1
	b.ne	LBB0_14
; %bb.13:
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_14:
	ldr	w8, [x20]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	x0, x27
	bl	_access
	cmn	w0, #1
	b.ne	LBB0_16
; %bb.15:
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_16:
	cbz	x24, LBB0_19
; %bb.17:
	ldr	w8, [x20]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	x0, x24
	bl	_access
	cmn	w0, #1
	b.ne	LBB0_19
; %bb.18:
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_19:
	ldur	x0, [x29, #-160]                ; 8-byte Folded Reload
	mov	x1, x25
	bl	_bzero
Lloh34:
	adrp	x0, l_.str.4@PAGE
Lloh35:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_getenv
Lloh36:
	adrp	x23, _TMPNAME@GOTPAGE
Lloh37:
	ldr	x23, [x23, _TMPNAME@GOTPAGEOFF]
	cbz	x0, LBB0_21
; %bb.20:
	mov	x28, x0
	ldr	w3, [x23]
Lloh38:
	adrp	x20, l_.str.5@PAGE
Lloh39:
	add	x20, x20, l_.str.5@PAGEOFF
	sub	x0, x29, #112
	mov	x1, x20
	mov	x2, x28
	bl	_asprintf
	ldr	w3, [x23]
	sub	x0, x29, #120
	mov	x1, x20
	mov	x2, x28
	b	LBB0_22
LBB0_21:
Lloh40:
	adrp	x28, __PATH_TMP@GOTPAGE
Lloh41:
	ldr	x28, [x28, __PATH_TMP@GOTPAGEOFF]
	ldr	x2, [x28]
	ldr	w3, [x23]
Lloh42:
	adrp	x20, l_.str.5@PAGE
Lloh43:
	add	x20, x20, l_.str.5@PAGEOFF
	sub	x0, x29, #112
	mov	x1, x20
	bl	_asprintf
	ldr	x2, [x28]
	ldr	w3, [x23]
	sub	x0, x29, #120
	mov	x1, x20
LBB0_22:
	bl	_asprintf
	ldur	x0, [x29, #-120]
	cbz	x0, LBB0_24
; %bb.23:
	ldur	x8, [x29, #-112]
	cbnz	x8, LBB0_25
LBB0_24:
Lloh44:
	adrp	x1, l_.str.6@PAGE
Lloh45:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
	ldur	x0, [x29, #-120]
LBB0_25:
	bl	_mkstemp
	cmn	w0, #1
	ldur	x20, [x29, #-160]               ; 8-byte Folded Reload
	b.eq	LBB0_28
; %bb.26:
	ldur	x4, [x29, #-120]
	cbz	x24, LBB0_29
LBB0_27:
Lloh46:
	adrp	x2, l_.str.8@PAGE
Lloh47:
	add	x2, x2, l_.str.8@PAGEOFF
	str	x4, [sp, #-16]!
	mov	x0, x20
	mov	x1, x25
	mov	x3, x24
	mov	x4, x27
	bl	_snprintf
	add	sp, sp, #16
	b	LBB0_30
LBB0_28:
Lloh48:
	adrp	x1, l_.str.7@PAGE
Lloh49:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
	ldur	x4, [x29, #-120]
	cbnz	x24, LBB0_27
LBB0_29:
Lloh50:
	adrp	x2, l_.str.9@PAGE
Lloh51:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x20
	mov	x1, x25
	mov	x3, x27
	bl	_snprintf
LBB0_30:
	mov	x0, x20
	bl	_system
	cbz	x0, LBB0_32
; %bb.31:
Lloh52:
	adrp	x1, l_.str.7@PAGE
Lloh53:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_32:
	ldur	x0, [x29, #-120]
Lloh54:
	adrp	x1, l_.str.10@PAGE
Lloh55:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_fopen
	mov	x24, x0
	cbnz	x0, LBB0_34
; %bb.33:
Lloh56:
	adrp	x1, l_.str.11@PAGE
Lloh57:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_34:
	ldr	w1, [x26]
	mov	x0, x21
	mov	x2, x24
	bl	_fgets
	cbz	x0, LBB0_45
; %bb.35:
Lloh58:
	adrp	x25, l_.str.12@PAGE
Lloh59:
	add	x25, x25, l_.str.12@PAGEOFF
Lloh60:
	adrp	x27, _totalsamples@GOTPAGE
Lloh61:
	ldr	x27, [x27, _totalsamples@GOTPAGEOFF]
	b	LBB0_39
LBB0_36:                                ;   in Loop: Header=BB0_39 Depth=1
	ldp	x23, x28, [x29, #-144]
	ldur	x20, [x29, #-128]
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
	mov	x0, x20
	bl	_general_findent
	cbz	x0, LBB0_42
; %bb.37:                               ;   in Loop: Header=BB0_39 Depth=1
	bl	_entry_acqref
LBB0_38:                                ;   in Loop: Header=BB0_39 Depth=1
	ldr	w1, [x26]
	mov	x0, x21
	mov	x2, x24
	bl	_fgets
	cbz	x0, LBB0_45
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21]
	bl	_isspace
	cbnz	x0, LBB0_38
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=1
	sub	x2, x29, #128
	sub	x4, x29, #136
	sub	x5, x29, #144
	mov	x0, x21
	mov	x1, x25
	mov	x3, x22
	bl	_sscanf
	cmp	w0, #4
	b.eq	LBB0_36
; %bb.41:                               ;   in Loop: Header=BB0_39 Depth=1
	mov	x0, #0
Lloh62:
	adrp	x1, l_.str.13@PAGE
Lloh63:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x2, x19
	bl	_FATAL
	b	LBB0_36
LBB0_42:                                ;   in Loop: Header=BB0_39 Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x28
	mov	x3, x23
	bl	_entry_create
	mov	x20, x0
	cbnz	x0, LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_39 Depth=1
	mov	x0, x19
Lloh64:
	adrp	x1, l_.str.14@PAGE
Lloh65:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x2, x19
	bl	_FATAL
LBB0_44:                                ;   in Loop: Header=BB0_39 Depth=1
	mov	x0, x20
	bl	_general_insertent
	b	LBB0_38
LBB0_45:
	mov	x0, x24
	bl	_fclose
Lloh66:
	adrp	x20, _EOF@GOTPAGE
Lloh67:
	ldr	x20, [x20, _EOF@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_47
; %bb.46:
Lloh68:
	adrp	x1, l_.str.15@PAGE
Lloh69:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_47:
	ldur	x0, [x29, #-120]
	bl	_remove
	cmn	w0, #1
	ldur	w22, [x29, #-148]               ; 4-byte Folded Reload
	b.ne	LBB0_49
; %bb.48:
Lloh70:
	adrp	x1, l_.str.16@PAGE
Lloh71:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_49:
	bl	_fqueue_insertgen
	cmn	w0, #1
	b.ne	LBB0_51
; %bb.50:
Lloh72:
	adrp	x1, l_.str.17@PAGE
Lloh73:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_51:
	fmov	s0, s8
	bl	_fqueue_compact
	ldur	x1, [x29, #-112]
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	mov	x2, x22
	bl	_fqueue_getall
	cmn	w0, #1
	b.ne	LBB0_53
; %bb.52:
Lloh74:
	adrp	x1, l_.str.7@PAGE
Lloh75:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_53:
	ldur	x0, [x29, #-112]
Lloh76:
	adrp	x1, l_.str.10@PAGE
Lloh77:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_fopen
	mov	x21, x0
	cbz	x0, LBB0_56
; %bb.54:
	mov	x0, x21
	cbz	w22, LBB0_57
LBB0_55:
	bl	_asmparse
	b	LBB0_59
LBB0_56:
Lloh78:
	adrp	x1, l_.str.18@PAGE
Lloh79:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
	mov	x0, x21
	cbnz	w22, LBB0_55
LBB0_57:
	bl	_cparse
	cmn	w0, #1
	b.ne	LBB0_59
; %bb.58:
Lloh80:
	adrp	x1, l_.str.19@PAGE
Lloh81:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, #0
	mov	x2, x19
	bl	_FATAL
LBB0_59:
	mov	x0, x21
	bl	_fclose
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_61
; %bb.60:
Lloh82:
	adrp	x1, l_.str.15@PAGE
Lloh83:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_61:
	ldur	x0, [x29, #-112]
	bl	_remove
	cmn	w0, #1
	b.ne	LBB0_63
; %bb.62:
Lloh84:
	adrp	x1, l_.str.16@PAGE
Lloh85:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_FATAL
LBB0_63:
	ldur	x8, [x29, #-104]
Lloh86:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh87:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh88:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_65
; %bb.64:
	mov	w0, #0
	sub	sp, x29, #96
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_65:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.cfi_endproc
                                        ; -- End function
	.comm	_LNBUFF,4,2                     ; @LNBUFF
	.comm	_FNBUFF,4,2                     ; @FNBUFF
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ahl:k:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_optind,8,3                     ; @optind
	.comm	_R_OK,4,2                       ; @R_OK
	.comm	_F_OK,4,2                       ; @F_OK
l_.str.1:                               ; @.str.1
	.asciz	"%s: Impossible to locate the binary file\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: Impossible to locate the pmcstat file\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: Impossible to locate the kernel file\n"

l_.str.4:                               ; @.str.4
	.asciz	"TMPDIR"

l_.str.5:                               ; @.str.5
	.asciz	"%s/%s"

	.comm	__PATH_TMP,8,3                  ; @_PATH_TMP
	.comm	_TMPNAME,4,2                    ; @TMPNAME
l_.str.6:                               ; @.str.6
	.asciz	"%s: Cannot create tempfile templates\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s: Impossible to create the tmp file\n"

l_.str.8:                               ; @.str.8
	.asciz	"pmcstat -k %s -R %s -m %s"

l_.str.9:                               ; @.str.9
	.asciz	"pmcstat -R %s -m %s"

l_.str.10:                              ; @.str.10
	.asciz	"r"

l_.str.11:                              ; @.str.11
	.asciz	"%s: Impossible to open the map file\n"

l_.str.12:                              ; @.str.12
	.asciz	"%p %s %p %p\n"

l_.str.13:                              ; @.str.13
	.asciz	"%s: Invalid scan of function in the map file\n"

	.comm	_totalsamples,4,2               ; @totalsamples
l_.str.14:                              ; @.str.14
	.asciz	"%s: Impossible to create a new object\n"

	.comm	_EOF,8,3                        ; @EOF
l_.str.15:                              ; @.str.15
	.asciz	"%s: Impossible to close the filedesc\n"

l_.str.16:                              ; @.str.16
	.asciz	"%s: Impossible to remove the tmpfile\n"

l_.str.17:                              ; @.str.17
	.asciz	"%s: Impossible to generate an analysis\n"

l_.str.18:                              ; @.str.18
	.asciz	"%s: Impossible to open the binary file\n"

l_.str.19:                              ; @.str.19
	.asciz	"%s: Invalid format for the C file\n"

.subsections_via_symbols
