	.file	"607961.c"
	.intel_syntax noprefix
	.text
	.globl	getSharedMem
	.type	getSharedMem, @function
getSharedMem:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, -1
	mov	esi, 10
	mov	edi, 0
	call	shmget@PLT
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getSharedMem, .-getSharedMem
	.globl	relSharedMem
	.type	relSharedMem, @function
relSharedMem:
.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, 144
	mov	DWORD PTR -132[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -128[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	esi, 0
	mov	edi, eax
	call	shmctl@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	relSharedMem, .-relSharedMem
	.section	.rodata
.LC0:
	.string	"the_stack_data/607961.c"
.LC1:
	.string	"memIdent != -1"
.LC2:
	.string	"((int)buf) != -1"
	.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
	mov	eax, 0
	call	getSharedMem
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 72
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L6:
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	shmat@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	cmp	eax, -1
	jne	.L7
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 74
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L7:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 10
	mov	BYTE PTR [rax], 65
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	shmdt@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	relSharedMem
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"607961.c"
	.text
	.align	2
	.global	getSharedMem
	.syntax unified
	.arm
	.fpu softvfp
	.type	getSharedMem, %function
getSharedMem:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mvn	r2, #0
	mov	r1, #10
	mov	r0, #0
	bl	shmget
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	getSharedMem, .-getSharedMem
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	relSharedMem
	.syntax unified
	.arm
	.fpu softvfp
	.type	relSharedMem, %function
relSharedMem:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #92
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-96]
	bl	shmctl
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.size	relSharedMem, .-relSharedMem
	.section	.rodata
	.align	2
.LC1:
	.ascii	"the_stack_data/607961.c\000"
	.align	2
.LC2:
	.ascii	"memIdent != -1\000"
	.align	2
.LC3:
	.ascii	"((int)buf) != -1\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]
	bl	getSharedMem
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L8
	ldr	r3, .L11
	mov	r2, #72
	ldr	r1, .L11+4
	ldr	r0, .L11+8
	bl	__assert_fail
.L8:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	shmat
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L9
	ldr	r3, .L11
	mov	r2, #74
	ldr	r1, .L11+4
	ldr	r0, .L11+12
	bl	__assert_fail
.L9:
	ldr	r3, [fp, #-8]
	add	r3, r3, #10
	mov	r2, #65
	strb	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	shmdt
	ldr	r0, [fp, #-12]
	bl	relSharedMem
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	__PRETTY_FUNCTION__.4868
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4868, %object
	.size	__PRETTY_FUNCTION__.4868, 5
__PRETTY_FUNCTION__.4868:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
