	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_callchain_opt
_parse_callchain_opt:                   ## @parse_callchain_opt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	je	LBB0_4
## %bb.1:
	movq	(%rdi), %rax
	movl	$1, (%rax)
LBB0_2:
	xorl	%r14d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rsi, %rbx
	movq	_symbol_conf@GOTPCREL(%rip), %r15
	movl	$1, (%r15)
	xorl	%r14d, %r14d
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_26
## %bb.6:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_strncmp
	movl	$-1, %r14d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.10:
	movq	_CHAIN_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_callchain_param@GOTPCREL(%rip), %rcx
	movl	%eax, 24(%rcx)
	movl	$0, (%r15)
	jmp	LBB0_2
LBB0_11:
	movq	_CHAIN_GRAPH_ABS@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_CHAIN_FLAT@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_CHAIN_GRAPH_REL@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	movq	_callchain_param@GOTPCREL(%rip), %r15
	movl	%eax, 24(%r15)
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_24
## %bb.15:
	movq	%rax, %rbx
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_strtod
	movq	%rax, 16(%r15)
	cmpq	-32(%rbp), %rbx
	je	LBB0_26
## %bb.16:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_24
## %bb.17:
	movq	%rax, %rbx
	cmpb	$99, (%rax)
	je	LBB0_19
## %bb.18:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_strtod
	movq	%rax, 8(%r15)
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_strtok
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_24
LBB0_19:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_22
## %bb.20:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_26
## %bb.21:
	movq	_ORDER_CALLEE@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_22:
	movq	_ORDER_CALLER@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_24:
	movq	_callchain_param@GOTPCREL(%rip), %rdi
	callq	_callchain_register_param
	testq	%rax, %rax
	jns	LBB0_3
## %bb.25:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_fprintf
LBB0_26:
	movl	$-1, %r14d
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_symbol_conf,4,2                ## @symbol_conf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	","

L_.str.1:                               ## @.str.1
	.asciz	"graph"

	.comm	_CHAIN_GRAPH_ABS,4,2            ## @CHAIN_GRAPH_ABS
	.comm	_callchain_param,32,3           ## @callchain_param
L_.str.2:                               ## @.str.2
	.asciz	"flat"

	.comm	_CHAIN_FLAT,4,2                 ## @CHAIN_FLAT
L_.str.3:                               ## @.str.3
	.asciz	"fractal"

	.comm	_CHAIN_GRAPH_REL,4,2            ## @CHAIN_GRAPH_REL
L_.str.4:                               ## @.str.4
	.asciz	"none"

	.comm	_CHAIN_NONE,4,2                 ## @CHAIN_NONE
L_.str.5:                               ## @.str.5
	.asciz	"caller"

	.comm	_ORDER_CALLER,4,2               ## @ORDER_CALLER
L_.str.6:                               ## @.str.6
	.asciz	"callee"

	.comm	_ORDER_CALLEE,4,2               ## @ORDER_CALLEE
	.comm	_stderr,4,2                     ## @stderr
L_.str.7:                               ## @.str.7
	.asciz	"Can't register callchain params\n"

	.no_dead_strip	_parse_callchain_opt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_callchain_opt
_parse_callchain_opt:                   ; @parse_callchain_opt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	w2, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_26
LBB0_2:
	mov	x19, x1
Lloh0:
	adrp	x21, _symbol_conf@GOTPAGE
Lloh1:
	ldr	x21, [x21, _symbol_conf@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x21]
	cbz	x1, LBB0_23
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strtok
	cbz	x0, LBB0_25
; %bb.4:
	mov	x20, x0
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strncmp
	cbz	w0, LBB0_9
; %bb.5:
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strncmp
	cbz	w0, LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strncmp
	cbz	w0, LBB0_11
; %bb.7:
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strncmp
	cbnz	w0, LBB0_25
; %bb.8:
Lloh12:
	adrp	x8, _CHAIN_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CHAIN_NONE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _callchain_param@GOTPAGE
Lloh16:
	ldr	x9, [x9, _callchain_param@GOTPAGEOFF]
Lloh17:
	str	w8, [x9, #24]
	str	wzr, [x21]
	b	LBB0_26
LBB0_9:
Lloh18:
	adrp	x8, _CHAIN_GRAPH_ABS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CHAIN_GRAPH_ABS@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh20:
	adrp	x8, _CHAIN_FLAT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CHAIN_FLAT@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh22:
	adrp	x8, _CHAIN_GRAPH_REL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CHAIN_GRAPH_REL@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
Lloh24:
	adrp	x20, _callchain_param@GOTPAGE
Lloh25:
	ldr	x20, [x20, _callchain_param@GOTPAGEOFF]
	str	w8, [x20, #24]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_strtok
	cbz	x0, LBB0_22
; %bb.13:
	mov	x19, x0
	add	x1, sp, #8
	bl	_strtod
	str	x0, [x20, #16]
	ldr	x8, [sp, #8]
	cmp	x19, x8
	b.eq	LBB0_25
; %bb.14:
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_strtok
	cbz	x0, LBB0_22
; %bb.15:
	mov	x19, x0
	ldrb	w8, [x0]
	cmp	w8, #99
	b.eq	LBB0_17
; %bb.16:
	add	x1, sp, #8
	mov	x0, x19
	bl	_strtod
	str	x0, [x20, #8]
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_strtok
	mov	x19, x0
	cbz	x0, LBB0_22
LBB0_17:
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_20
; %bb.18:
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	w0, LBB0_25
; %bb.19:
Lloh36:
	adrp	x8, _ORDER_CALLEE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ORDER_CALLEE@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:
Lloh38:
	adrp	x8, _ORDER_CALLER@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ORDER_CALLER@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_22:
Lloh40:
	adrp	x0, _callchain_param@GOTPAGE
Lloh41:
	ldr	x0, [x0, _callchain_param@GOTPAGEOFF]
	bl	_callchain_register_param
	tbnz	x0, #63, LBB0_24
LBB0_23:
	mov	w0, #0
	b	LBB0_26
LBB0_24:
Lloh42:
	adrp	x8, _stderr@GOTPAGE
Lloh43:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
Lloh45:
	adrp	x1, l_.str.7@PAGE
Lloh46:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
LBB0_25:
	mov	w0, #-1
LBB0_26:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_symbol_conf,4,2                ; @symbol_conf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

l_.str.1:                               ; @.str.1
	.asciz	"graph"

	.comm	_CHAIN_GRAPH_ABS,4,2            ; @CHAIN_GRAPH_ABS
	.comm	_callchain_param,32,3           ; @callchain_param
l_.str.2:                               ; @.str.2
	.asciz	"flat"

	.comm	_CHAIN_FLAT,4,2                 ; @CHAIN_FLAT
l_.str.3:                               ; @.str.3
	.asciz	"fractal"

	.comm	_CHAIN_GRAPH_REL,4,2            ; @CHAIN_GRAPH_REL
l_.str.4:                               ; @.str.4
	.asciz	"none"

	.comm	_CHAIN_NONE,4,2                 ; @CHAIN_NONE
l_.str.5:                               ; @.str.5
	.asciz	"caller"

	.comm	_ORDER_CALLER,4,2               ; @ORDER_CALLER
l_.str.6:                               ; @.str.6
	.asciz	"callee"

	.comm	_ORDER_CALLEE,4,2               ; @ORDER_CALLEE
	.comm	_stderr,4,2                     ; @stderr
l_.str.7:                               ; @.str.7
	.asciz	"Can't register callchain params\n"

	.no_dead_strip	_parse_callchain_opt
.subsections_via_symbols
