	.file	"extr_3167.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/usr/lib/libSystem.dylib"
.LC1:
	.string	"open"
.LC2:
	.string	"shared_region_map_file_np"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR O_RDONLY[rip]
	lea	rdi, .LC0[rip]
	call	open@PLT
	mov	esi, eax
	cmp	eax, -1
	je	.L6
.L2:
	mov	edi, DWORD PTR SYS_shared_region_map_file_np[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 33554432
	call	syscall@PLT
	cmp	eax, -1
	je	.L7
.L3:
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	call	exit@PLT
	xor	eax, eax
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	mov	DWORD PTR 12[rsp], eax
	call	perror@PLT
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	call	exit@PLT
	mov	esi, DWORD PTR 12[rsp]
	jmp	.L2
.L7:
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	call	exit@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	SYS_shared_region_map_file_np,4,4
	.comm	O_RDONLY,4,4
	.comm	EXIT_FAILURE,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_3167.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/usr/lib/libSystem.dylib\000"
	.align	2
.LC1:
	.ascii	"open\000"
	.align	2
.LC2:
	.ascii	"shared_region_map_file_np\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L9
	ldr	r0, .L9+4
	ldr	r1, [r3]
	sub	sp, sp, #12
	bl	open
	cmn	r0, #1
	mov	r4, r0
	ldr	r5, .L9+8
	beq	.L5
.L2:
	mov	r3, #0
	ldr	r2, .L9+12
	str	r3, [sp]
	ldr	r0, [r2]
	mov	r1, r4
	mov	r2, #33554432
	bl	syscall
	cmn	r0, #1
	beq	.L8
.L3:
	ldr	r0, [r5]
	bl	exit
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	ldr	r0, .L9+16
	bl	perror
	ldr	r0, [r5]
	bl	exit
	b	.L2
.L8:
	ldr	r0, .L9+20
	bl	perror
	ldr	r0, [r5]
	bl	exit
	b	.L3
.L10:
	.align	2
.L9:
	.word	O_RDONLY
	.word	.LC0
	.word	EXIT_FAILURE
	.word	SYS_shared_region_map_file_np
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.comm	SYS_shared_region_map_file_np,4,4
	.comm	O_RDONLY,4,4
	.comm	EXIT_FAILURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
