	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_top__setup_sample_type
_perf_top__setup_sample_type:           ## @perf_top__setup_sample_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, 4(%rdi)
	je	LBB0_1
## %bb.4:
	xorl	%ebx, %ebx
	cmpl	$0, (%rdi)
	jne	LBB0_9
## %bb.5:
	movq	_callchain_param@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CHAIN_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.6:
	movq	_callchain_param@GOTPCREL(%rip), %rdi
	callq	_callchain_register_param
	testq	%rax, %rax
	jns	LBB0_9
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_8
LBB0_1:
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
LBB0_8:
	callq	_ui__error
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_3:
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_symbol_conf,8,3                ## @symbol_conf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Selected -g but \"sym\" not present in --sort/-s."

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_callchain_param,8,3            ## @callchain_param
	.comm	_CHAIN_NONE,8,3                 ## @CHAIN_NONE
L_.str.1:                               ## @.str.1
	.asciz	"Can't register callchain params.\n"

	.no_dead_strip	_perf_top__setup_sample_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_top__setup_sample_type
_perf_top__setup_sample_type:           ; @perf_top__setup_sample_type
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_5
; %bb.1:
	ldr	w8, [x0]
	cbnz	w8, LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _callchain_param@GOTPAGE
Lloh1:
	ldr	x8, [x8, _callchain_param@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CHAIN_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHAIN_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.3:
Lloh6:
	adrp	x0, _callchain_param@GOTPAGE
Lloh7:
	ldr	x0, [x0, _callchain_param@GOTPAGEOFF]
	bl	_callchain_register_param
	tbz	x0, #63, LBB0_8
; %bb.4:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x8, _symbol_conf@GOTPAGE
Lloh11:
	ldr	x8, [x8, _symbol_conf@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.6:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	_ui__error
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_symbol_conf,8,3                ; @symbol_conf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Selected -g but \"sym\" not present in --sort/-s."

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_callchain_param,8,3            ; @callchain_param
	.comm	_CHAIN_NONE,8,3                 ; @CHAIN_NONE
l_.str.1:                               ; @.str.1
	.asciz	"Can't register callchain params.\n"

	.no_dead_strip	_perf_top__setup_sample_type
.subsections_via_symbols
