	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_options
_handle_options:                        ## @handle_options
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rsi)
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	_CMD_EXEC_PATH@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rbx
	movq	(%rax), %r13
	cmpb	$45, (%r13)
	jne	LBB0_52
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_52
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_52
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %r12
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_prefixcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_21
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_CMD_PERF_DIR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_prefixcmp
	testl	%eax, %eax
	je	LBB0_27
## %bb.29:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_30
## %bb.35:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_CMD_WORK_TREE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_prefixcmp
	testl	%eax, %eax
	je	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_38
## %bb.42:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_CMD_DEBUGFS_DIR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_prefixcmp
	testl	%eax, %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_43
## %bb.44:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_45
## %bb.49:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.15(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_perf_usage_string@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_use_pager@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %edi
	callq	_strlen
	cltq
	cmpb	$61, (%r13,%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%rax, %r13
	incq	%r13
	movq	%r13, %rdi
	callq	_perf_set_argv_exec_path
LBB0_50:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r13
	movl	(%rbx), %ecx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_51:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	addq	$8, %rax
	movq	%rax, (%rbx)
	leal	-1(%rcx), %edx
	movl	%edx, (%r13)
	incl	%r14d
	cmpl	$1, %ecx
	jg	LBB0_3
	jmp	LBB0_52
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_use_pager@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_19
	jmp	LBB0_50
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r13
	cmpl	$1, (%rbx)
	jg	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_perf_usage_string@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_PERF_DIR_ENVIRONMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	8(%rax), %rsi
	movl	$1, %edx
	callq	_setenv
	testq	%r12, %r12
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, (%r12)
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, (%rbx)
	movl	(%r13), %ecx
	decl	%ecx
	incl	%r14d
	jmp	LBB0_51
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_PERF_DIR_ENVIRONMENT@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_30:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r13
	cmpl	$1, (%rbx)
	jg	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_perf_usage_string@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
LBB0_32:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_PERF_WORK_TREE_ENVIRONMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	8(%rax), %rsi
	movl	$1, %edx
	callq	_setenv
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, (%rax)
	jmp	LBB0_34
LBB0_36:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_PERF_WORK_TREE_ENVIRONMENT@GOTPCREL(%rip), %rax
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r12), %edi
	callq	_strlen
	cltq
	addq	%rax, %r13
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_setenv
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_50
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	jmp	LBB0_50
LBB0_38:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r13
	cmpl	$1, (%rbx)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jg	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_perf_usage_string@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
LBB0_40:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_debugfs_set_path
	testq	%r12, %r12
	je	LBB0_34
## %bb.41:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, (%r12)
LBB0_34:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, (%rbx)
	movl	(%r13), %ecx
	decl	%ecx
	jmp	LBB0_51
LBB0_43:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_CMD_DEBUGFS_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strlen
	cltq
	addq	%rax, %r13
	movq	%r13, %rdi
	callq	_debugfs_set_path
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_debugfs_mountpoint@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	testq	%r12, %r12
	jne	LBB0_19
	jmp	LBB0_50
LBB0_1:
	xorl	%r14d, %r14d
LBB0_52:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_PERF_HTML_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_system_path
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	callq	_perf_exec_path
LBB0_10:
	movl	%eax, %edi
	callq	_puts
	xorl	%edi, %edi
	callq	_exit
LBB0_45:
	movq	_commands@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_48
## %bb.46:
	xorl	%ebx, %ebx
	leaq	L_.str.14(%rip), %r14
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r14, %rdi
	callq	_printf
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jb	LBB0_47
LBB0_48:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--help"

L_.str.1:                               ## @.str.1
	.asciz	"--version"

	.comm	_CMD_EXEC_PATH,4,2              ## @CMD_EXEC_PATH
L_.str.2:                               ## @.str.2
	.asciz	"--html-path"

	.comm	_PERF_HTML_PATH,4,2             ## @PERF_HTML_PATH
L_.str.3:                               ## @.str.3
	.asciz	"-p"

L_.str.4:                               ## @.str.4
	.asciz	"--paginate"

	.comm	_use_pager,4,2                  ## @use_pager
L_.str.5:                               ## @.str.5
	.asciz	"--no-pager"

L_.str.6:                               ## @.str.6
	.asciz	"--perf-dir"

	.comm	_stderr,4,2                     ## @stderr
