	.file	"756695.c"
	.intel_syntax noprefix
	.text
	.local	ic6f_passall
	.comm	ic6f_passall,32,32
	.local	ic6f_blockall
	.comm	ic6f_blockall,32,32
	.section	.rodata
.LC0:
	.string	"socket(PF_INET6, SOCK_RAW, 0)"
.LC1:
	.string	"1: getsockopt(ICMP6_FILTER)"
	.align 8
.LC2:
	.string	"1: getsockopt(ICMP6_FILTER) - default not passall"
	.align 8
.LC3:
	.string	"2: setsockopt(ICMP6_FILTER, PASSALL)"
.LC4:
	.string	"3: getsockopt(ICMP6_FILTER)"
	.align 8
.LC5:
	.string	"3: getsockopt(ICMP6_FILTER) - not passall"
	.align 8
.LC6:
	.string	"4: setsockopt(ICMP6_FILTER, BLOCKALL)"
.LC7:
	.string	"5: getsockopt(ICMP6_FILTER)"
	.align 8
.LC8:
	.string	"5: getsockopt(ICMP6_FILTER) - not blockall"
	.align 8
.LC9:
	.string	"6: setsockopt(ICMP6_FILTER, PASSALL)"
.LC10:
	.string	"7: getsockopt(ICMP6_FILTER)"
	.align 8
.LC11:
	.string	"7: getsockopt(ICMP6_FILTER) - not passall"
	.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 32
	mov	esi, 0
	lea	rdi, ic6f_passall[rip]
	call	memset@PLT
	mov	edx, 32
	mov	esi, 255
	lea	rdi, ic6f_blockall[rip]
	call	memset@PLT
	mov	edx, 0
	mov	esi, 3
	mov	edi, 10
	call	socket@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L2
	lea	rsi, .LC0[rip]
	mov	edi, -1
	mov	eax, 0
	call	err@PLT
.L2:
	mov	DWORD PTR -56[rbp], 32
	lea	rcx, -56[rbp]
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 58
	mov	edi, eax
	call	getsockopt@PLT
	test	eax, eax
	jns	.L3
	lea	rsi, .LC1[rip]
	mov	edi, -1
	mov	eax, 0
	call	err@PLT
