	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_v6_connect
_tcp_v6_connect:                        ## @tcp_v6_connect
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	callq	_inet_sk
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_inet_csk
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_inet6_sk
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_tcp_sk
	movq	_SIN6_LEN_RFC2133@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_2:
	movl	%r15d, -88(%rbp)                ## 4-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rdx
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_11
## %bb.3:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-192(%rbp), %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	cmpq	$0, 64(%rbx)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %r12
	je	LBB0_7
## %bb.4:
	movq	_IPV6_FLOWINFO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	8(%r15), %edi
	movl	%edi, -192(%rbp)
	callq	_IP6_ECN_flow_init
	movl	-192(%rbp), %esi
	movq	_IPV6_FLOWLABEL_MASK@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_7
## %bb.5:
	movq	%r15, %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_fl6_sock_lookup
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	%rax, %r15
	leaq	32(%r14), %rdi
	movq	%rax, %rsi
	callq	_ipv6_addr_copy
	movq	%r15, %rdi
	callq	_fl6_sock_release
	movq	%r14, %r15
LBB0_7:
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	leaq	32(%r15), %r12
	movq	%r12, %rdi
	callq	_ipv6_addr_any
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r12), %rax
	movl	$1, 60(%rax)
LBB0_9:
	movq	%r12, %rdi
	callq	_ipv6_addr_type
	movl	%eax, %ebx
	movq	_IPV6_ADDR_MULTICAST@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	je	LBB0_14
LBB0_10:
	movq	_ENETUNREACH@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
LBB0_12:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_13:
	movl	%r12d, %eax
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_IPV6_ADDR_LINKLOCAL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_21
## %bb.15:
	cmpl	$48, %ecx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jb	LBB0_20
## %bb.16:
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.18:
	cmpq	%rax, %rcx
	jne	LBB0_1
LBB0_19:
	movq	%rax, (%rdx)
LBB0_20:
	cmpq	$0, (%rdx)
	je	LBB0_1
LBB0_21:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	je	LBB0_24
## %bb.22:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %rdi
	movq	%r12, %rsi
	callq	_ipv6_addr_equal
	testl	%eax, %eax
	jne	LBB0_24
