	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function 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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	__SC_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sysconf
	movq	_page_size@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%r15), %rdi
	callq	_perf_extract_argv0_path
	testq	%rax, %rax
	leaq	L_.str(%rip), %rbx
	cmovneq	%rax, %rbx
	xorl	%edi, %edi
	callq	_debugfs_mount
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_prefixcmp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	addq	$5, %rbx
	movq	%rbx, (%r15)
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_handle_internal_command
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_2:
	addq	$8, %r15
	movq	%r15, -56(%rbp)
	decl	%r14d
	movl	%r14d, -44(%rbp)
	leaq	-56(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	xorl	%edx, %edx
	callq	_handle_options
	xorl	%eax, %eax
	callq	_commit_pager_choice
	xorl	%eax, %eax
	callq	_set_buildid_dir
	cmpl	$0, -44(%rbp)
	jle	LBB0_11
## %bb.3:
	movq	-56(%rbp), %rax
	movq	(%rax), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_prefixcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	-56(%rbp), %rax
	addq	$2, (%rax)
LBB0_5:
	movq	-56(%rbp), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_test_attr__init
	xorl	%eax, %eax
	callq	_setup_path
	xorl	%eax, %eax
	callq	_pthread__block_sigwinch
	leaq	-44(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_run_argv
	movq	_errno@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_ENOENT@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rdi
	jne	LBB0_10
## %bb.6:
	leaq	-44(%rbp), %r14
	leaq	-56(%rbp), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, _main.done_help(%rip)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_help_unknown_cmd
	movq	%rax, %rbx
	movq	-56(%rbp), %rax
	movq	%rbx, (%rax)
	movb	$1, _main.done_help(%rip)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_run_argv
	movq	(%r12), %rdi
	cmpq	(%r13), %rdi
	je	LBB0_7
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_strerror
	leaq	L_.str.7(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_fprintf
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax
	movq	(%rax), %rcx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_11:
	movq	_perf_usage_string@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_printf
	xorl	%eax, %eax
	callq	_list_common_cmds_help
	movq	_perf_more_info_string@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.5(%rip), %rdi
	callq	_printf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	__SC_PAGE_SIZE,4,2              ## @_SC_PAGE_SIZE
	.comm	_page_size,4,2                  ## @page_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"perf-help"

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

L_.str.2:                               ## @.str.2
	.asciz	"cannot handle %s internally"

L_.str.3:                               ## @.str.3
	.asciz	"--"

L_.str.4:                               ## @.str.4
	.asciz	"\n usage: %s\n\n"

	.comm	_perf_usage_string,8,3          ## @perf_usage_string
L_.str.5:                               ## @.str.5
	.asciz	"\n %s\n\n"

	.comm	_perf_more_info_string,8,3      ## @perf_more_info_string
.zerofill __DATA,__bss,_main.done_help,1,2 ## @main.done_help
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_stderr,4,2                     ## @stderr
L_.str.6:                               ## @.str.6
	.asciz	"Expansion of alias '%s' failed; '%s' is not a perf-command\n"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to run command '%s': %s\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:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, __SC_PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, __SC_PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_sysconf
Lloh3:
	adrp	x8, _page_size@GOTPAGE
Lloh4:
	ldr	x8, [x8, _page_size@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
	ldr	x0, [x20]
	bl	_perf_extract_argv0_path
Lloh6:
	adrp	x8, l_.str@PAGE
Lloh7:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x0, #0
	csel	x21, x8, x0, eq
	mov	x0, #0
	bl	_debugfs_mount
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_prefixcmp
	cbnz	w0, LBB0_2
; %bb.1:
	add	x21, x21, #5
	str	x21, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_handle_internal_command
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_die
LBB0_2:
	add	x8, x20, #8
	str	x8, [sp]
	sub	w8, w19, #1
	str	w8, [sp, #12]
	mov	x0, sp
	add	x1, sp, #12
	mov	x2, #0
	bl	_handle_options
	bl	_commit_pager_choice
	bl	_set_buildid_dir
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.3:
	ldr	x8, [sp]
	ldr	x0, [x8]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_prefixcmp
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	x8, [sp]
	ldr	x9, [x8]
	add	x9, x9, #2
	str	x9, [x8]
LBB0_5:
	ldr	x8, [sp]
	ldr	x19, [x8]
	bl	_setup_path
	bl	_pthread__block_sigwinch
	add	x0, sp, #12
	mov	x1, sp
	bl	_run_argv
	mov	x8, x0
Lloh14:
	adrp	x20, _errno@GOTPAGE
Lloh15:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh16:
	adrp	x21, _ENOENT@GOTPAGE
Lloh17:
	ldr	x21, [x21, _ENOENT@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x0, x9
	b.ne	LBB0_10
; %bb.6:
	adrp	x22, _main.done_help@PAGE
	mov	w23, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w8, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x22, _main.done_help@PAGEOFF]
	tbnz	w8, #0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_help_unknown_cmd
	mov	x19, x0
	ldr	x8, [sp]
	str	x0, [x8]
	strb	w23, [x22, _main.done_help@PAGEOFF]
	add	x0, sp, #12
	mov	x1, sp
	bl	_run_argv
	mov	x8, x0
	ldr	x0, [x20]
	ldr	x9, [x21]
	cmp	x0, x9
	b.eq	LBB0_7
LBB0_10:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	bl	_strerror
	mov	x3, x0
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_fprintf
	mov	w0, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
Lloh23:
	adrp	x8, _stderr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	x8, [sp]
	ldr	x3, [x8]
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_12:
Lloh28:
	adrp	x8, _perf_usage_string@GOTPAGE
Lloh29:
	ldr	x8, [x8, _perf_usage_string@GOTPAGEOFF]
Lloh30:
	ldr	x1, [x8]
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	bl	_list_common_cmds_help
Lloh33:
	adrp	x8, _perf_more_info_string@GOTPAGE
Lloh34:
	ldr	x8, [x8, _perf_more_info_string@GOTPAGEOFF]
Lloh35:
	ldr	x1, [x8]
Lloh36:
	adrp	x0, l_.str.5@PAGE
Lloh37:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	__SC_PAGE_SIZE,4,2              ; @_SC_PAGE_SIZE
	.comm	_page_size,4,2                  ; @page_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"perf-help"

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

l_.str.2:                               ; @.str.2
	.asciz	"cannot handle %s internally"

l_.str.3:                               ; @.str.3
	.asciz	"--"

l_.str.4:                               ; @.str.4
	.asciz	"\n usage: %s\n\n"

	.comm	_perf_usage_string,8,3          ; @perf_usage_string
l_.str.5:                               ; @.str.5
	.asciz	"\n %s\n\n"

	.comm	_perf_more_info_string,8,3      ; @perf_more_info_string
.zerofill __DATA,__bss,_main.done_help,1,2 ; @main.done_help
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_stderr,4,2                     ; @stderr
l_.str.6:                               ; @.str.6
	.asciz	"Expansion of alias '%s' failed; '%s' is not a perf-command\n"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to run command '%s': %s\n"

.subsections_via_symbols