.L3:
	lea	rax, -48[rbp]
	mov	edx, 32
	lea	rsi, ic6f_passall[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L4
	lea	rsi, .LC2[rip]
	mov	edi, -1
	mov	eax, 0
	call	errx@PLT
.L4:
	mov	DWORD PTR -56[rbp], 32
	lea	rax, -48[rbp]
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	ecx, DWORD PTR -56[rbp]
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 58
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L5
	lea	rsi, .LC3[rip]
	mov	edi, -1
	mov	eax, 0
	call	err@PLT
.L5:
	mov	DWORD PTR -56[rbp], 32
	lea	rcx, -56[rbp]
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 58
	mov	edi, eax
	call	getsockopt@PLT
	test	eax, eax
	jns	.L6
	lea	rsi, .LC4[rip]
	mov	edi, -1
	mov	eax, 0
	call	err@PLT
.L6:
	lea	rax, -48[rbp]
	mov	edx, 32
	lea	rsi, ic6f_passall[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L7
	lea	rsi, .LC5[rip]
	mov	edi, -1
	mov	eax, 0
	call	errx@PLT
.L7:
	mov	DWORD PTR -56[rbp], 32
	lea	rax, -48[rbp]
	mov	edx, 32
	mov	esi, 255
	mov	rdi, rax
	call	memset@PLT
	mov	ecx, DWORD PTR -56[rbp]
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 58
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L8
	lea	rsi, .LC6[rip]
	mov	edi, -1
	mov	eax, 0
	call	err@PLT
.L8:
	mov	DWORD PTR -56[rbp], 32
	lea	rcx, -56[rbp]
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 58
	mov	edi, eax
	call	getsockopt@PLT
	test	eax, eax
	jns	.L9
	lea	rsi, .LC7[rip]
	mov	edi, -1
	mov	eax, 0
	call	err@PLT
.L9:
	lea	rax, -48[rbp]
	mov	edx, 32
	lea	rsi, ic6f_blockall[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L10
	lea	rsi, .LC8[rip]
	mov	edi, -1
	mov	eax, 0
	call	errx@PLT
.L10:
	mov	DWORD PTR -56[rbp], 32
	lea	rax, -48[rbp]
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	ecx, DWORD PTR -56[rbp]
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 58
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L11
	lea	rsi, .LC9[rip]
	mov	edi, -1
	mov	eax, 0
	call	err@PLT
.L11:
	mov	DWORD PTR -56[rbp], 32
	lea	rcx, -56[rbp]
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 58
	mov	edi, eax
	call	getsockopt@PLT
	test	eax, eax
	jns	.L12
	lea	rsi, .LC10[rip]
	mov	edi, -1
	mov	eax, 0
	call	err@PLT
.L12:
	lea	rax, -48[rbp]
	mov	edx, 32
	lea	rsi, ic6f_passall[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L13
	lea	rsi, .LC11[rip]
	mov	edi, -1
	mov	eax, 0
	call	errx@PLT
.L13:
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	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
.LFE6:
	.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	"756695.c"
	.text
	.local	ic6f_passall
	.comm	ic6f_passall,32,4
	.local	ic6f_blockall
	.comm	ic6f_blockall,32,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"socket(PF_INET6, SOCK_RAW, 0)\000"
	.align	2
.LC1:
	.ascii	"1: getsockopt(ICMP6_FILTER)\000"
	.align	2
.LC2:
	.ascii	"1: getsockopt(ICMP6_FILTER) - default not passall\000"
	.align	2
.LC3:
	.ascii	"2: setsockopt(ICMP6_FILTER, PASSALL)\000"
	.align	2
.LC4:
	.ascii	"3: getsockopt(ICMP6_FILTER)\000"
	.align	2
.LC5:
	.ascii	"3: getsockopt(ICMP6_FILTER) - not passall\000"
	.align	2
.LC6:
	.ascii	"4: setsockopt(ICMP6_FILTER, BLOCKALL)\000"
	.align	2
.LC7:
	.ascii	"5: getsockopt(ICMP6_FILTER)\000"
	.align	2
.LC8:
	.ascii	"5: getsockopt(ICMP6_FILTER) - not blockall\000"
	.align	2
.LC9:
	.ascii	"6: setsockopt(ICMP6_FILTER, PASSALL)\000"
	.align	2
.LC10:
	.ascii	"7: getsockopt(ICMP6_FILTER)\000"
	.align	2
.LC11:
	.ascii	"7: getsockopt(ICMP6_FILTER) - not passall\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #32
	mov	r1, #0
	ldr	r0, .L16+4
	bl	memset
	mov	r2, #32
	mov	r1, #255
	ldr	r0, .L16+8
	bl	memset
	mov	r2, #0
	mov	r1, #3
	mov	r0, #10
	bl	socket
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L2
	ldr	r1, .L16+12
	mvn	r0, #0
	bl	err
.L2:
	mov	r3, #32
	str	r3, [fp, #-48]
	sub	r2, fp, #40
	sub	r3, fp, #48
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #1
	mov	r1, #58
	ldr	r0, [fp, #-44]
	bl	getsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L3
	ldr	r1, .L16+16
	mvn	r0, #0
	bl	err
.L3:
	sub	r3, fp, #40
	mov	r2, #32
	ldr	r1, .L16+4
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r1, .L16+20
	mvn	r0, #0
	bl	errx
.L4:
	mov	r3, #32
	str	r3, [fp, #-48]
	sub	r3, fp, #40
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-48]
	sub	r2, fp, #40
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #1
	mov	r1, #58
	ldr	r0, [fp, #-44]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r1, .L16+24
	mvn	r0, #0
	bl	err
.L5:
	mov	r3, #32
	str	r3, [fp, #-48]
	sub	r2, fp, #40
	sub	r3, fp, #48
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #1
	mov	r1, #58
	ldr	r0, [fp, #-44]
	bl	getsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L6
	ldr	r1, .L16+28
	mvn	r0, #0
	bl	err
.L6:
	sub	r3, fp, #40
	mov	r2, #32
	ldr	r1, .L16+4
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r1, .L16+32
	mvn	r0, #0
	bl	errx
.L7:
	mov	r3, #32
	str	r3, [fp, #-48]
	sub	r3, fp, #40
	mov	r2, #32
	mov	r1, #255
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-48]
	sub	r2, fp, #40
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #1
	mov	r1, #58
	ldr	r0, [fp, #-44]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L8
	ldr	r1, .L16+36
	mvn	r0, #0
	bl	err
.L8:
	mov	r3, #32
	str	r3, [fp, #-48]
	sub	r2, fp, #40
	sub	r3, fp, #48
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #1
	mov	r1, #58
	ldr	r0, [fp, #-44]
	bl	getsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L9
	ldr	r1, .L16+40
	mvn	r0, #0
	bl	err
.L9:
	sub	r3, fp, #40
	mov	r2, #32
	ldr	r1, .L16+8
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r1, .L16+44
	mvn	r0, #0
	bl	errx
.L10:
	mov	r3, #32
	str	r3, [fp, #-48]
	sub	r3, fp, #40
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-48]
	sub	r2, fp, #40
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #1
	mov	r1, #58
	ldr	r0, [fp, #-44]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L11
	ldr	r1, .L16+48
	mvn	r0, #0
	bl	err
.L11:
	mov	r3, #32
	str	r3, [fp, #-48]
	sub	r2, fp, #40
	sub	r3, fp, #48
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #1
	mov	r1, #58
	ldr	r0, [fp, #-44]
	bl	getsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L12
	ldr	r1, .L16+52
	mvn	r0, #0
	bl	err
.L12:
	sub	r3, fp, #40
	mov	r2, #32
	ldr	r1, .L16+4
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r1, .L16+56
	mvn	r0, #0
	bl	errx
.L13:
	ldr	r0, [fp, #-44]
	bl	close
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC12
	.word	ic6f_passall
	.word	ic6f_blockall
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
