	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipv6_update_options
_ipv6_update_options:                   ## @ipv6_update_options
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_inet_sk
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.1:
	testq	%r14, %r14
	je	LBB0_5
## %bb.2:
	movq	_TCPF_LISTEN@GOTPCREL(%rip), %rax
	movq	_TCPF_CLOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%r15), %eax
	btl	%eax, %ecx
	jb	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_inet_sk
	movq	(%rax), %rax
	movq	_LOOPBACK4_IPV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_inet_csk
	movq	(%r14), %rcx
	addq	8(%r14), %rcx
	movq	%rcx, 16(%rax)
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	*8(%rax)
LBB0_5:
	movq	%r15, %rdi
	callq	_inet6_sk
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_xchg
	movq	%rax, %rbx
	jmp	LBB0_7
LBB0_6:
	leaq	4(%r15), %r12
	movq	%r12, %rdi
	callq	_write_lock
	movq	%r15, %rdi
	callq	_inet6_sk
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_xchg
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_write_unlock
LBB0_7:
	movq	%r15, %rdi
	callq	_sk_dst_reset
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPF_LISTEN,4,2                ## @TCPF_LISTEN
	.comm	_TCPF_CLOSE,4,2                 ## @TCPF_CLOSE
	.comm	_LOOPBACK4_IPV6,8,3             ## @LOOPBACK4_IPV6
	.no_dead_strip	_ipv6_update_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipv6_update_options
_ipv6_update_options:                   ; @ipv6_update_options
	.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	x20, x1
	mov	x19, x0
	bl	_inet_sk
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.1:
	cbz	x20, LBB0_5
; %bb.2:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _TCPF_LISTEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCPF_LISTEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _TCPF_CLOSE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TCPF_CLOSE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	lsr	w8, w9, w8
	tbnz	w8, #0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_inet_sk
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _LOOPBACK4_IPV6@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LOOPBACK4_IPV6@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_inet_csk
	ldp	x9, x8, [x20]
	add	x8, x9, x8
	str	x8, [x0, #16]
	ldr	x8, [x0, #8]
	ldr	w1, [x0]
	mov	x0, x19
	blr	x8
LBB0_5:
	mov	x0, x19
	bl	_inet6_sk
	mov	x1, x20
	bl	_xchg
	mov	x20, x0
	b	LBB0_7
LBB0_6:
	add	x21, x19, #4
	mov	x0, x21
	bl	_write_lock
	mov	x0, x19
	bl	_inet6_sk
	mov	x1, x20
	bl	_xchg
	mov	x20, x0
	mov	x0, x21
	bl	_write_unlock
LBB0_7:
	mov	x0, x19
	bl	_sk_dst_reset
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPF_LISTEN,4,2                ; @TCPF_LISTEN
	.comm	_TCPF_CLOSE,4,2                 ; @TCPF_CLOSE
	.comm	_LOOPBACK4_IPV6,8,3             ; @LOOPBACK4_IPV6
	.no_dead_strip	_ipv6_update_options
.subsections_via_symbols
