	.file	"extr_string.c_String_toUpperCase.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
	.text
	.p2align 4
	.type	String_toUpperCase, @function
String_toUpperCase:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	lea	rdi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, r9
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	TRACE@PLT
	mov	rdi, r12
	lea	rdx, 8[rsp]
	mov	rsi, r13
	call	get_string_val@PLT
	mov	edi, eax
	mov	r12d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, QWORD PTR 8[rsp]
	test	rbp, rbp
	je	.L3
	call	jsstr_length@PLT
	lea	rsi, 16[rsp]
	mov	edi, eax
	mov	ebx, eax
	call	jsstr_alloc_buf@PLT
	mov	r13, rax
	test	rax, rax
	je	.L15
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	call	jsstr_flush@PLT
	lea	eax, -1[rbx]
	test	ebx, ebx
	je	.L7
	mov	rbx, QWORD PTR 16[rsp]
	lea	r12, 4[rbx+rax*4]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR [rbx]
	add	rbx, 4
	call	towupper@PLT
	mov	DWORD PTR -4[rbx], eax
	mov	QWORD PTR 16[rsp], rbx
	cmp	r12, rbx
	jne	.L6
.L7:
	mov	rdi, r13
	call	jsval_string@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	DWORD PTR 0[rbp], eax
.L3:
	call	jsstr_release@PLT
	mov	r12d, DWORD PTR S_OK[rip]
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L15:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsp]
	call	jsstr_release@PLT
	mov	r12d, DWORD PTR E_OUTOFMEMORY[rip]
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	String_toUpperCase, .-String_toUpperCase
	.comm	S_OK,4,4
	.comm	E_OUTOFMEMORY,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_string.c_String_toUpperCase.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	String_toUpperCase, %function
String_toUpperCase:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L17
	sub	sp, sp, #20
	ldr	r0, .L17+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r6, [sp, #44]
	bl	TRACE
	mov	r1, r5
	mov	r0, r4
	add	r2, sp, #4
	bl	get_string_val
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	bne	.L1
	cmp	r6, #0
	ldr	r0, [sp, #4]
	beq	.L3
	bl	jsstr_length
	add	r1, sp, #8
	mov	r5, r0
	bl	jsstr_alloc_buf
	subs	r7, r0, #0
	beq	.L15
	ldmib	sp, {r0, r1}
	bl	jsstr_flush
	cmp	r5, #0
	ldrne	r4, [sp, #8]
	sub	r5, r5, #1
	beq	.L7
.L6:
	ldr	r0, [r4]
	bl	towupper
	sub	r5, r5, #1
	str	r0, [r4], #4
	cmn	r5, #1
	str	r4, [sp, #8]
	bne	.L6
.L7:
	mov	r0, r7
	bl	jsval_string
	mov	r3, r0
	ldr	r0, [sp, #4]
	str	r3, [r6]
.L3:
	bl	jsstr_release
	ldr	r3, .L17+8
	ldr	r4, [r3]
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L15:
	ldr	r0, [sp, #4]
	bl	jsstr_release
	ldr	r3, .L17+12
	ldr	r4, [r3]
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	.LC0
	.word	S_OK
	.word	E_OUTOFMEMORY
	.size	String_toUpperCase, .-String_toUpperCase
	.comm	S_OK,4,4
	.comm	E_OUTOFMEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
