	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_node
_fill_node:                             ## @fill_node
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rsi), %rax
	subq	(%rsi), %rax
	movq	%rax, 8(%rdi)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_warning
LBB0_2:
	movq	%r15, %rdi
	callq	_callchain_cursor_current
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$16, %edi
	callq	_zalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rbx), %ecx
	movl	%ecx, 12(%rax)
	movl	4(%rbx), %ecx
	movl	%ecx, 8(%rax)
	movl	(%rbx), %ecx
	movl	%ecx, 4(%rax)
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	movq	%r15, %rdi
	callq	_callchain_cursor_advance
	movq	%r15, %rdi
	callq	_callchain_cursor_current
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_perror                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning: empty node in callchain tree\n"

L_.str.1:                               ## @.str.1
	.asciz	"not enough memory for the code path tree"

	.no_dead_strip	_fill_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_node
_fill_node:                             ; @fill_node
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldp	x9, x8, [x1]
	subs	x8, x8, x9
	str	x8, [x0, #8]
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warning
LBB0_2:
	mov	x0, x19
	bl	_callchain_cursor_current
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #16
	bl	_zalloc
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #8]
	str	w8, [x0, #12]
	ldr	d0, [x21]
	stur	d0, [x0, #4]
	mov	x1, x20
	bl	_list_add_tail
	mov	x0, x19
	bl	_callchain_cursor_advance
	mov	x0, x19
	bl	_callchain_cursor_current
	mov	x21, x0
	cbnz	x0, LBB0_4
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_perror
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning: empty node in callchain tree\n"

l_.str.1:                               ; @.str.1
	.asciz	"not enough memory for the code path tree"

	.no_dead_strip	_fill_node
.subsections_via_symbols