## %bb.23:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rax
	addq	$16, %rax
	movq	$0, (%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
LBB0_24:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	8(%r14), %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ipv6_addr_copy
	movl	-192(%rbp), %eax
	movl	%eax, (%r14)
	movq	_IPV6_ADDR_MAPPED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_28
## %bb.25:
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %r15
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_SOCK_DEBUG
	movq	%r13, %rdi
	callq	___ipv6_only_sock
	testq	%rax, %rax
	jne	LBB0_10
## %bb.26:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -200(%rbp)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	24(%r14), %rax
	movq	%rax, -208(%rbp)
	movq	40(%r14), %rax
	movl	12(%rax), %eax
	movl	%eax, -216(%rbp)
	movq	_ipv6_mapped@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_tcp_v4_do_rcv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	leaq	-216(%rbp), %rsi
	movq	%r13, %rdi
	movl	$24, %edx
	callq	_tcp_v4_connect
	testl	%eax, %eax
	je	LBB0_39
## %bb.27:
	movl	%eax, %r12d
	movq	%r15, (%rbx)
	movq	_ipv6_specific@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_tcp_v6_do_rcv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	jmp	LBB0_51
LBB0_28:
	leaq	48(%r14), %rbx
	movq	%rbx, %rdi
	callq	_ipv6_addr_any
	movq	%rax, %r15
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	leaq	-160(%rbp), %rdi
	movq	%r13, %rsi
	callq	_ipv6_addr_copy
	movq	%r14, %r12
	addq	$24, %r12
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	testq	%r15, %r15
	leaq	-176(%rbp), %rdi
	movq	%r12, %rsi
	cmoveq	%rbx, %rsi
	callq	_ipv6_addr_copy
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rax
	movq	%rax, -184(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movq	%rax, -136(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %eax
	movl	%eax, -144(%rbp)
	movq	40(%r14), %rax
	testq	%rax, %rax
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	je	LBB0_32
## %bb.29:
	movq	16(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_32
## %bb.30:
	leaq	-216(%rbp), %r15
	movq	%r15, %rdi
	leaq	-160(%rbp), %r14
	movq	%r14, %rsi
	callq	_ipv6_addr_copy
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_ipv6_addr_copy
	jmp	LBB0_33
LBB0_32:
	xorl	%r15d, %r15d
LBB0_33:
	leaq	-192(%rbp), %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_security_sk_classify_flow
	leaq	-96(%rbp), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_ip6_dst_lookup
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_51
## %bb.34:
	testq	%r15, %r15
	je	LBB0_36
## %bb.35:
	leaq	-160(%rbp), %rdi
	movq	%r15, %rsi
	callq	_ipv6_addr_copy
LBB0_36:
	movq	%r13, %rdi
	callq	_sock_net
	movq	_XFRM_LOOKUP_WAIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	-96(%rbp), %rsi
	leaq	-192(%rbp), %rdx
	movl	%eax, %edi
	movq	%r13, %rcx
	callq	___xfrm_lookup
	testl	%eax, %eax
	js	LBB0_40
LBB0_37:
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_43
## %bb.38:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_ipv6_addr_copy
	jmp	LBB0_44
LBB0_39:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	24(%rbx), %r14
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_htonl
	movl	%eax, %r15d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	16(%r13), %r8d
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_ipv6_addr_set
	addq	$48, %rbx
	movl	12(%r13), %r8d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_ipv6_addr_set
	jmp	LBB0_13
LBB0_40:
	movl	%eax, %r12d
	movq	_EREMOTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r12d, %eax
	jne	LBB0_51
## %bb.41:
	leaq	-96(%rbp), %rsi
	leaq	-192(%rbp), %rdx
	movq	%r13, %rdi
	callq	_ip6_dst_blackhole
	testl	%eax, %eax
	jns	LBB0_37
## %bb.42:
	movl	%eax, %r12d
	jmp	LBB0_51
LBB0_43:
	movq	-112(%rbp), %rbx                ## 8-byte Reload
LBB0_44:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ipv6_addr_copy
	movq	_LOOPBACK4_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movq	_SKB_GSO_TCPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movq	-96(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	___ip6_dst_store
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	$0, (%rdx)
	movq	40(%r14), %rax
	testq	%rax, %rax
	je	LBB0_46
## %bb.45:
	movq	(%rax), %rcx
	addq	8(%rax), %rcx
	movq	%rcx, (%rdx)
LBB0_46:
	movq	_IPV6_MIN_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-8, %eax
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, 8(%r15)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movq	%rax, (%r12)
	movq	_TCP_SYN_SENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_tcp_set_state
	movq	_tcp_death_row@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_inet6_hash_connect
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_50
## %bb.47:
	cmpq	$0, (%r15)
	jne	LBB0_49
## %bb.48:
	movq	16(%r14), %rsi
	movq	32(%r14), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edx
	movq	(%rax), %rcx
	callq	_secure_tcpv6_sequence_number
	movq	%rax, (%r15)
LBB0_49:
	movq	%r13, %rdi
	callq	_tcp_connect
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_52
LBB0_50:
	movq	_TCP_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_tcp_set_state
	movq	%r13, %rdi
	callq	___sk_dst_reset
LBB0_51:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movq	$0, 8(%r13)
	jmp	LBB0_13
LBB0_52:
	xorl	%r12d, %r12d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_SIN6_LEN_RFC2133,4,2           ## @SIN6_LEN_RFC2133
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_IPV6_FLOWINFO_MASK,4,2         ## @IPV6_FLOWINFO_MASK
	.comm	_IPV6_FLOWLABEL_MASK,4,2        ## @IPV6_FLOWLABEL_MASK
	.comm	_IPV6_ADDR_MULTICAST,4,2        ## @IPV6_ADDR_MULTICAST
	.comm	_ENETUNREACH,4,2                ## @ENETUNREACH
	.comm	_IPV6_ADDR_LINKLOCAL,4,2        ## @IPV6_ADDR_LINKLOCAL
	.comm	_IPV6_ADDR_MAPPED,4,2           ## @IPV6_ADDR_MAPPED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"connect: ipv4 mapped\n"

	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_ipv6_mapped,4,2                ## @ipv6_mapped
	.comm	_tcp_v4_do_rcv,4,2              ## @tcp_v4_do_rcv
	.comm	_ipv6_specific,4,2              ## @ipv6_specific
	.comm	_tcp_v6_do_rcv,4,2              ## @tcp_v6_do_rcv
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_XFRM_LOOKUP_WAIT,4,2           ## @XFRM_LOOKUP_WAIT
	.comm	_EREMOTE,4,2                    ## @EREMOTE
	.comm	_LOOPBACK4_IPV6,4,2             ## @LOOPBACK4_IPV6
	.comm	_SKB_GSO_TCPV6,4,2              ## @SKB_GSO_TCPV6
	.comm	_IPV6_MIN_MTU,4,2               ## @IPV6_MIN_MTU
	.comm	_TCP_SYN_SENT,4,2               ## @TCP_SYN_SENT
	.comm	_tcp_death_row,4,2              ## @tcp_death_row
	.comm	_TCP_CLOSE,4,2                  ## @TCP_CLOSE
	.comm	_tcp_sock_ipv6_mapped_specific,4,2 ## @tcp_sock_ipv6_mapped_specific
	.comm	_tcp_sock_ipv6_specific,4,2     ## @tcp_sock_ipv6_specific
	.no_dead_strip	_tcp_v6_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_v6_connect
_tcp_v6_connect:                        ; @tcp_v6_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x2
	mov	x23, x1
	mov	x20, x0
	bl	_inet_sk
	mov	x19, x0
	mov	x0, x20
	bl	_inet_csk
	mov	x22, x0
	mov	x0, x20
	bl	_inet6_sk
	mov	x21, x0
	mov	x0, x20
	bl	_tcp_sk
Lloh0:
	adrp	x8, _SIN6_LEN_RFC2133@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIN6_LEN_RFC2133@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w25
	b.le	LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_2:
	ldr	x8, [x23]
Lloh5:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.3:
	mov	x24, x0
	add	x0, sp, #72
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	ldr	x8, [x21, #64]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	w8, [x23, #8]
Lloh8:
	adrp	x9, _IPV6_FLOWINFO_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IPV6_FLOWINFO_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w0, w9, w8
	str	w0, [sp, #72]
	bl	_IP6_ECN_flow_init
	ldr	w1, [sp, #72]
Lloh11:
	adrp	x8, _IPV6_FLOWLABEL_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IPV6_FLOWLABEL_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_fl6_sock_lookup
	cbz	x0, LBB0_1
; %bb.6:
	mov	x26, x0
	add	x0, x23, #32
	mov	x1, x26
	bl	_ipv6_addr_copy
	mov	x0, x26
	bl	_fl6_sock_release
LBB0_7:
	add	x26, x23, #32
	mov	x0, x26
	bl	_ipv6_addr_any
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x26]
	mov	w9, #1
	str	w9, [x8, #60]
LBB0_9:
	mov	x0, x26
	bl	_ipv6_addr_type
Lloh14:
	adrp	x8, _IPV6_ADDR_MULTICAST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IPV6_ADDR_MULTICAST@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_14
LBB0_10:
Lloh17:
	adrp	x8, _ENETUNREACH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENETUNREACH@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh19:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w26, w8
LBB0_13:
	mov	x0, x26
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_14:
	mov	x27, x0
Lloh21:
	adrp	x8, _IPV6_ADDR_LINKLOCAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IPV6_ADDR_LINKLOCAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_21
; %bb.15:
	cmp	w25, #48
	b.lo	LBB0_20
; %bb.16:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_20
; %bb.17:
	ldr	x9, [x20]
	cbz	x9, LBB0_19
; %bb.18:
	cmp	x9, x8
	b.ne	LBB0_1
LBB0_19:
	str	x8, [x20]
LBB0_20:
	ldr	x8, [x20]
	cbz	x8, LBB0_1
LBB0_21:
	mov	x25, x24
	ldr	x8, [x25, #16]!
	cbz	x8, LBB0_24
; %bb.22:
	add	x0, x21, #8
	mov	x1, x26
	bl	_ipv6_addr_equal
	cbnz	w0, LBB0_24
; %bb.23:
	str	xzr, [x24]
	stp	xzr, xzr, [x25]
LBB0_24:
	add	x28, x21, #8
	mov	x0, x28
	mov	x1, x26
	bl	_ipv6_addr_copy
	ldr	w8, [sp, #72]
	str	w8, [x21]
Lloh24:
	adrp	x8, _IPV6_ADDR_MAPPED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IPV6_ADDR_MAPPED@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w27, w8
	b.ne	LBB0_28
; %bb.25:
	ldr	x24, [x22]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_SOCK_DEBUG
	mov	x0, x20
	bl	___ipv6_only_sock
	cbnz	x0, LBB0_10
; %bb.26:
Lloh29:
	adrp	x8, _AF_INET@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	ldr	x8, [x23, #24]
	str	x8, [sp, #48]
	ldr	x8, [x23, #40]
	ldr	w8, [x8, #12]
Lloh32:
	adrp	x9, _ipv6_mapped@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ipv6_mapped@GOTPAGEOFF]
	str	w8, [sp, #40]
	str	x9, [x22, #8]
Lloh34:
	adrp	x8, _tcp_v4_do_rcv@GOTPAGE
Lloh35:
	ldr	x8, [x8, _tcp_v4_do_rcv@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	w8, [x20, #20]
	add	x1, sp, #40
	mov	x0, x20
	mov	w2, #24
	bl	_tcp_v4_connect
	mov	x26, x0
	cbz	w0, LBB0_45
; %bb.27:
Lloh37:
	adrp	x8, _ipv6_specific@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ipv6_specific@GOTPAGEOFF]
	stp	x24, x8, [x22]
Lloh39:
	adrp	x8, _tcp_v6_do_rcv@GOTPAGE
Lloh40:
	ldr	x8, [x8, _tcp_v6_do_rcv@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	str	w8, [x20, #20]
	b	LBB0_49
LBB0_28:
	add	x27, x21, #48
	mov	x0, x27
	bl	_ipv6_addr_any
	mov	x25, x0
Lloh42:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	str	w8, [sp, #136]
	add	x26, sp, #72
	add	x0, x26, #32
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	mov	x1, x28
	bl	_ipv6_addr_copy
	add	x0, x26, #16
	add	x26, x21, #24
	str	x25, [sp, #24]                  ; 8-byte Folded Spill
	cmp	x25, #0
	mov	x25, x27
	csel	x1, x27, x26, eq
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_ipv6_addr_copy
	ldr	x8, [x20]
	ldr	x9, [x23, #24]
	str	x8, [sp, #80]
	str	x9, [sp, #128]
	ldr	w8, [x19, #8]
	str	w8, [sp, #120]
	ldr	x8, [x21, #40]
	str	x26, [sp, #16]                  ; 8-byte Folded Spill
	cbz	x8, LBB0_31
; %bb.29:
	ldr	x26, [x8, #16]
	cbz	x26, LBB0_31
; %bb.30:
	add	x28, sp, #40
	add	x0, sp, #40
	ldr	x27, [sp, #32]                  ; 8-byte Folded Reload
	mov	x1, x27
	bl	_ipv6_addr_copy
	ldr	x1, [x26]
	mov	x0, x27
	bl	_ipv6_addr_copy
	b	LBB0_32
LBB0_31:
	mov	x28, #0
LBB0_32:
	add	x1, sp, #72
	mov	x0, x20
	bl	_security_sk_classify_flow
	add	x1, sp, #64
	add	x2, sp, #72
	mov	x0, x20
	bl	_ip6_dst_lookup
	mov	x26, x0
	cbnz	w0, LBB0_49
; %bb.33:
	cbz	x28, LBB0_35
; %bb.34:
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x28
	bl	_ipv6_addr_copy
LBB0_35:
	mov	x0, x20
	bl	_sock_net
Lloh45:
	adrp	x8, _XFRM_LOOKUP_WAIT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _XFRM_LOOKUP_WAIT@GOTPAGEOFF]
Lloh47:
	ldr	w4, [x8]
	add	x1, sp, #64
	add	x2, sp, #72
	mov	x3, x20
	bl	___xfrm_lookup
	tbnz	w0, #31, LBB0_46
LBB0_36:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_38
; %bb.37:
	mov	x0, x25
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	mov	x1, x25
	bl	_ipv6_addr_copy
LBB0_38:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x25
	bl	_ipv6_addr_copy
Lloh48:
	adrp	x8, _LOOPBACK4_IPV6@GOTPAGE
Lloh49:
	ldr	x8, [x8, _LOOPBACK4_IPV6@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	str	w8, [x19, #12]
Lloh51:
	adrp	x8, _SKB_GSO_TCPV6@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SKB_GSO_TCPV6@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	ldr	x1, [sp, #64]
	mov	x0, x20
	mov	x2, #0
	mov	x3, #0
	bl	___ip6_dst_store
	str	xzr, [x22]
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_40
; %bb.39:
	ldp	x8, x9, [x8]
	add	x8, x8, x9
	str	x8, [x22]
LBB0_40:
Lloh54:
	adrp	x8, _IPV6_MIN_MTU@GOTPAGE
Lloh55:
	ldr	x8, [x8, _IPV6_MIN_MTU@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	sub	w8, w8, #8
	str	w8, [x24, #8]
	ldr	x8, [x23, #24]
	str	x8, [x19]
Lloh57:
	adrp	x8, _TCP_SYN_SENT@GOTPAGE
Lloh58:
	ldr	x8, [x8, _TCP_SYN_SENT@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_tcp_set_state
Lloh60:
	adrp	x0, _tcp_death_row@GOTPAGE
Lloh61:
	ldr	x0, [x0, _tcp_death_row@GOTPAGEOFF]
	mov	x1, x20
	bl	_inet6_hash_connect
	mov	x26, x0
	cbnz	w0, LBB0_44
; %bb.41:
	ldr	x8, [x24]
	cbnz	x8, LBB0_43
; %bb.42:
	ldr	x0, [x21, #32]
	ldr	x1, [x21, #16]
	ldr	w2, [x19, #8]
	ldr	x3, [x19]
	bl	_secure_tcpv6_sequence_number
	str	x0, [x24]
LBB0_43:
	mov	x0, x20
	bl	_tcp_connect
	mov	x26, x0
	cbz	w0, LBB0_13
LBB0_44:
Lloh62:
	adrp	x8, _TCP_CLOSE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _TCP_CLOSE@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_tcp_set_state
	mov	x0, x20
	bl	___sk_dst_reset
	b	LBB0_49
LBB0_45:
	add	x20, x21, #24
	mov	w0, #65535
	bl	_htonl
	mov	x22, x0
	ldr	w4, [x19, #16]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	mov	x3, x22
	bl	_ipv6_addr_set
	add	x0, x21, #48
	ldr	w4, [x19, #12]
	mov	w1, #0
	mov	w2, #0
	mov	x3, x22
	bl	_ipv6_addr_set
	b	LBB0_13
LBB0_46:
	mov	x26, x0
Lloh65:
	adrp	x8, _EREMOTE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _EREMOTE@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_49
; %bb.47:
	add	x1, sp, #64
	add	x2, sp, #72
	mov	x0, x20
	bl	_ip6_dst_blackhole
	tbz	w0, #31, LBB0_36
; %bb.48:
	mov	x26, x0
LBB0_49:
	str	xzr, [x19]
	str	xzr, [x20, #8]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_SIN6_LEN_RFC2133,4,2           ; @SIN6_LEN_RFC2133
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_IPV6_FLOWINFO_MASK,4,2         ; @IPV6_FLOWINFO_MASK
	.comm	_IPV6_FLOWLABEL_MASK,4,2        ; @IPV6_FLOWLABEL_MASK
	.comm	_IPV6_ADDR_MULTICAST,4,2        ; @IPV6_ADDR_MULTICAST
	.comm	_ENETUNREACH,4,2                ; @ENETUNREACH
	.comm	_IPV6_ADDR_LINKLOCAL,4,2        ; @IPV6_ADDR_LINKLOCAL
	.comm	_IPV6_ADDR_MAPPED,4,2           ; @IPV6_ADDR_MAPPED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"connect: ipv4 mapped\n"

	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_ipv6_mapped,4,2                ; @ipv6_mapped
	.comm	_tcp_v4_do_rcv,4,2              ; @tcp_v4_do_rcv
	.comm	_ipv6_specific,4,2              ; @ipv6_specific
	.comm	_tcp_v6_do_rcv,4,2              ; @tcp_v6_do_rcv
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_XFRM_LOOKUP_WAIT,4,2           ; @XFRM_LOOKUP_WAIT
	.comm	_EREMOTE,4,2                    ; @EREMOTE
	.comm	_LOOPBACK4_IPV6,4,2             ; @LOOPBACK4_IPV6
	.comm	_SKB_GSO_TCPV6,4,2              ; @SKB_GSO_TCPV6
	.comm	_IPV6_MIN_MTU,4,2               ; @IPV6_MIN_MTU
	.comm	_TCP_SYN_SENT,4,2               ; @TCP_SYN_SENT
	.comm	_tcp_death_row,4,2              ; @tcp_death_row
	.comm	_TCP_CLOSE,4,2                  ; @TCP_CLOSE
	.comm	_tcp_sock_ipv6_mapped_specific,4,2 ; @tcp_sock_ipv6_mapped_specific
	.comm	_tcp_sock_ipv6_specific,4,2     ; @tcp_sock_ipv6_specific
	.no_dead_strip	_tcp_v6_connect
.subsections_via_symbols