L_.str.7:                               ## @.str.7
	.asciz	"No directory given for --perf-dir.\n"

	.comm	_perf_usage_string,4,2          ## @perf_usage_string
	.comm	_PERF_DIR_ENVIRONMENT,4,2       ## @PERF_DIR_ENVIRONMENT
	.comm	_CMD_PERF_DIR,4,2               ## @CMD_PERF_DIR
L_.str.8:                               ## @.str.8
	.asciz	"--work-tree"

L_.str.9:                               ## @.str.9
	.asciz	"No directory given for --work-tree.\n"

	.comm	_PERF_WORK_TREE_ENVIRONMENT,4,2 ## @PERF_WORK_TREE_ENVIRONMENT
	.comm	_CMD_WORK_TREE,4,2              ## @CMD_WORK_TREE
L_.str.10:                              ## @.str.10
	.asciz	"--debugfs-dir"

L_.str.11:                              ## @.str.11
	.asciz	"No directory given for --debugfs-dir.\n"

	.comm	_CMD_DEBUGFS_DIR,4,2            ## @CMD_DEBUGFS_DIR
L_.str.12:                              ## @.str.12
	.asciz	"dir: %s\n"

	.comm	_debugfs_mountpoint,8,3         ## @debugfs_mountpoint
L_.str.13:                              ## @.str.13
	.asciz	"--list-cmds"

	.comm	_commands,8,3                   ## @commands
L_.str.14:                              ## @.str.14
	.asciz	"%s "

L_.str.15:                              ## @.str.15
	.asciz	"Unknown option: %s\n"

	.no_dead_strip	_handle_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_options
_handle_options:                        ; @handle_options
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.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
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_45
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w19, #0
Lloh0:
	adrp	x24, l_.str.1@PAGE
Lloh1:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh2:
	adrp	x25, _CMD_EXEC_PATH@GOTPAGE
Lloh3:
	ldr	x25, [x25, _CMD_EXEC_PATH@GOTPAGEOFF]
Lloh4:
	adrp	x27, l_.str.2@PAGE
Lloh5:
	add	x27, x27, l_.str.2@PAGEOFF
Lloh6:
	adrp	x26, l_.str.3@PAGE
Lloh7:
	add	x26, x26, l_.str.3@PAGEOFF
	ldr	x8, [x0]
Lloh8:
	adrp	x23, _CMD_DEBUGFS_DIR@GOTPAGE
Lloh9:
	ldr	x23, [x23, _CMD_DEBUGFS_DIR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x8]
	ldrb	w8, [x28]
	cmp	w8, #45
	b.ne	LBB0_46
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_46
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
	mov	x1, x24
	bl	_strcmp
	cbz	w0, LBB0_46
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x25]
	mov	x0, x28
	bl	_prefixcmp
	cbz	w0, LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
	mov	x1, x27
	bl	_strcmp
	cbz	w0, LBB0_47
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
	mov	x1, x26
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_23
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, x20
Lloh18:
	adrp	x20, _CMD_PERF_DIR@GOTPAGE
Lloh19:
	ldr	x20, [x20, _CMD_PERF_DIR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x28
	bl	_prefixcmp
	cbz	w0, LBB0_29
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
Lloh20:
	adrp	x1, l_.str.8@PAGE
Lloh21:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_30
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh22:
	adrp	x20, _CMD_WORK_TREE@GOTPAGE
Lloh23:
	ldr	x20, [x20, _CMD_WORK_TREE@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x28
	bl	_prefixcmp
	cbz	w0, LBB0_35
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
Lloh24:
	adrp	x1, l_.str.10@PAGE
Lloh25:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_39
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x23]
	mov	x0, x28
	bl	_prefixcmp
	mov	x20, x24
	cbz	w0, LBB0_44
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
Lloh26:
	adrp	x1, l_.str.13@PAGE
Lloh27:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_strcmp
Lloh28:
	adrp	x24, l_.str.1@PAGE
Lloh29:
	add	x24, x24, l_.str.1@PAGEOFF
	cbz	w0, LBB0_50
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh30:
	adrp	x8, _stderr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	str	x28, [sp]
Lloh33:
	adrp	x1, l_.str.15@PAGE
Lloh34:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_fprintf
Lloh35:
	adrp	x8, _perf_usage_string@GOTPAGE
Lloh36:
	ldr	x8, [x8, _perf_usage_string@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_usage
	b	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh38:
	adrp	x8, _use_pager@GOTPAGE
Lloh39:
	ldr	x8, [x8, _use_pager@GOTPAGEOFF]
	mov	w9, #1
Lloh40:
	str	w9, [x8]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x25]
	bl	_strlen
	add	x8, x28, w0, sxtw
	ldrb	w9, [x8]
	cmp	w9, #61
	b.ne	LBB0_48
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x8, #1
	bl	_perf_set_argv_exec_path
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x21]
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22]
	add	x8, x8, #8
	str	x8, [x22]
	add	w19, w19, #1
	subs	w9, w9, #1
	str	w9, [x21]
	b.gt	LBB0_2
	b	LBB0_46
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh41:
	adrp	x8, _use_pager@GOTPAGE
