	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ic6f_passall@GOTPCREL(%rip), %rdi
	callq	_ICMP6_FILTER_SETPASSALL
	movq	_ic6f_blockall@GOTPCREL(%rip), %rdi
	callq	_ICMP6_FILTER_SETBLOCKALL
	movq	_PF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_2:
	movl	$4, -36(%rbp)
	movq	_IPPROTO_ICMPV6@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_ICMP6_FILTER@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-40(%rbp), %rcx
	leaq	-36(%rbp), %r8
	movl	%r14d, %edi
	callq	_getsockopt
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_4:
	movq	_ic6f_passall@GOTPCREL(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movl	$-1, %edi
	callq	_errx
LBB0_6:
	movl	$4, -36(%rbp)
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ICMP6_FILTER_SETPASSALL
	movl	(%r15), %esi
	movl	(%r12), %edx
	movl	-36(%rbp), %r8d
	movl	%r14d, %edi
	movq	%rbx, %rcx
	callq	_setsockopt
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_8:
	movl	$4, -36(%rbp)
	movl	(%r15), %esi
	movl	(%r12), %edx
	leaq	-40(%rbp), %rcx
	leaq	-36(%rbp), %r8
	movl	%r14d, %edi
	callq	_getsockopt
	testq	%rax, %rax
	jns	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_10:
	movq	_ic6f_passall@GOTPCREL(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	movl	$-1, %edi
	callq	_errx
LBB0_12:
	movl	$4, -36(%rbp)
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ICMP6_FILTER_SETBLOCKALL
	movl	(%r15), %esi
	movl	(%r12), %edx
	movl	-36(%rbp), %r8d
	movl	%r14d, %edi
	movq	%rbx, %rcx
	callq	_setsockopt
	testq	%rax, %rax
	jns	LBB0_14
## %bb.13:
	leaq	L_.str.6(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_14:
	movl	$4, -36(%rbp)
	movl	(%r15), %esi
	movl	(%r12), %edx
	leaq	-40(%rbp), %rcx
	leaq	-36(%rbp), %r8
	movl	%r14d, %edi
	callq	_getsockopt
	testq	%rax, %rax
	jns	LBB0_16
## %bb.15:
	leaq	L_.str.7(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_16:
	movq	_ic6f_blockall@GOTPCREL(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.8(%rip), %rsi
	movl	$-1, %edi
	callq	_errx
LBB0_18:
	movl	$4, -36(%rbp)
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ICMP6_FILTER_SETPASSALL
	movl	(%r15), %esi
	movl	(%r12), %edx
	movl	-36(%rbp), %r8d
	movl	%r14d, %edi
	movq	%rbx, %rcx
	callq	_setsockopt
	testq	%rax, %rax
	jns	LBB0_20
## %bb.19:
	leaq	L_.str.9(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_20:
	movl	$4, -36(%rbp)
	movl	(%r15), %esi
	movl	(%r12), %edx
	leaq	-40(%rbp), %rcx
	leaq	-36(%rbp), %r8
	movl	%r14d, %edi
	callq	_getsockopt
	testq	%rax, %rax
	jns	LBB0_22
## %bb.21:
	leaq	L_.str.10(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_22:
	movq	_ic6f_passall@GOTPCREL(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	leaq	L_.str.11(%rip), %rsi
	movl	$-1, %edi
	callq	_errx
LBB0_24:
	movl	%r14d, %edi
	callq	_close
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ic6f_passall,4,2               ## @ic6f_passall
	.comm	_ic6f_blockall,4,2              ## @ic6f_blockall
	.comm	_PF_INET6,4,2                   ## @PF_INET6
	.comm	_SOCK_RAW,4,2                   ## @SOCK_RAW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"socket(PF_INET6, SOCK_RAW, 0)"

	.comm	_IPPROTO_ICMPV6,4,2             ## @IPPROTO_ICMPV6
	.comm	_ICMP6_FILTER,4,2               ## @ICMP6_FILTER
L_.str.1:                               ## @.str.1
	.asciz	"1: getsockopt(ICMP6_FILTER)"

L_.str.2:                               ## @.str.2
	.asciz	"1: getsockopt(ICMP6_FILTER) - default not passall"

L_.str.3:                               ## @.str.3
	.asciz	"2: setsockopt(ICMP6_FILTER, PASSALL)"

L_.str.4:                               ## @.str.4
	.asciz	"3: getsockopt(ICMP6_FILTER)"

L_.str.5:                               ## @.str.5
	.asciz	"3: getsockopt(ICMP6_FILTER) - not passall"

L_.str.6:                               ## @.str.6
	.asciz	"4: setsockopt(ICMP6_FILTER, BLOCKALL)"

L_.str.7:                               ## @.str.7
	.asciz	"5: getsockopt(ICMP6_FILTER)"

L_.str.8:                               ## @.str.8
	.asciz	"5: getsockopt(ICMP6_FILTER) - not blockall"

L_.str.9:                               ## @.str.9
	.asciz	"6: setsockopt(ICMP6_FILTER, PASSALL)"

L_.str.10:                              ## @.str.10
	.asciz	"7: getsockopt(ICMP6_FILTER)"

L_.str.11:                              ## @.str.11
	.asciz	"7: getsockopt(ICMP6_FILTER) - not passall"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x0, _ic6f_passall@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ic6f_passall@GOTPAGEOFF]
	bl	_ICMP6_FILTER_SETPASSALL
Lloh2:
	adrp	x0, _ic6f_blockall@GOTPAGE
Lloh3:
	ldr	x0, [x0, _ic6f_blockall@GOTPAGEOFF]
	bl	_ICMP6_FILTER_SETBLOCKALL
Lloh4:
	adrp	x8, _PF_INET6@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PF_INET6@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _SOCK_RAW@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOCK_RAW@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	mov	x19, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_2:
	mov	w8, #4
	str	w8, [sp, #4]
Lloh12:
	adrp	x20, _IPPROTO_ICMPV6@GOTPAGE
Lloh13:
	ldr	x20, [x20, _IPPROTO_ICMPV6@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh14:
	adrp	x21, _ICMP6_FILTER@GOTPAGE
Lloh15:
	ldr	x21, [x21, _ICMP6_FILTER@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x19
	bl	_getsockopt
	tbz	x0, #63, LBB0_4
; %bb.3:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_4:
Lloh18:
	adrp	x1, _ic6f_passall@GOTPAGE
Lloh19:
	ldr	x1, [x1, _ic6f_passall@GOTPAGEOFF]
	mov	w22, #4
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_6
; %bb.5:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #-1
	bl	_errx
LBB0_6:
	str	w22, [sp, #4]
	add	x0, sp, #8
	bl	_ICMP6_FILTER_SETPASSALL
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w4, [sp, #4]
	add	x3, sp, #8
	mov	x0, x19
	bl	_setsockopt
	tbz	x0, #63, LBB0_8
; %bb.7:
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_8:
	mov	w8, #4
	str	w8, [sp, #4]
	ldr	w1, [x20]
	ldr	w2, [x21]
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x19
	bl	_getsockopt
	tbz	x0, #63, LBB0_10
; %bb.9:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_10:
Lloh26:
	adrp	x1, _ic6f_passall@GOTPAGE
Lloh27:
	ldr	x1, [x1, _ic6f_passall@GOTPAGEOFF]
	mov	w22, #4
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_12
; %bb.11:
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #-1
	bl	_errx
LBB0_12:
	str	w22, [sp, #4]
	add	x0, sp, #8
	bl	_ICMP6_FILTER_SETBLOCKALL
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w4, [sp, #4]
	add	x3, sp, #8
	mov	x0, x19
	bl	_setsockopt
	tbz	x0, #63, LBB0_14
; %bb.13:
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_14:
	mov	w8, #4
	str	w8, [sp, #4]
	ldr	w1, [x20]
	ldr	w2, [x21]
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x19
	bl	_getsockopt
	tbz	x0, #63, LBB0_16
; %bb.15:
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_16:
Lloh34:
	adrp	x1, _ic6f_blockall@GOTPAGE
Lloh35:
	ldr	x1, [x1, _ic6f_blockall@GOTPAGEOFF]
	mov	w22, #4
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_18
; %bb.17:
Lloh36:
	adrp	x1, l_.str.8@PAGE
Lloh37:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #-1
	bl	_errx
LBB0_18:
	str	w22, [sp, #4]
	add	x0, sp, #8
	bl	_ICMP6_FILTER_SETPASSALL
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w4, [sp, #4]
	add	x3, sp, #8
	mov	x0, x19
	bl	_setsockopt
	tbz	x0, #63, LBB0_20
; %bb.19:
Lloh38:
	adrp	x1, l_.str.9@PAGE
Lloh39:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_20:
	mov	w8, #4
	str	w8, [sp, #4]
	ldr	w1, [x20]
	ldr	w2, [x21]
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x19
	bl	_getsockopt
	tbz	x0, #63, LBB0_22
; %bb.21:
Lloh40:
	adrp	x1, l_.str.10@PAGE
Lloh41:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_22:
Lloh42:
	adrp	x1, _ic6f_passall@GOTPAGE
Lloh43:
	ldr	x1, [x1, _ic6f_passall@GOTPAGEOFF]
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_24
; %bb.23:
Lloh44:
	adrp	x1, l_.str.11@PAGE
Lloh45:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w0, #-1
	bl	_errx
LBB0_24:
	mov	x0, x19
	bl	_close
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_ic6f_passall,4,2               ; @ic6f_passall
	.comm	_ic6f_blockall,4,2              ; @ic6f_blockall
	.comm	_PF_INET6,4,2                   ; @PF_INET6
	.comm	_SOCK_RAW,4,2                   ; @SOCK_RAW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"socket(PF_INET6, SOCK_RAW, 0)"

	.comm	_IPPROTO_ICMPV6,4,2             ; @IPPROTO_ICMPV6
	.comm	_ICMP6_FILTER,4,2               ; @ICMP6_FILTER
l_.str.1:                               ; @.str.1
	.asciz	"1: getsockopt(ICMP6_FILTER)"

l_.str.2:                               ; @.str.2
	.asciz	"1: getsockopt(ICMP6_FILTER) - default not passall"

l_.str.3:                               ; @.str.3
	.asciz	"2: setsockopt(ICMP6_FILTER, PASSALL)"

l_.str.4:                               ; @.str.4
	.asciz	"3: getsockopt(ICMP6_FILTER)"

l_.str.5:                               ; @.str.5
	.asciz	"3: getsockopt(ICMP6_FILTER) - not passall"

l_.str.6:                               ; @.str.6
	.asciz	"4: setsockopt(ICMP6_FILTER, BLOCKALL)"

l_.str.7:                               ; @.str.7
	.asciz	"5: getsockopt(ICMP6_FILTER)"

l_.str.8:                               ; @.str.8
	.asciz	"5: getsockopt(ICMP6_FILTER) - not blockall"

l_.str.9:                               ; @.str.9
	.asciz	"6: setsockopt(ICMP6_FILTER, PASSALL)"

l_.str.10:                              ; @.str.10
	.asciz	"7: getsockopt(ICMP6_FILTER)"

l_.str.11:                              ; @.str.11
	.asciz	"7: getsockopt(ICMP6_FILTER) - not passall"

.subsections_via_symbols
