	.file	"225744.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Usage: %s -[c]\n"
.LC1:
	.string	"c"
.LC2:
	.string	"/malex.hello03.01"
.LC3:
	.string	"Shared Mem Descriptor: fd=%d\n"
.LC4:
	.string	"the_stack_data/225744.c"
.LC5:
	.string	"fd>0"
	.align 8
.LC6:
	.string	"Shared Memory Address: %p [0..%lu]\n"
	.align 8
.LC7:
	.string	"Shared Memory Path: /dev/shm/%s\n"
.LC8:
	.string	"ptr"
.LC9:
	.string	"hello world!!\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -44[rbp], 2
	jmp	.L2
.L4:
	cmp	DWORD PTR -40[rbp], 99
	jne	.L3
	mov	DWORD PTR -44[rbp], 66
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	lea	rdx, .LC1[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], -1
	jne	.L4
	mov	QWORD PTR -32[rbp], 2048
	lea	rax, .LC2[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	ecx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 420
	mov	esi, ecx
	mov	rdi, rax
	call	shm_open@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ftruncate@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -36[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -36[rbp], 0
	jg	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 36
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L5:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	r9d, 0
	mov	r8d, edx
	mov	ecx, 1
	mov	edx, 3
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	QWORD PTR -16[rbp], 0
	jne	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 43
	lea	rsi, .LC4[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L6:
	lea	rax, .LC9[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.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	"225744.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s -[c]\012\000"
	.align	2
.LC1:
	.ascii	"c\000"
	.align	2
.LC2:
	.ascii	"/malex.hello03.01\000"
	.align	2
.LC3:
	.ascii	"Shared Mem Descriptor: fd=%d\012\000"
	.align	2
.LC4:
	.ascii	"the_stack_data/225744.c\000"
	.align	2
.LC5:
	.ascii	"fd>0\000"
	.align	2
.LC6:
	.ascii	"Shared Memory Address: %p [0..%lu]\012\000"
	.align	2
.LC7:
	.ascii	"Shared Memory Path: /dev/shm/%s\012\000"
	.align	2
.LC8:
	.ascii	"ptr\000"
	.align	2
.LC9:
	.ascii	"hello world!!\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #2
	str	r3, [fp, #-32]
	b	.L2
.L4:
	ldr	r3, [fp, #-28]
	cmp	r3, #99
	bne	.L3
	mov	r3, #66
	str	r3, [fp, #-32]
	b	.L2
.L3:
	ldr	r3, .L7
	ldr	r0, [r3]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L7+4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r2, .L7+8
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	getopt
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L4
	mov	r3, #2048
	str	r3, [fp, #-24]
	ldr	r3, .L7+12
	str	r3, [fp, #-20]
	mov	r2, #420
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-20]
	bl	shm_open
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	ftruncate
	ldr	r3, .L7
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L7+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L5
	ldr	r3, .L7+20
	mov	r2, #36
	ldr	r1, .L7+24
	ldr	r0, .L7+28
	bl	__assert_fail
.L5:
	ldr	r1, [fp, #-24]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-12]
	ldr	r3, .L7
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	ldr	r1, .L7+32
	bl	fprintf
	ldr	r3, .L7
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L7+36
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L7+20
	mov	r2, #43
	ldr	r1, .L7+24
	ldr	r0, .L7+40
	bl	__assert_fail
.L6:
	ldr	r3, .L7+44
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	strcpy
	ldr	r0, [fp, #-16]
	bl	close
	mov	r0, #0
	bl	exit
.L8:
	.align	2
.L7:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	__PRETTY_FUNCTION__.6112
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6112, %object
	.size	__PRETTY_FUNCTION__.6112, 5
__PRETTY_FUNCTION__.6112:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
