	.file	"extr_notes.c_tree_write_stack_init_subtree.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tree_write_stack_init_subtree, @function
tree_write_stack_init_subtree:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	QWORD PTR 8[rdi], 0
	mov	rbx, rdi
	sete	dil
	movzx	edi, dil
	call	assert@PLT
	mov	rax, QWORD PTR [rbx]
	xor	edi, edi
	cmp	BYTE PTR [rax], 0
	jne	.L2
	xor	edi, edi
	cmp	BYTE PTR 1[rax], 0
	sete	dil
.L2:
	call	assert@PLT
	mov	edi, 24
	call	xmalloc@PLT
	mov	rbp, rax
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR the_hash_algo[rip]
	lea	rdi, 16[rbp]
	mov	esi, DWORD PTR [rax]
	add	esi, 32
	sal	esi, 8
	call	strbuf_init@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	BYTE PTR 1[rax], 0
	mov	rax, QWORD PTR 0[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR 8[rbx], rbp
	movzx	edx, BYTE PTR [r12]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR [rbx]
	movzx	edx, BYTE PTR 1[r12]
	mov	BYTE PTR 1[rax], dl
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tree_write_stack_init_subtree, .-tree_write_stack_init_subtree
	.comm	the_hash_algo,8,8
	.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_notes.c_tree_write_stack_init_subtree.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_write_stack_init_subtree, %function
tree_write_stack_init_subtree:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0, #4]
	mov	r6, r1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, [r4]
	mov	r7, #0
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #0
	ldrbeq	r0, [r3, #1]	@ zero_extendqisi2
	movne	r0, #0
	clzeq	r0, r0
	lsreq	r0, r0, #5
	bl	assert
	mov	r0, #12
	bl	xmalloc
	mov	r5, r0
	ldr	r3, .L6
	str	r7, [r0, #4]
	ldr	r3, [r3]
	add	r0, r0, #8
	ldr	r1, [r3]
	add	r1, r1, #32
	lsl	r1, r1, #8
	bl	strbuf_init
	ldr	r3, [r5]
	strb	r7, [r3, #1]
	ldr	r3, [r5]
	strb	r7, [r3]
	str	r5, [r4, #4]
	ldr	r3, [r4]
	ldrb	r2, [r6]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [r4]
	ldrb	r2, [r6, #1]	@ zero_extendqisi2
	strb	r2, [r3, #1]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	.align	2
.L6:
	.word	the_hash_algo
	.size	tree_write_stack_init_subtree, .-tree_write_stack_init_subtree
	.comm	the_hash_algo,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
