	.file	"778213.c"
	.intel_syntax noprefix
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 65025
s:
	.zero	65025
	.globl	top
	.data
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	-1
	.text
	.globl	push
	.type	push, @function
push:
.LFB6:
	.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	QWORD PTR -8[rbp], rdi
	mov	eax, DWORD PTR top[rip]
	add	eax, 1
	mov	DWORD PTR top[rip], eax
	mov	eax, DWORD PTR top[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, s[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	push, .-push
	.globl	pop
	.type	pop, @function
pop:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR top[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR top[rip], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, s[rip]
	add	rax, rdx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pop, .-pop
	.section	.rodata
.LC0:
	.string	"#"
.LC1:
	.string	"+"
.LC2:
	.string	"-"
.LC3:
	.string	"*"
.LC4:
	.string	"/"
	.text
	.globl	pr
	.type	pr, @function
pr:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	eax, 0
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	eax, 1
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	eax, 1
	jmp	.L6
.L8:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	mov	eax, 2
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	eax, 2
	jmp	.L6
.L10:
	mov	eax, -1
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pr, .-pr
	.section	.rodata
.LC5:
	.string	" "
.LC6:
	.string	"("
.LC7:
	.string	")"
	.text
	.globl	infix_to_postfix
	.type	infix_to_postfix, @function
infix_to_postfix:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	edi, 255
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC0[rip]
	call	push
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -32[rbp], rax
	jmp	.L12
.L22:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	push
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
.L16:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
	mov	eax, 0
	call	pop
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
.L18:
	mov	eax, DWORD PTR top[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, s[rip]
	add	rax, rdx
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	mov	eax, 0
	call	pop
	jmp	.L14
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
	mov	eax, 0
	call	pop
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
.L20:
	mov	eax, DWORD PTR top[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, s[rip]
	add	rax, rdx
	mov	rdi, rax
	call	pr
	mov	ebx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	pr
	cmp	ebx, eax
	jge	.L21
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	push
.L14:
	lea	rsi, .LC5[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -32[rbp], rax
.L12:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L22
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
	mov	eax, 0
	call	pop
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
.L23:
	mov	eax, DWORD PTR top[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, s[rip]
	add	rax, rdx
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	infix_to_postfix, .-infix_to_postfix
	.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	"778213.c"
	.text
	.comm	s,65025,4
	.global	top
	.data
	.align	2
	.type	top, %object
	.size	top, 4
top:
	.word	-1
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L2
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L2
	str	r3, [r2]
	ldr	r3, .L2
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	ldr	r2, .L2+4
	add	r3, r3, r2
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	strcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	top
	.word	s
	.size	push, .-push
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L6
	ldr	r2, [r3]
	sub	r3, r2, #1
	ldr	r1, .L6
	str	r3, [r1]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	ldr	r2, .L6+4
	add	r3, r3, r2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	top
	.word	s
	.size	pop, .-pop
	.section	.rodata
	.align	2
.LC0:
	.ascii	"#\000"
	.align	2
.LC1:
	.ascii	"+\000"
	.align	2
.LC2:
	.ascii	"-\000"
	.align	2
.LC3:
	.ascii	"*\000"
	.align	2
.LC4:
	.ascii	"/\000"
	.text
	.align	2
	.global	pr
	.syntax unified
	.arm
	.fpu softvfp
	.type	pr, %function
pr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r1, .L15
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	b	.L10
.L9:
	ldr	r1, .L15+4
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r3, #1
	b	.L10
.L11:
	ldr	r1, .L15+8
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	mov	r3, #1
	b	.L10
.L12:
	ldr	r1, .L15+12
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	mov	r3, #2
	b	.L10
.L13:
	ldr	r1, .L15+16
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	mov	r3, #2
	b	.L10
.L14:
	mvn	r3, #0
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	pr, .-pr
	.section	.rodata
	.align	2
.LC5:
	.ascii	" \000"
	.align	2
.LC6:
	.ascii	"(\000"
	.align	2
.LC7:
	.ascii	")\000"
	.text
	.align	2
	.global	infix_to_postfix
	.syntax unified
	.arm
	.fpu softvfp
	.type	infix_to_postfix, %function
infix_to_postfix:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	mov	r0, #255
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, .L32
	bl	push
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L32+4
	ldr	r0, [fp, #-24]
	bl	strtok
	str	r0, [fp, #-20]
	b	.L18
.L28:
	ldr	r1, .L32+8
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldr	r0, [fp, #-20]
	bl	push
	b	.L20
.L19:
	ldr	r1, .L32
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r1, .L32+12
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r1, .L32+16
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r1, .L32+20
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r1, .L32+24
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, .L32+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L22:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	strcat
	b	.L20
.L21:
	ldr	r1, .L32+28
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	b	.L24
.L25:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, .L32+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	bl	pop
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcat
.L24:
	ldr	r3, .L32+32
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	ldr	r2, .L32+36
	add	r3, r3, r2
	ldr	r1, .L32+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	bl	pop
	b	.L20
.L27:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, .L32+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	bl	pop
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcat
.L26:
	ldr	r3, .L32+32
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	ldr	r2, .L32+36
	add	r3, r3, r2
	mov	r0, r3
	bl	pr
	mov	r4, r0
	ldr	r0, [fp, #-20]
	bl	pr
	mov	r3, r0
	cmp	r4, r3
	bge	.L27
	ldr	r0, [fp, #-20]
	bl	push
.L20:
	ldr	r1, .L32+4
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-20]
.L18:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L28
	b	.L29
.L30:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, .L32+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	bl	pop
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcat
.L29:
	ldr	r3, .L32+32
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	ldr	r2, .L32+36
	add	r3, r3, r2
	ldr	r1, .L32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC0
	.word	.LC5
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC7
	.word	top
	.word	s
	.size	infix_to_postfix, .-infix_to_postfix
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
