	.file	"175142984.c"
	.intel_syntax noprefix
	.text
	.local	progname
	.comm	progname,8,8
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s [-i PID] -m|-q|-s MODE SHMID|MSQID|SEMID...\n"
	.text
	.type	exit_usage, @function
exit_usage:
.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	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 0
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	jmp	.L3
.L2:
	mov	rax, QWORD PTR stdout[rip]
.L3:
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR progname[rip]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	exit_usage, .-exit_usage
	.section	.rodata
.LC1:
	.string	"IPC_STAT: %d"
.LC2:
	.string	"IPC_SET: %d"
	.text
	.type	msgmod, @function
msgmod:
.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, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -156[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -136[rbp], 0
	jmp	.L5
.L7:
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 10
	mov	rdi, rax
	call	xstrtoul@PLT
	mov	DWORD PTR -132[rbp], eax
	lea	rdx, -128[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	esi, 2
	mov	edi, eax
	call	msgctl@PLT
	test	eax, eax
	jns	.L6
	mov	eax, DWORD PTR -132[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	warn@PLT
	add	DWORD PTR -136[rbp], 1
	jmp	.L5
.L6:
	movzx	eax, WORD PTR -156[rbp]
	mov	DWORD PTR -108[rbp], eax
	lea	rdx, -128[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	esi, 1
	mov	edi, eax
	call	msgctl@PLT
	test	eax, eax
	jns	.L5
	mov	eax, DWORD PTR -132[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	warn@PLT
	add	DWORD PTR -136[rbp], 1
.L5:
	add	QWORD PTR -152[rbp], 8
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L7
	mov	eax, DWORD PTR -136[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	msgmod, .-msgmod
	.type	semmod, @function
semmod:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -140[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -120[rbp], 0
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 10
	mov	rdi, rax
	call	xstrtoul@PLT
	mov	DWORD PTR -116[rbp], eax
	lea	rdx, -112[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	semctl@PLT
	test	eax, eax
	jns	.L12
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	warn@PLT
	add	DWORD PTR -120[rbp], 1
	jmp	.L11
.L12:
	movzx	eax, WORD PTR -140[rbp]
	mov	DWORD PTR -92[rbp], eax
	lea	rdx, -112[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	semctl@PLT
	test	eax, eax
	jns	.L11
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	warn@PLT
	add	DWORD PTR -120[rbp], 1
.L11:
	add	QWORD PTR -136[rbp], 8
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L13
	mov	eax, DWORD PTR -120[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	semmod, .-semmod
	.section	.rodata
.LC3:
	.string	"IPC_RMID: %d"
.LC4:
	.string	"SHM_LOCK: %d"
	.text
	.type	shmmod, @function
shmmod:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -172[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L17
.L29:
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 10
	mov	rdi, rax
	call	xstrtoul@PLT
	mov	DWORD PTR -140[rbp], eax
	lea	rdx, -128[rbp]
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, 2
	mov	edi, eax
	call	shmctl@PLT
	test	eax, eax
	jns	.L18
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	warn@PLT
	add	DWORD PTR -148[rbp], 1
	jmp	.L17
.L18:
	movzx	eax, WORD PTR -172[rbp]
	mov	DWORD PTR -108[rbp], eax
	lea	rdx, -128[rbp]
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, 1
	mov	edi, eax
	call	shmctl@PLT
	test	eax, eax
	jns	.L19
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	warn@PLT
	add	DWORD PTR -148[rbp], 1
.L19:
	movzx	eax, WORD PTR -172[rbp]
	and	eax, 512
	test	eax, eax
	je	.L20
	mov	eax, DWORD PTR -140[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	shmctl@PLT
	test	eax, eax
	jns	.L20
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	warn@PLT
	add	DWORD PTR -148[rbp], 1
.L20:
	movzx	eax, WORD PTR -172[rbp]
	and	eax, 1024
	test	eax, eax
	je	.L21
	mov	eax, DWORD PTR -108[rbp]
	and	eax, 1024
	test	eax, eax
	je	.L22
	mov	eax, 0
	jmp	.L23
.L22:
	mov	eax, 11
.L23:
	mov	DWORD PTR -144[rbp], eax
	jmp	.L24
.L21:
	mov	eax, DWORD PTR -108[rbp]
	and	eax, 1024
	test	eax, eax
	je	.L25
	mov	eax, 12
	jmp	.L26
.L25:
	mov	eax, 0
.L26:
	mov	DWORD PTR -144[rbp], eax
.L24:
	cmp	DWORD PTR -144[rbp], 0
	je	.L17
	mov	eax, DWORD PTR -140[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	shmat@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], -1
	jne	.L27
	jmp	.L17
.L27:
	mov	ecx, DWORD PTR -144[rbp]
	mov	eax, DWORD PTR -140[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	shmctl@PLT
	test	eax, eax
	jns	.L28
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	warn@PLT
	add	DWORD PTR -148[rbp], 1
.L28:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	shmdt@PLT
.L17:
	add	QWORD PTR -168[rbp], 8
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L29
	mov	eax, DWORD PTR -148[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	shmmod, .-shmmod
	.section	.rodata
.LC5:
	.string	"/proc/%ld/ns/ipc"
.LC6:
	.string	"%s"
.LC7:
	.string	"Invalid option: -%c"
.LC8:
	.string	":hi:mqs"
.LC9:
	.string	"Invalid mode: %o"
.LC10:
	.string	"setns()"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 64
	mov	DWORD PTR -4148[rbp], edi
	mov	QWORD PTR -4160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -4120[rbp], 0
	mov	DWORD PTR -4132[rbp], 511
	mov	DWORD PTR -4128[rbp], -1
	mov	rax, QWORD PTR -4160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdi, rax
	call	__xpg_basename@PLT
	mov	QWORD PTR progname[rip], rax
	jmp	.L33
.L46:
	mov	eax, DWORD PTR -4124[rbp]
	sub	eax, 104
	cmp	eax, 11
	ja	.L34
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L36[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L36[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L36:
	.long	.L40-.L36
	.long	.L39-.L36
	.long	.L34-.L36
	.long	.L34-.L36
	.long	.L34-.L36
	.long	.L38-.L36
	.long	.L34-.L36
	.long	.L34-.L36
	.long	.L34-.L36
	.long	.L37-.L36
	.long	.L34-.L36
	.long	.L35-.L36
	.text
.L40:
	mov	edi, 0
	call	exit_usage
.L39:
	cmp	DWORD PTR -4128[rbp], -1
	je	.L41
	mov	edi, 1
	call	exit_usage
.L41:
	mov	rax, QWORD PTR optarg[rip]
	mov	esi, 10
	mov	rdi, rax
	call	xstrtoul@PLT
	mov	rdx, rax
	lea	rax, -4112[rbp]
	mov	rcx, rdx
	lea	rdx, .LC5[rip]
	mov	esi, 4096
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -4112[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4128[rbp], eax
	cmp	DWORD PTR -4128[rbp], 0
	jns	.L33
	lea	rax, -4112[rbp]
	mov	rdx, rax
	lea	rsi, .LC6[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L38:
	cmp	QWORD PTR -4120[rbp], 0
	je	.L43
	mov	edi, 1
	call	exit_usage
.L43:
	lea	rax, shmmod[rip]
	mov	QWORD PTR -4120[rbp], rax
	mov	DWORD PTR -4132[rbp], 2047
	jmp	.L33
.L35:
	cmp	QWORD PTR -4120[rbp], 0
	je	.L44
	mov	edi, 1
	call	exit_usage
.L44:
	lea	rax, semmod[rip]
	mov	QWORD PTR -4120[rbp], rax
	jmp	.L33
.L37:
	cmp	QWORD PTR -4120[rbp], 0
	je	.L45
	mov	edi, 1
	call	exit_usage
.L45:
	lea	rax, msgmod[rip]
	mov	QWORD PTR -4120[rbp], rax
	jmp	.L33
.L34:
	mov	eax, DWORD PTR optopt[rip]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	warn@PLT
	mov	edi, 1
	call	exit_usage
.L33:
	mov	rcx, QWORD PTR -4160[rbp]
	mov	eax, DWORD PTR -4148[rbp]
	lea	rdx, .LC8[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4124[rbp], eax
	cmp	DWORD PTR -4124[rbp], -1
	jne	.L46
	cmp	QWORD PTR -4120[rbp], 0
	jne	.L47
	mov	edi, 1
	call	exit_usage
.L47:
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -4148[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -4160[rbp], rax
	cmp	DWORD PTR -4148[rbp], 1
	jg	.L48
	mov	edi, 1
	call	exit_usage
.L48:
	mov	rax, QWORD PTR -4160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 8
	mov	rdi, rax
	call	xstrtoul@PLT
	mov	WORD PTR -4134[rbp], ax
	movzx	eax, WORD PTR -4134[rbp]
	cmp	DWORD PTR -4132[rbp], eax
	jge	.L49
	movzx	eax, WORD PTR -4134[rbp]
	mov	edx, eax
	lea	rsi, .LC9[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L49:
	cmp	DWORD PTR -4128[rbp], -1
	je	.L50
	mov	eax, DWORD PTR -4128[rbp]
	mov	esi, 134217728
	mov	edi, eax
	call	setns@PLT
	test	eax, eax
	jns	.L50
	lea	rdx, .LC10[rip]
	lea	rsi, .LC6[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L50:
	mov	eax, DWORD PTR -4132[rbp]
	mov	edx, eax
	movzx	eax, WORD PTR -4134[rbp]
	and	eax, edx
	movzx	edx, ax
	mov	rax, QWORD PTR -4160[rbp]
	mov	rcx, QWORD PTR -4120[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	setne	al
	movzx	eax, al
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE10:
	.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	"175142984.c"
	.text
	.local	progname
	.comm	progname,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s [-i PID] -m|-q|-s MODE SHMID|MSQID|SEMID."
	.ascii	"..\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exit_usage, %function
exit_usage:
	@ 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	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L4
	ldr	r3, [r3]
	b	.L3
.L2:
	ldr	r3, .L4+4
	ldr	r3, [r3]
.L3:
	str	r3, [fp, #-8]
	ldr	r3, .L4+8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L4+12
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r0, [fp, #-16]
	bl	exit
.L5:
	.align	2
.L4:
	.word	stderr
	.word	stdout
	.word	progname
	.word	.LC0
	.size	exit_usage, .-exit_usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"IPC_STAT: %d\000"
	.align	2
.LC2:
	.ascii	"IPC_SET: %d\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	msgmod, %function
msgmod:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	mov	r3, r1
	strh	r3, [fp, #-114]	@ movhi
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L7
.L9:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	xstrtoul
	mov	r3, r0
	str	r3, [fp, #-100]
	sub	r3, fp, #96
	mov	r2, r3
	mov	r1, #2
	ldr	r0, [fp, #-100]
	bl	msgctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L8
	ldr	r1, [fp, #-100]
	ldr	r0, .L12+4
	bl	warn
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
	b	.L7
.L8:
	ldrh	r3, [fp, #-114]
	str	r3, [fp, #-76]
	sub	r3, fp, #96
	mov	r2, r3
	mov	r1, #1
	ldr	r0, [fp, #-100]
	bl	msgctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L7
	ldr	r1, [fp, #-100]
	ldr	r0, .L12+8
	bl	warn
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L7:
	ldr	r3, [fp, #-112]
	add	r3, r3, #4
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-104]
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	msgmod, .-msgmod
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	semmod, %function
semmod:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	mov	r3, r1
	strh	r3, [fp, #-90]	@ movhi
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L15
.L17:
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	xstrtoul
	mov	r3, r0
	str	r3, [fp, #-76]
	sub	r3, fp, #72
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-76]
	bl	semctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L16
	ldr	r1, [fp, #-76]
	ldr	r0, .L20+4
	bl	warn
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
	b	.L15
.L16:
	ldrh	r3, [fp, #-90]
	str	r3, [fp, #-52]
	sub	r3, fp, #72
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-76]
	bl	semctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L15
	ldr	r1, [fp, #-76]
	ldr	r0, .L20+8
	bl	warn
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L15:
	ldr	r3, [fp, #-88]
	add	r3, r3, #4
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-80]
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.size	semmod, .-semmod
	.section	.rodata
	.align	2
.LC5:
	.ascii	"IPC_RMID: %d\000"
	.align	2
.LC6:
	.ascii	"SHM_LOCK: %d\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shmmod, %function
shmmod:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	mov	r3, r1
	strh	r3, [fp, #-114]	@ movhi
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L23
.L35:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	xstrtoul
	mov	r3, r0
	str	r3, [fp, #-100]
	sub	r3, fp, #92
	mov	r2, r3
	mov	r1, #2
	ldr	r0, [fp, #-100]
	bl	shmctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L24
	ldr	r1, [fp, #-100]
	ldr	r0, .L38+4
	bl	warn
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
	b	.L23
.L24:
	ldrh	r3, [fp, #-114]
	str	r3, [fp, #-72]
	sub	r3, fp, #92
	mov	r2, r3
	mov	r1, #1
	ldr	r0, [fp, #-100]
	bl	shmctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L25
	ldr	r1, [fp, #-100]
	ldr	r0, .L38+8
	bl	warn
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L25:
	ldrh	r3, [fp, #-114]
	and	r3, r3, #512
	cmp	r3, #0
	beq	.L26
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-100]
	bl	shmctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L26
	ldr	r1, [fp, #-100]
	ldr	r0, .L38+12
	bl	warn
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L26:
	ldrh	r3, [fp, #-114]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-72]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L28
	mov	r3, #0
	b	.L29
.L28:
	mov	r3, #11
.L29:
	str	r3, [fp, #-104]
	b	.L30
.L27:
	ldr	r3, [fp, #-72]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L31
	mov	r3, #12
	b	.L32
.L31:
	mov	r3, #0
.L32:
	str	r3, [fp, #-104]
.L30:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L23
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-100]
	bl	shmat
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmn	r3, #1
	bne	.L33
	b	.L23
.L33:
	mov	r2, #0
	ldr	r1, [fp, #-104]
	ldr	r0, [fp, #-100]
	bl	shmctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L34
	ldr	r1, [fp, #-100]
	ldr	r0, .L38+16
	bl	warn
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L34:
	ldr	r0, [fp, #-96]
	bl	shmdt
.L23:
	ldr	r3, [fp, #-112]
	add	r3, r3, #4
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-108]
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC7
	.word	.LC1
	.word	.LC2
	.word	.LC5
	.word	.LC6
	.size	shmmod, .-shmmod
	.section	.rodata
	.align	2
.LC8:
	.ascii	"/proc/%ld/ns/ipc\000"
	.align	2
.LC9:
	.ascii	"%s\000"
	.align	2
.LC10:
	.ascii	"Invalid option: -%c\000"
	.align	2
.LC11:
	.ascii	":hi:mqs\000"
	.align	2
.LC12:
	.ascii	"Invalid mode: %o\000"
	.align	2
.LC13:
	.ascii	"setns()\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-32]
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L60+4
	str	r3, [r2, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r0, r3
	bl	__xpg_basename
	mov	r3, r0
	ldr	r2, .L60+8
	str	r3, [r2]
	b	.L41
.L54:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	sub	r3, r3, #104
	cmp	r3, #11
	ldrls	pc, [pc, r3, asl #2]
	b	.L42
.L44:
	.word	.L48
	.word	.L47
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L46
	.word	.L42
	.word	.L42
	.word	.L42
	.word	.L45
	.word	.L42
	.word	.L43
.L48:
	mov	r0, #0
	bl	exit_usage
.L47:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmn	r3, #1
	beq	.L49
	mov	r0, #1
	bl	exit_usage
.L49:
	ldr	r3, .L60+12
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	xstrtoul
	mov	r3, r0
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L60+16
	mov	r1, #4096
	bl	snprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [r4, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bge	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L60+20
	mov	r0, #1
	bl	err
.L46:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	beq	.L51
	mov	r0, #1
	bl	exit_usage
.L51:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L60+24
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L60+28
	str	r3, [r2, #-16]
	b	.L41
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	beq	.L52
	mov	r0, #1
	bl	exit_usage
.L52:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L60+32
	str	r3, [r2, #-20]
	b	.L41
.L45:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	beq	.L53
	mov	r0, #1
	bl	exit_usage
.L53:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L60+36
	str	r3, [r2, #-20]
	b	.L41
.L42:
	ldr	r3, .L60+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L60+44
	bl	warn
	mov	r0, #1
	bl	exit_usage
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, .L60+48
	ldr	r1, [r1, #-32]
	ldr	r0, [r3, #-28]
	bl	getopt
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmn	r3, #1
	bne	.L54
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bne	.L55
	mov	r0, #1
	bl	exit_usage
.L55:
	ldr	r3, .L60+52
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-28]
	sub	r3, r2, r3
	str	r3, [r1, #-28]
	ldr	r3, .L60+52
	ldr	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-32]
	add	r3, r2, r3
	str	r3, [r1, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #1
	bgt	.L56
	mov	r0, #1
	bl	exit_usage
.L56:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldr	r3, [r3]
	mov	r1, #8
	mov	r0, r3
	bl	xstrtoul
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	strh	r3, [r2, #-22]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrh	r3, [r3, #-22]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-16]
	cmp	r2, r3
	bge	.L57
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrh	r3, [r3, #-22]
	mov	r2, r3
	ldr	r1, .L60+56
	mov	r0, #1
	bl	errx
.L57:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmn	r3, #1
	beq	.L58
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #134217728
	ldr	r0, [r3, #-12]
	bl	setns
	mov	r3, r0
	cmp	r3, #0
	bge	.L58
	ldr	r2, .L60+60
	ldr	r1, .L60+20
	mov	r0, #1
	bl	err
.L58:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrsh	r3, [r3, #-22]
	and	r3, r3, r2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	mov	r1, r2
	ldr	r0, [r0, #-32]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	exit
.L61:
	.align	2
.L60:
	.word	.LC14
	.word	511
	.word	progname
	.word	optarg
	.word	.LC8
	.word	.LC9
	.word	shmmod
	.word	2047
	.word	semmod
	.word	msgmod
	.word	optopt
	.word	.LC10
	.word	.LC11
	.word	optind
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
