	.file	"419795.c"
	.intel_syntax noprefix
	.text
	.globl	str_len
	.type	str_len, @function
str_len:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	WORD PTR -4[rbp], 0
	mov	WORD PTR -2[rbp], 0
	jmp	.L2
.L8:
	mov	WORD PTR -2[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	and	eax, 224
	cmp	eax, 192
	jne	.L3
	mov	WORD PTR -2[rbp], 2
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	and	eax, 240
	cmp	eax, 224
	jne	.L5
	mov	WORD PTR -2[rbp], 3
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	and	eax, 248
	cmp	eax, 240
	jne	.L4
	mov	WORD PTR -2[rbp], 4
.L4:
	movsx	rax, WORD PTR -2[rbp]
	add	QWORD PTR -24[rbp], rax
	cmp	WORD PTR -2[rbp], 4
	jne	.L6
	mov	edx, 2
	jmp	.L7
.L6:
	mov	edx, 1
.L7:
	movzx	eax, WORD PTR -4[rbp]
	add	eax, edx
	mov	WORD PTR -4[rbp], ax
.L2:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L8
	movzx	eax, WORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	str_len, .-str_len
	.globl	inc_obj_a
	.type	inc_obj_a, @function
inc_obj_a:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	add	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	inc_obj_a, .-inc_obj_a
	.section	.rodata
.LC0:
	.string	"the_stack_data/419795.c"
.LC1:
	.string	"obj != NULL"
.LC2:
	.string	"something"
.LC3:
	.string	"{ "
.LC4:
	.string	"a: %d"
.LC5:
	.string	", "
.LC6:
	.string	"b: \"%s\""
.LC7:
	.string	" }"
	.text
	.globl	do_stuff
	.type	do_stuff, @function
do_stuff:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 34
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L12:
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], 10
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, .LC2[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	WORD PTR -10[rbp], 0
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	inc_obj_a
	movzx	eax, WORD PTR -10[rbp]
	add	eax, 1
	mov	WORD PTR -10[rbp], ax
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	str_len
	cmp	WORD PTR -10[rbp], ax
	jl	.L14
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	cwde
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	do_stuff, .-do_stuff
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	do_stuff
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 9
__PRETTY_FUNCTION__.0:
	.string	"do_stuff"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"419795.c"
	.text
	.align	2
	.global	str_len
	.syntax unified
	.arm
	.fpu softvfp
	.type	str_len, %function
str_len:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	strh	r3, [fp, #-8]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	b	.L2
.L8:
	mov	r3, #1
	strh	r3, [fp, #-6]	@ movhi
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #224
	cmp	r3, #192
	bne	.L3
	mov	r3, #2
	strh	r3, [fp, #-6]	@ movhi
	b	.L4
.L3:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #240
	cmp	r3, #224
	bne	.L5
	mov	r3, #3
	strh	r3, [fp, #-6]	@ movhi
	b	.L4
.L5:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #248
	cmp	r3, #240
	bne	.L4
	mov	r3, #4
	strh	r3, [fp, #-6]	@ movhi
.L4:
	ldrsh	r3, [fp, #-6]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldrsh	r3, [fp, #-6]
	cmp	r3, #4
	bne	.L6
	mov	r2, #2
	b	.L7
.L6:
	mov	r2, #1
.L7:
	ldrh	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-8]	@ movhi
.L2:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	ldrsh	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	str_len, .-str_len
	.align	2
	.global	inc_obj_a
	.syntax unified
	.arm
	.fpu softvfp
	.type	inc_obj_a, %function
inc_obj_a:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3]	@ movhi
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	inc_obj_a, .-inc_obj_a
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/419795.c\000"
	.align	2
.LC1:
	.ascii	"obj != NULL\000"
	.align	2
.LC2:
	.ascii	"something\000"
	.align	2
.LC3:
	.ascii	"{ \000"
	.align	2
.LC4:
	.ascii	"a: %d\000"
	.align	2
.LC5:
	.ascii	", \000"
	.align	2
.LC6:
	.ascii	"b: \"%s\"\000"
	.align	2
.LC7:
	.ascii	" }\000"
	.text
	.align	2
	.global	do_stuff
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_stuff, %function
do_stuff:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L15
	mov	r2, #34
	ldr	r1, .L15+4
	ldr	r0, .L15+8
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-8]
	mov	r2, #10
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	ldr	r2, .L15+12
	str	r2, [r3, #4]
	mov	r3, #0
	strh	r3, [fp, #-10]	@ movhi
	b	.L13
.L14:
	ldr	r0, [fp, #-8]
	bl	inc_obj_a
	ldrsh	r3, [fp, #-10]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
.L13:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	str_len
	mov	r3, r0
	mov	r2, r3
	ldrsh	r3, [fp, #-10]
	cmp	r3, r2
	blt	.L14
	ldr	r0, .L15+16
	bl	printf
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L15+20
	bl	printf
	ldr	r0, .L15+24
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L15+28
	bl	printf
	ldr	r0, .L15+32
	bl	puts
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	__PRETTY_FUNCTION__.5148
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	do_stuff, .-do_stuff
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	do_stuff
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5148, %object
	.size	__PRETTY_FUNCTION__.5148, 9
__PRETTY_FUNCTION__.5148:
	.ascii	"do_stuff\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
