	.file	"168975.c"
	.intel_syntax noprefix
	.text
	.globl	marker1
	.type	marker1, @function
marker1:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	marker1, .-marker1
	.globl	marker2
	.type	marker2, @function
marker2:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	marker2, .-marker2
	.globl	wdata
	.data
	.type	wdata, @object
	.size	wdata, 7
wdata:
	.string	"abcdef"
	.globl	wv
	.section	.data.rel.local,"aw"
	.align 16
	.type	wv, @object
	.size	wv, 16
wv:
	.quad	wdata
	.quad	6
	.globl	wc
	.bss
	.align 32
	.type	wc, @object
	.size	wc, 56
wc:
	.zero	56
	.globl	wmsg
	.section	.data.rel.local
	.align 32
	.type	wmsg, @object
	.size	wmsg, 56
wmsg:
	.quad	0
	.long	0
	.zero	4
	.quad	wv
	.quad	1
	.quad	wc
	.quad	56
	.long	0
	.zero	4
	.globl	rdata
	.data
	.type	rdata, @object
	.size	rdata, 5
rdata:
	.string	"xxxx"
	.globl	rv
	.section	.data.rel.local
	.align 32
	.type	rv, @object
	.size	rv, 32
rv:
	.quad	rdata+2
	.quad	2
	.quad	rdata
	.quad	2
	.globl	rc
	.bss
	.align 32
	.type	rc, @object
	.size	rc, 39
rc:
	.zero	39
	.globl	rmsg
	.section	.data.rel.local
	.align 32
	.type	rmsg, @object
	.size	rmsg, 56
rmsg:
	.quad	0
	.long	0
	.zero	4
	.quad	rv
	.quad	2
	.quad	rc
	.quad	39
	.long	0
	.zero	4
	.globl	fds
	.bss
	.align 8
	.type	fds, @object
	.size	fds, 8
fds:
	.zero	8
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 1
	mov	rax, QWORD PTR wmsg[rip+40]
	cmp	rax, 15
	jbe	.L4
	mov	rax, QWORD PTR wmsg[rip+32]
	jmp	.L5
.L4:
	mov	eax, 0
.L5:
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], 28
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 8[rax], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 12[rax], 2
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 16
	mov	QWORD PTR -32[rbp], rax
	call	getpid@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	DWORD PTR [rdx], eax
	call	getuid@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	DWORD PTR 4[rdx], eax
	call	getgid@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, wmsg[rip]
	call	__cmsg_nxthdr@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], 20
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 12[rax], 1
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 2
	call	marker1
	lea	rcx, fds[rip]
	mov	edx, 0
	mov	esi, 2
	mov	edi, 1
	call	socketpair@PLT
	mov	eax, DWORD PTR fds[rip]
	lea	rdx, -44[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 16
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	eax, DWORD PTR fds[rip+4]
	mov	edx, 0
	lea	rsi, wmsg[rip]
	mov	edi, eax
	call	sendmsg@PLT
	mov	eax, DWORD PTR fds[rip]
	mov	edx, 0
	lea	rsi, rmsg[rip]
	mov	edi, eax
	call	recvmsg@PLT
	call	marker2
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"168975.c"
	.text
	.align	2
	.global	marker1
	.syntax unified
	.arm
	.fpu softvfp
	.type	marker1, %function
marker1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	marker1, .-marker1
	.align	2
	.global	marker2
	.syntax unified
	.arm
	.fpu softvfp
	.type	marker2, %function
marker2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	marker2, .-marker2
	.global	wdata
	.data
	.align	2
	.type	wdata, %object
	.size	wdata, 7
wdata:
	.ascii	"abcdef\000"
	.global	wv
	.align	2
	.type	wv, %object
	.size	wv, 8
wv:
	.word	wdata
	.word	6
	.comm	wc,40,4
	.global	wmsg
	.align	2
	.type	wmsg, %object
	.size	wmsg, 28
wmsg:
	.word	0
	.word	0
	.word	wv
	.word	1
	.word	wc
	.word	40
	.word	0
	.global	rdata
	.align	2
	.type	rdata, %object
	.size	rdata, 5
rdata:
	.ascii	"xxxx\000"
	.global	rv
	.align	2
	.type	rv, %object
	.size	rv, 16
rv:
	.word	rdata+2
	.word	2
	.word	rdata
	.word	2
	.comm	rc,31,4
	.global	rmsg
	.align	2
	.type	rmsg, %object
	.size	rmsg, 28
rmsg:
	.word	0
	.word	0
	.word	rv
	.word	2
	.word	rc
	.word	31
	.word	0
	.comm	fds,8,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-28]
	ldr	r3, .L8+4
	ldr	r3, [r3, #20]
	cmp	r3, #11
	bls	.L4
	ldr	r3, .L8+4
	ldr	r3, [r3, #16]
	b	.L5
.L4:
	mov	r3, #0
.L5:
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r2, #24
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	mov	r2, #2
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	add	r3, r3, #12
	str	r3, [fp, #-20]
	bl	getpid
	mov	r2, r0
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	bl	getuid
	mov	r2, r0
	ldr	r3, [fp, #-20]
	str	r2, [r3, #4]
	bl	getgid
	mov	r2, r0
	ldr	r3, [fp, #-20]
	str	r2, [r3, #8]
	ldr	r1, [fp, #-24]
	ldr	r0, .L8+4
	bl	__cmsg_nxthdr
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #16
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r2, #2
	str	r2, [r3]
	bl	marker1
	ldr	r3, .L8+8
	mov	r2, #0
	mov	r1, #2
	mov	r0, #1
	bl	socketpair
	ldr	r3, .L8+8
	ldr	r0, [r3]
	sub	r3, fp, #28
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #16
	mov	r1, #1
	bl	setsockopt
	ldr	r3, .L8+8
	ldr	r3, [r3, #4]
	mov	r2, #0
	ldr	r1, .L8+4
	mov	r0, r3
	bl	sendmsg
	ldr	r3, .L8+8
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L8+12
	mov	r0, r3
	bl	recvmsg
	bl	marker2
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	wmsg
	.word	fds
	.word	rmsg
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