Lloh42:
	ldr	x8, [x8, _use_pager@GOTPAGEOFF]
Lloh43:
	str	wzr, [x8]
	cbnz	x20, LBB0_38
	b	LBB0_21
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21]
	cmp	w8, #1
	b.gt	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh44:
	adrp	x8, _stderr@GOTPAGE
Lloh45:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x1, l_.str.7@PAGE
Lloh48:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
Lloh49:
	adrp	x8, _perf_usage_string@GOTPAGE
Lloh50:
	ldr	x8, [x8, _perf_usage_string@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_usage
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh52:
	adrp	x8, _PERF_DIR_ENVIRONMENT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _PERF_DIR_ENVIRONMENT@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	ldr	x8, [x22]
	ldr	x1, [x8, #8]
	mov	w2, #1
	bl	_setenv
	cbz	x20, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [x20]
LBB0_28:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22]
	add	x8, x8, #8
	str	x8, [x22]
	ldr	w8, [x21]
	sub	w9, w8, #1
	add	w19, w19, #1
	b	LBB0_22
LBB0_29:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, x20
	mov	x20, x26
	mov	x26, x27
Lloh55:
	adrp	x8, _PERF_DIR_ENVIRONMENT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _PERF_DIR_ENVIRONMENT@GOTPAGEOFF]
	b	LBB0_36
LBB0_30:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21]
	cmp	w8, #1
	b.gt	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh57:
	adrp	x8, _stderr@GOTPAGE
Lloh58:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
Lloh60:
	adrp	x1, l_.str.9@PAGE
Lloh61:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fprintf
Lloh62:
	adrp	x8, _perf_usage_string@GOTPAGE
Lloh63:
	ldr	x8, [x8, _perf_usage_string@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
	bl	_usage
LBB0_32:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh65:
	adrp	x8, _PERF_WORK_TREE_ENVIRONMENT@GOTPAGE
Lloh66:
	ldr	x8, [x8, _PERF_WORK_TREE_ENVIRONMENT@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	ldr	x8, [x22]
	ldr	x1, [x8, #8]
	mov	w2, #1
	bl	_setenv
	mov	x20, x24
	cbz	x24, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [x20]
LBB0_34:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22]
	add	x8, x8, #8
	str	x8, [x22]
	ldr	w8, [x21]
	sub	w9, w8, #1
Lloh68:
	adrp	x24, l_.str.1@PAGE
Lloh69:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_22
LBB0_35:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, x20
	mov	x20, x26
	mov	x26, x27
Lloh70:
	adrp	x8, _PERF_WORK_TREE_ENVIRONMENT@GOTPAGE
Lloh71:
	ldr	x8, [x8, _PERF_WORK_TREE_ENVIRONMENT@GOTPAGEOFF]
LBB0_36:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w27, [x8]
	ldr	w0, [x9]
	bl	_strlen
	add	x1, x28, w0, sxtw
	mov	x0, x27
	mov	x27, x26
	mov	x26, x20
	mov	w2, #1
	bl	_setenv
	mov	x20, x24
LBB0_37:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh72:
	adrp	x24, l_.str.1@PAGE
Lloh73:
	add	x24, x24, l_.str.1@PAGEOFF
	cbz	x20, LBB0_21
LBB0_38:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_21
LBB0_39:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21]
	cmp	w8, #1
	mov	x20, x24
	b.gt	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh74:
	adrp	x8, _stderr@GOTPAGE
Lloh75:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
Lloh77:
	adrp	x1, l_.str.11@PAGE
Lloh78:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_fprintf
Lloh79:
	adrp	x8, _perf_usage_string@GOTPAGE
Lloh80:
	ldr	x8, [x8, _perf_usage_string@GOTPAGEOFF]
Lloh81:
	ldr	w0, [x8]
	bl	_usage
LBB0_41:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22]
	ldr	x0, [x8, #8]
	bl	_debugfs_set_path
Lloh82:
	adrp	x24, l_.str.1@PAGE
Lloh83:
	add	x24, x24, l_.str.1@PAGEOFF
	cbz	x20, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [x20]
LBB0_43:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22]
	add	x8, x8, #8
	str	x8, [x22]
	ldr	w8, [x21]
	sub	w9, w8, #1
	b	LBB0_22
