	.file	"extr_cp-demangle.c_d_substitution.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	d_substitution, @function
d_substitution:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	mov	esi, 83
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	d_check_char@PLT
	test	eax, eax
	je	.L27
	mov	rdi, r12
	xor	ebp, ebp
	call	d_next_char@PLT
	cmp	al, 95
	jne	.L29
.L4:
	cmp	DWORD PTR [r12], ebp
	jle	.L27
	mov	rax, QWORD PTR 24[r12]
	movsx	rbp, ebp
	add	DWORD PTR 32[r12], 1
	mov	rax, QWORD PTR [rax+rbp*8]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore_state
	movsx	ebx, al
	mov	edi, ebx
	call	IS_DIGIT@PLT
	test	rax, rax
	jne	.L7
	mov	edi, ebx
	call	IS_UPPER@PLT
	test	rax, rax
	jne	.L7
	mov	eax, DWORD PTR 4[r12]
	test	DWORD PTR DMGL_VERBOSE[rip], eax
	jne	.L27
	test	r13d, r13d
	je	.L27
	mov	rdi, r12
	call	d_peek_char@PLT
.L27:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	ebp, ebp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L30:
	lea	eax, 0[rbp+rbp*8]
	lea	ebp, -48[rbx+rax*4]
.L10:
	test	ebp, ebp
	js	.L27
	mov	rdi, r12
	call	d_next_char@PLT
	cmp	al, 95
	je	.L25
	movsx	ebx, al
.L6:
	mov	edi, ebx
	call	IS_DIGIT@PLT
	test	rax, rax
	jne	.L30
	mov	edi, ebx
	call	IS_UPPER@PLT
	test	rax, rax
	je	.L27
	lea	eax, 0[rbp+rbp*8]
	lea	ebp, -55[rbx+rax*4]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L25:
	add	ebp, 1
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	d_substitution, .-d_substitution
	.comm	standard_subs,8,8
	.comm	DMGL_VERBOSE,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_cp-demangle.c_d_substitution.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	d_substitution, %function
d_substitution:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r1, #83
	mov	r6, r0
	bl	d_check_char
	cmp	r0, #0
	beq	.L11
	mov	r0, r6
	bl	d_next_char
	cmp	r0, #95
	mov	r5, r0
	mov	r4, r0
	moveq	r5, #0
	bne	.L23
.L4:
	ldr	r3, [r6]
	cmp	r3, r5
	ble	.L11
	ldr	r3, [r6, #20]
	ldr	r2, [r6, #16]
	add	r3, r3, #1
	ldr	r0, [r2, r5, lsl #2]
	str	r3, [r6, #20]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L23:
	bl	IS_DIGIT
	cmp	r0, #0
	beq	.L5
.L7:
	mov	r5, #0
	b	.L6
.L10:
	cmp	r5, #0
	blt	.L11
	mov	r0, r6
	bl	d_next_char
	cmp	r0, #95
	mov	r4, r0
	beq	.L24
.L6:
	mov	r0, r4
	bl	IS_DIGIT
	add	r3, r5, r5, lsl #3
	cmp	r0, #0
	add	r3, r4, r3, lsl #2
	subne	r5, r3, #48
	bne	.L10
	mov	r0, r4
	bl	IS_UPPER
	cmp	r0, #0
	beq	.L11
	add	r5, r5, r5, lsl #3
	add	r4, r4, r5, lsl #2
	sub	r5, r4, #55
	b	.L10
.L24:
	add	r5, r5, #1
	b	.L4
.L5:
	mov	r0, r5
	bl	IS_UPPER
	subs	r5, r0, #0
	bne	.L7
	ldr	r3, .L25
	ldr	r2, [r6, #4]
	ldr	r3, [r3]
	tst	r2, r3
	moveq	r3, #1
	movne	r3, #0
	cmp	r7, #0
	movne	r7, r3
	moveq	r7, #0
	cmp	r7, #0
	beq	.L11
	mov	r0, r6
	bl	d_peek_char
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	.align	2
.L25:
	.word	DMGL_VERBOSE
	.size	d_substitution, .-d_substitution
	.comm	standard_subs,4,4
	.comm	DMGL_VERBOSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
