	.file	"extr_pmcpl_calltree.c_pmcpl_ct_node_printchild.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cob=%s\n"
.LC1:
	.string	"cfi=%s\ncfn=%s\n"
.LC2:
	.string	"cfi=???\ncfn=%s\n"
.LC3:
	.string	"cfi=???\ncfn=%p\n"
.LC4:
	.string	"calls=%u %p %u\n"
.LC5:
	.string	"%p %u"
.LC6:
	.string	"\n"
.LC7:
	.string	" %u"
	.text
	.p2align 4
	.type	pmcpl_ct_node_printchild, @function
pmcpl_ct_node_printchild:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 72
	mov	DWORD PTR -84[rbp], edx
	mov	QWORD PTR -80[rbp], rsi
	mov	rdi, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR PATH_MAX[rip]
	mov	DWORD PTR -88[rbp], eax
	add	rax, 15
	mov	rcx, rax
	mov	rdx, rax
	and	rcx, -4096
	and	rdx, -16
	sub	rdi, rcx
	mov	rcx, rdi
	cmp	rsp, rcx
	je	.L3
.L32:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rcx
	jne	.L32
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L33
.L4:
	mov	rdx, rax
	mov	rcx, rsp
	and	rax, -4096
	mov	QWORD PTR -96[rbp], rsp
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L6
.L34:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L34
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L35
.L7:
	mov	esi, DWORD PTR [rbx]
	mov	QWORD PTR -104[rbp], rsp
	lea	r13, .LC7[rip]
	mov	QWORD PTR -72[rbp], 0
	test	esi, esi
	jle	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r12, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 16[rbx]
	sal	r12, 4
	mov	r14, QWORD PTR 8[rax+r12]
	mov	rax, QWORD PTR 32[r14]
	mov	edi, DWORD PTR 8[rax]
	call	pmcstat_string_unintern@PLT
	mov	edi, DWORD PTR args[rip]
	lea	rsi, .LC0[rip]
	mov	rdx, rax
	xor	eax, eax
	call	fprintf@PLT
	mov	rdi, QWORD PTR 32[r14]
	mov	r11, QWORD PTR 48[r14]
	mov	rax, QWORD PTR PMCPL_PCT_NAME[rip]
	add	r11, QWORD PTR [rdi]
	mov	DWORD PTR -60[rbp], 0
	mov	r15, r11
	cmp	QWORD PTR 8[r14], rax
	je	.L36
	mov	eax, DWORD PTR -88[rbp]
	sub	rsp, 8
	mov	rdx, QWORD PTR -96[rbp]
	lea	r8, -60[rbp]
	mov	r9, QWORD PTR -104[rbp]
	mov	rsi, r11
	push	rax
	mov	ecx, eax
	call	pmcstat_image_addr2line@PLT
	pop	rdx
	pop	rcx
	test	rax, rax
	jne	.L37
	mov	rax, QWORD PTR 24[r14]
	test	rax, rax
	je	.L12
	mov	edi, DWORD PTR [rax]
	call	pmcstat_string_unintern@PLT
	mov	edi, DWORD PTR args[rip]
	lea	rsi, .LC2[rip]
	mov	rdx, rax
	xor	eax, eax
	call	fprintf@PLT
