	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zero_out_mutable_opts
_zero_out_mutable_opts:                 ## @zero_out_mutable_opts
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_ipv6_optlen
                                        ## kill: def $eax killed $eax def $rax
	leal	-2(%rax), %r15d
	cmpl	$3, %eax
	jl	LBB0_8
## %bb.1:
	movl	$2, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%r12d, %ebx
	subl	%r12d, %r15d
	jle	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rax
	movl	(%r14,%rax,4), %ecx
	movl	$1, %r12d
	cmpl	$128, %ecx
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %r15d
	jb	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14,%rax,4), %edx
	leal	2(%rdx), %r12d
	cmpl	%r12d, %r15d
	jl	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	$32, %cl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%rax,4), %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	jmp	LBB0_7
LBB0_8:
	testl	%r15d, %r15d
	je	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_9:
	movl	$1, %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_zero_out_mutable_opts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zero_out_mutable_opts
_zero_out_mutable_opts:                 ; @zero_out_mutable_opts
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_ipv6_optlen
	sub	w20, w0, #2
	cmp	w0, #3
	b.lt	LBB0_9
; %bb.1:
	mov	w8, #2
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w22, w21
	sub	w20, w20, w22
	cmp	w20, #0
	b.le	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x21, w8
	ldr	w8, [x19, w8, sxtw #2]
	cmp	w8, #128
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #2
	b.lo	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x19, x21, lsl #2
	ldr	w2, [x9, #4]
	add	w22, w2, #2
	cmp	w20, w22
	b.lt	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w8, #5, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x19, x21, lsl #2
	add	x0, x8, #8
	mov	w1, #0
	bl	_memset
	b	LBB0_3
LBB0_9:
	cbz	w20, LBB0_11
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_zero_out_mutable_opts
.subsections_via_symbols