LBB0_44:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh84:
	adrp	x8, _CMD_DEBUGFS_DIR@GOTPAGE
Lloh85:
	ldr	x8, [x8, _CMD_DEBUGFS_DIR@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
	bl	_strlen
	add	x0, x28, w0, sxtw
	bl	_debugfs_set_path
Lloh87:
	adrp	x8, _stderr@GOTPAGE
Lloh88:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
Lloh90:
	adrp	x8, _debugfs_mountpoint@GOTPAGE
Lloh91:
	ldr	x8, [x8, _debugfs_mountpoint@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh93:
	adrp	x1, l_.str.12@PAGE
Lloh94:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_fprintf
	b	LBB0_37
LBB0_45:
	mov	w19, #0
LBB0_46:
	mov	x0, x19
	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
	add	sp, sp, #112
	ret
LBB0_47:
Lloh95:
	adrp	x8, _PERF_HTML_PATH@GOTPAGE
Lloh96:
	ldr	x8, [x8, _PERF_HTML_PATH@GOTPAGEOFF]
Lloh97:
	ldr	w0, [x8]
	bl	_system_path
	b	LBB0_49
LBB0_48:
	bl	_perf_exec_path
LBB0_49:
	bl	_puts
	mov	w0, #0
	bl	_exit
LBB0_50:
Lloh98:
	adrp	x20, _commands@GOTPAGE
Lloh99:
	ldr	x20, [x20, _commands@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_53
; %bb.51:
	mov	x21, #0
Lloh100:
	adrp	x19, l_.str.14@PAGE
Lloh101:
	add	x19, x19, l_.str.14@PAGEOFF
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x1, [x8, x21, lsl #3]
	mov	x0, x19
	bl	_printf
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, w0, uxtw
	b.lo	LBB0_52
LBB0_53:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpAdd	Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--help"

l_.str.1:                               ; @.str.1
	.asciz	"--version"

	.comm	_CMD_EXEC_PATH,4,2              ; @CMD_EXEC_PATH
l_.str.2:                               ; @.str.2
	.asciz	"--html-path"

	.comm	_PERF_HTML_PATH,4,2             ; @PERF_HTML_PATH
l_.str.3:                               ; @.str.3
	.asciz	"-p"

l_.str.4:                               ; @.str.4
	.asciz	"--paginate"

	.comm	_use_pager,4,2                  ; @use_pager
l_.str.5:                               ; @.str.5
	.asciz	"--no-pager"

l_.str.6:                               ; @.str.6
	.asciz	"--perf-dir"

	.comm	_stderr,4,2                     ; @stderr
l_.str.7:                               ; @.str.7
	.asciz	"No directory given for --perf-dir.\n"

	.comm	_perf_usage_string,4,2          ; @perf_usage_string
	.comm	_PERF_DIR_ENVIRONMENT,4,2       ; @PERF_DIR_ENVIRONMENT
	.comm	_CMD_PERF_DIR,4,2               ; @CMD_PERF_DIR
l_.str.8:                               ; @.str.8
	.asciz	"--work-tree"

l_.str.9:                               ; @.str.9
	.asciz	"No directory given for --work-tree.\n"

	.comm	_PERF_WORK_TREE_ENVIRONMENT,4,2 ; @PERF_WORK_TREE_ENVIRONMENT
	.comm	_CMD_WORK_TREE,4,2              ; @CMD_WORK_TREE
l_.str.10:                              ; @.str.10
	.asciz	"--debugfs-dir"

l_.str.11:                              ; @.str.11
	.asciz	"No directory given for --debugfs-dir.\n"

	.comm	_CMD_DEBUGFS_DIR,4,2            ; @CMD_DEBUGFS_DIR
l_.str.12:                              ; @.str.12
	.asciz	"dir: %s\n"

	.comm	_debugfs_mountpoint,8,3         ; @debugfs_mountpoint
l_.str.13:                              ; @.str.13
	.asciz	"--list-cmds"

	.comm	_commands,8,3                   ; @commands
l_.str.14:                              ; @.str.14
	.asciz	"%s "

l_.str.15:                              ; @.str.15
	.asciz	"Unknown option: %s\n"

	.no_dead_strip	_handle_options
.subsections_via_symbols
