	.file	"14201074.c"
	.intel_syntax noprefix
	.text
	.globl	cPing
	.bss
	.align 32
	.type	cPing, @object
	.size	cPing, 968
cPing:
	.zero	968
	.globl	cPong
	.align 32
	.type	cPong, @object
	.size	cPong, 968
cPong:
	.zero	968
	.globl	cMain
	.align 32
	.type	cMain, @object
	.size	cMain, 968
cMain:
	.zero	968
	.section	.rodata
.LC0:
	.string	"%s iniciada\n"
.LC1:
	.string	"%s %d\n"
.LC2:
	.string	"%s FIM\n"
	.text
	.globl	f_ping
	.type	f_ping, @function
f_ping:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, cPong[rip]
	lea	rdi, cPing[rip]
	call	swapcontext@PLT
	endbr64
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, cMain[rip]
	lea	rdi, cPing[rip]
	call	swapcontext@PLT
	endbr64
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	f_ping, .-f_ping
	.globl	f_pong
	.type	f_pong, @function
f_pong:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L6:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, cPing[rip]
	lea	rdi, cPong[rip]
	call	swapcontext@PLT
	endbr64
	add	DWORD PTR -4[rbp], 1
.L5:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, cMain[rip]
	lea	rdi, cPong[rip]
	call	swapcontext@PLT
	endbr64
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	f_pong, .-f_pong
	.section	.rodata
.LC3:
	.string	"Main INICIO"
.LC4:
	.string	"Erro na cria\303\247\303\243o da pilha: "
.LC5:
	.string	"\tPing"
.LC6:
	.string	"\tPong"
.LC7:
	.string	"Main FIM"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, cPing[rip]
	call	getcontext@PLT
	endbr64
	mov	edi, 32768
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR cPing[rip+16], rax
	mov	QWORD PTR cPing[rip+32], 32768
	mov	DWORD PTR cPing[rip+24], 0
	mov	QWORD PTR cPing[rip+8], 0
	lea	rcx, .LC5[rip]
	mov	edx, 1
	lea	rsi, f_ping[rip]
	lea	rdi, cPing[rip]
	mov	eax, 0
	call	makecontext@PLT
	lea	rdi, cPong[rip]
	call	getcontext@PLT
	endbr64
	mov	edi, 32768
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L11
	jmp	.L13
.L9:
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR cPong[rip+16], rax
	mov	QWORD PTR cPong[rip+32], 32768
	mov	DWORD PTR cPong[rip+24], 0
	mov	QWORD PTR cPong[rip+8], 0
	lea	rcx, .LC6[rip]
	mov	edx, 1
	lea	rsi, f_pong[rip]
	lea	rdi, cPong[rip]
	mov	eax, 0
	call	makecontext@PLT
	lea	rsi, cPing[rip]
	lea	rdi, cMain[rip]
	call	swapcontext@PLT
	endbr64
	lea	rsi, cPong[rip]
	lea	rdi, cMain[rip]
	call	swapcontext@PLT
	endbr64
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L11:
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.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	"14201074.c"
	.text
	.comm	cPing,744,8
	.comm	cPong,744,8
	.comm	cMain,744,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s iniciada\012\000"
	.align	2
.LC1:
	.ascii	"%s %d\012\000"
	.align	2
.LC2:
	.ascii	"%s FIM\012\000"
	.text
	.align	2
	.global	f_ping
	.syntax unified
	.arm
	.fpu softvfp
	.type	f_ping, %function
f_ping:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, .L4+4
	bl	printf
	ldr	r1, .L4+8
	ldr	r0, .L4+12
	bl	swapcontext
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L3
	ldr	r1, [fp, #-16]
	ldr	r0, .L4+16
	bl	printf
	ldr	r1, .L4+20
	ldr	r0, .L4+12
	bl	swapcontext
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	cPong
	.word	cPing
	.word	.LC2
	.word	cMain
	.size	f_ping, .-f_ping
	.align	2
	.global	f_pong
	.syntax unified
	.arm
	.fpu softvfp
	.type	f_pong, %function
f_pong:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L9
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, .L9+4
	bl	printf
	ldr	r1, .L9+8
	ldr	r0, .L9+12
	bl	swapcontext
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L8
	ldr	r1, [fp, #-16]
	ldr	r0, .L9+16
	bl	printf
	ldr	r1, .L9+20
	ldr	r0, .L9+12
	bl	swapcontext
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.word	cPing
	.word	cPong
	.word	.LC2
	.word	cMain
	.size	f_pong, .-f_pong
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Main INICIO\000"
	.align	2
.LC4:
	.ascii	"Erro na cria\303\247\303\243o da pilha: \000"
	.align	2
.LC5:
	.ascii	"\011Ping\000"
	.align	2
.LC6:
	.ascii	"\011Pong\000"
	.align	2
.LC7:
	.ascii	"Main FIM\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, .L18
	bl	puts
	ldr	r0, .L18+4
	bl	getcontext
	mov	r0, #32768
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L13
	ldr	r2, .L18+4
	ldr	r3, [fp, #-8]
	str	r3, [r2, #8]
	ldr	r3, .L18+4
	mov	r2, #32768
	str	r2, [r3, #16]
	ldr	r3, .L18+4
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, .L18+4
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L18+8
	mov	r2, #1
	ldr	r1, .L18+12
	ldr	r0, .L18+4
	bl	makecontext
	ldr	r0, .L18+16
	bl	getcontext
	mov	r0, #32768
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L15
	b	.L17
.L13:
	ldr	r0, .L18+20
	bl	perror
	mov	r0, #1
	bl	exit
.L17:
	ldr	r2, .L18+16
	ldr	r3, [fp, #-8]
	str	r3, [r2, #8]
	ldr	r3, .L18+16
	mov	r2, #32768
	str	r2, [r3, #16]
	ldr	r3, .L18+16
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, .L18+16
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L18+24
	mov	r2, #1
	ldr	r1, .L18+28
	ldr	r0, .L18+16
	bl	makecontext
	ldr	r1, .L18+4
	ldr	r0, .L18+32
	bl	swapcontext
	ldr	r1, .L18+16
	ldr	r0, .L18+32
	bl	swapcontext
	ldr	r0, .L18+36
	bl	puts
	mov	r0, #0
	bl	exit
.L15:
	ldr	r0, .L18+20
	bl	perror
	mov	r0, #1
	bl	exit
.L19:
	.align	2
.L18:
	.word	.LC3
	.word	cPing
	.word	.LC5
	.word	f_ping
	.word	cPong
	.word	.LC4
	.word	.LC6
	.word	f_pong
	.word	cMain
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