.L10:
	mov	rax, QWORD PTR 16[rbx]
	mov	r8d, DWORD PTR -60[rbp]
	mov	rcx, r15
	xor	r15d, r15d
	mov	edi, DWORD PTR args[rip]
	lea	rsi, .LC4[rip]
	mov	edx, DWORD PTR [rax+r12]
	xor	eax, eax
	call	fprintf@PLT
	mov	ecx, DWORD PTR -84[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	xor	eax, eax
	mov	edi, DWORD PTR args[rip]
	lea	rsi, .LC5[rip]
	call	fprintf@PLT
	mov	eax, DWORD PTR pmcstat_npmcs[rip]
	test	eax, eax
	jle	.L16
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rsi, QWORD PTR 16[rbx]
	mov	edi, r15d
	add	r15d, 1
	add	rsi, r12
	add	rsi, 4
	call	PMCPL_CT_SAMPLE@PLT
	mov	edi, DWORD PTR args[rip]
	mov	rsi, r13
	mov	edx, eax
	xor	eax, eax
	call	fprintf@PLT
	cmp	DWORD PTR pmcstat_npmcs[rip], r15d
	jg	.L13
.L16:
	mov	edi, DWORD PTR args[rip]
	lea	rsi, .LC6[rip]
	xor	eax, eax
	call	fprintf@PLT
	add	QWORD PTR -72[rbp], 1
	mov	rax, QWORD PTR -72[rbp]
	cmp	DWORD PTR [rbx], eax
	jg	.L14
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L38
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L33:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L36:
	mov	edi, DWORD PTR 40[r14]
	call	pmcstat_string_unintern@PLT
	mov	edi, DWORD PTR 44[r14]
	mov	QWORD PTR -112[rbp], rax
	call	pmcstat_string_unintern@PLT
	mov	rcx, QWORD PTR -112[rbp]
	mov	edi, DWORD PTR args[rip]
	lea	rsi, .LC1[rip]
	mov	rdx, rax
	xor	eax, eax
	call	fprintf@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rcx, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	mov	edi, DWORD PTR args[rip]
	call	fprintf@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR args[rip]
	mov	rdx, r15
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	fprintf@PLT
	jmp	.L10
.L35:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L7
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pmcpl_ct_node_printchild, .-pmcpl_ct_node_printchild
	.comm	pmcstat_npmcs,4,4
	.comm	args,4,4
	.comm	PMCPL_PCT_NAME,8,8
	.comm	PATH_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pmcpl_calltree.c_pmcpl_ct_node_printchild.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cob=%s\012\000"
	.align	2
.LC1:
	.ascii	"cfi=%s\012cfn=%s\012\000"
	.align	2
.LC2:
	.ascii	"cfi=???\012cfn=%s\012\000"
	.align	2
.LC3:
	.ascii	"cfi=???\012cfn=%p\012\000"
	.align	2
.LC4:
	.ascii	"calls=%u %p %u\012\000"
	.align	2
.LC5:
	.ascii	"%p %u\000"
	.align	2
.LC6:
	.ascii	"\012\000"
	.align	2
.LC7:
	.ascii	" %u\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pmcpl_ct_node_printchild, %function
pmcpl_ct_node_printchild:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	mov	r4, r0
	ldr	r0, .L20
	ldr	r3, [r4]
	ldr	r0, [r0]
	cmp	r3, #0
	add	r3, r0, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	str	r0, [fp, #-68]
	add	r0, sp, #16
	sub	sp, sp, r3
	ldr	r3, .L20+4
	str	r0, [fp, #-60]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	add	r3, sp, #16
	str	r3, [fp, #-64]
	ble	.L1
	mov	r3, #0
	ldr	r10, .L20+8
	ldr	r5, .L20+12
	str	r3, [fp, #-48]
.L8:
	ldr	r2, [fp, #-48]
	ldr	r3, [r4, #8]
	add	r9, r2, r2, lsl #1
	add	r3, r3, r9, lsl #2
	ldr	r7, [r3, #8]
	ldr	r8, [r10]
	ldr	r3, [r7, #16]
	lsl	r6, r9, #2
	ldr	r0, [r3, #4]
	bl	pmcstat_string_unintern
	ldr	r1, .L20+16
	mov	r2, r0
	mov	r0, r8
	bl	fprintf
	mov	r3, #0
	ldr	r0, [r7, #16]
	ldr	r2, [r7, #4]
	ldr	r8, [r0]
	str	r3, [fp, #-44]
	ldr	r3, .L20+20
	ldr	r1, [r7, #28]
	ldr	r3, [r3]
	add	r8, r8, r1
	cmp	r2, r3
	beq	.L17
	ldr	r2, [fp, #-68]
	ldr	r1, [fp, #-64]
	sub	r3, fp, #44
	str	r2, [sp, #8]
	str	r1, [sp, #4]
	str	r3, [sp]
	mov	r1, r8
	mov	r3, r2
	ldr	r2, [fp, #-60]
	bl	pmcstat_image_addr2line
	cmp	r0, #0
	bne	.L18
	ldr	r3, [r7, #12]
	ldr	r7, [r10]
	cmp	r3, #0
	beq	.L6
	ldr	r0, [r3]
	bl	pmcstat_string_unintern
	ldr	r1, .L20+24
	mov	r2, r0
	mov	r0, r7
	bl	fprintf
.L4:
	ldr	r3, [r4, #8]
	ldr	r1, [fp, #-44]
	ldr	r2, [r3, r9, lsl #2]
	ldr	r0, [r10]
	mov	r3, r8
	str	r1, [sp]
	ldr	r1, .L20+28
	bl	fprintf
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-52]
	ldr	r1, .L20+32
	ldr	r0, [r10]
	bl	fprintf
	ldr	r3, [r5]
	cmp	r3, #0
	movgt	r7, #0
	ldrgt	r8, .L20+36
	ble	.L10
.L7:
	ldr	r1, [r4, #8]
	mov	r0, r7
	add	r1, r1, r6
	add	r1, r1, #4
	ldr	r9, [r10]
	bl	PMCPL_CT_SAMPLE
	mov	r1, r8
	mov	r2, r0
	mov	r0, r9
	bl	fprintf
	ldr	r3, [r5]
	add	r7, r7, #1
	cmp	r3, r7
	bgt	.L7
.L10:
	ldr	r1, .L20+40
	ldr	r0, [r10]
	bl	fprintf
	ldr	r2, [fp, #-48]
	ldr	r3, [r4]
	add	r2, r2, #1
	cmp	r3, r2
	str	r2, [fp, #-48]
	bgt	.L8
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	ldr	r3, [r10]
	ldr	r0, [r7, #24]
	str	r3, [fp, #-72]
	bl	pmcstat_string_unintern
	mov	r2, r0
	ldr	r0, [r7, #20]
	mov	r7, r2
	bl	pmcstat_string_unintern
	mov	r2, r7
	mov	r3, r0
	ldr	r1, .L20+44
	ldr	r0, [fp, #-72]
	bl	fprintf
	b	.L4
.L18:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-60]
	ldr	r1, .L20+44
	ldr	r0, [r10]
	bl	fprintf
	b	.L4
.L6:
	mov	r0, r7
	mov	r2, r8
	ldr	r1, .L20+48
	bl	fprintf
	b	.L4
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	PATH_MAX
	.word	.LC8
	.word	args
	.word	pmcstat_npmcs
	.word	.LC0
	.word	PMCPL_PCT_NAME
	.word	.LC2
	.word	.LC4
	.word	.LC5
	.word	.LC7
	.word	.LC6
	.word	.LC1
	.word	.LC3
	.size	pmcpl_ct_node_printchild, .-pmcpl_ct_node_printchild
	.comm	pmcstat_npmcs,4,4
	.comm	args,4,4
	.comm	PMCPL_PCT_NAME,4,4
	.comm	PATH_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
