	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip6_datagram_connect           ## -- Begin function ip6_datagram_connect
	.p2align	4, 0x90
_ip6_datagram_connect:                  ## @ip6_datagram_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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_inet_sk
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_inet6_sk
	movq	%rax, %r12
	movq	(%r13), %rax
	movq	_AF_INET@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_9
## %bb.1:
	movq	%r14, %rdi
	callq	___ipv6_only_sock
	testq	%rax, %rax
	jne	LBB0_16
## %bb.2:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_ip4_datagram_connect
	movl	%eax, %ebx
	xorl	%r15d, %r15d
	testl	%ebx, %ebx
	jne	LBB0_57
LBB0_3:
	leaq	32(%r12), %rbx
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_htonl
	movl	%eax, %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_ipv6_addr_set
	leaq	16(%r12), %rbx
	movq	%rbx, %rdi
	callq	_ipv6_addr_any
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_ipv6_mapped_addr_any
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_ipv6_addr_set
LBB0_6:
	addq	$48, %r12
	movq	%r12, %rdi
	callq	_ipv6_addr_any
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	_ipv6_mapped_addr_any
	testq	%rax, %rax
	je	LBB0_44
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r8d
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_ipv6_addr_set
	jmp	LBB0_57
LBB0_9:
	movq	_SIN6_LEN_RFC2133@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_11
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_11:
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.12:
	leaq	-144(%rbp), %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	cmpq	$0, 72(%r12)
	je	LBB0_18
## %bb.13:
	movq	_IPV6_FLOWINFO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	8(%r13), %esi
	movl	%esi, -144(%rbp)
	movq	_IPV6_FLOWLABEL_MASK@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_18
## %bb.14:
	movq	%r14, %rdi
	callq	_fl6_sock_lookup
	testq	%rax, %rax
	je	LBB0_10
## %bb.15:
	leaq	32(%r13), %rdi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	addq	$8, %rsi
	callq	_ipv6_addr_copy
	jmp	LBB0_19
LBB0_16:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
LBB0_17:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_58
LBB0_18:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_19:
	leaq	32(%r13), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_ipv6_addr_type
	movq	_IPV6_ADDR_ANY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_21
## %bb.20:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	$1, 60(%rcx)
LBB0_21:
	movq	_IPV6_ADDR_MAPPED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_24
## %bb.22:
	movq	%r14, %rdi
	callq	___ipv6_only_sock
	testq	%rax, %rax
	je	LBB0_38
## %bb.23:
	movq	_ENETUNREACH@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_56
LBB0_24:
	movq	_IPV6_ADDR_LINKLOCAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_31
## %bb.25:
	cmpl	$48, %ebx
	jb	LBB0_30
## %bb.26:
	movq	16(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_30
## %bb.27:
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_29
## %bb.28:
	cmpq	%rdx, %rcx
	jne	LBB0_47
LBB0_29:
	movq	%rdx, (%r14)
LBB0_30:
	cmpq	$0, (%r14)
	je	LBB0_45
LBB0_31:
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	leaq	32(%r12), %r15
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ipv6_addr_copy
	movl	-144(%rbp), %eax
	movl	%eax, 8(%r12)
	movl	24(%r13), %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 8(%rbx)
	movl	12(%r14), %eax
	movl	%eax, -88(%rbp)
	leaq	-112(%rbp), %rdi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	callq	_ipv6_addr_copy
	leaq	-128(%rbp), %r13
	leaq	16(%r12), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_ipv6_addr_copy
	movq	(%r14), %rax
	movq	%rax, -136(%rbp)
	movl	8(%rbx), %ecx
	movl	%ecx, -92(%rbp)
	movl	4(%rbx), %ecx
	movl	%ecx, -96(%rbp)
	testq	%rax, %rax
	jne	LBB0_34
## %bb.32:
	movq	_IPV6_ADDR_MULTICAST@GOTPCREL(%rip), %rax
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_34
## %bb.33:
	movq	(%r12), %rax
	movq	%rax, -136(%rbp)
LBB0_34:
	leaq	-144(%rbp), %rsi
	movq	%r14, %rdi
	callq	_security_sk_classify_flow
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	movq	%r15, -152(%rbp)                ## 8-byte Spill
	je	LBB0_39
## %bb.35:
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_36
	jmp	LBB0_37
LBB0_38:
	movq	(%r15), %rax
	movq	%rax, -160(%rbp)
	movq	40(%r13), %rax
	movl	12(%rax), %eax
	movl	%eax, -164(%rbp)
	movl	24(%r13), %eax
	movl	%eax, -168(%rbp)
	leaq	-168(%rbp), %rsi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_ip4_datagram_connect
	movl	%eax, %ebx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	testl	%ebx, %ebx
	jne	LBB0_57
	jmp	LBB0_3
LBB0_39:
	movq	64(%r12), %rax
	testq	%rax, %rax
	je	LBB0_37
LBB0_36:
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_37
## %bb.41:
	leaq	-184(%rbp), %r15
	movq	%r15, %rdi
	leaq	-112(%rbp), %r13
	movq	%r13, %rsi
	callq	_ipv6_addr_copy
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	leaq	-128(%rbp), %r13
	callq	_ipv6_addr_copy
	jmp	LBB0_42
LBB0_37:
	xorl	%r15d, %r15d
LBB0_42:
	leaq	-72(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	movq	%r14, %rdi
	callq	_ip6_dst_lookup
	testl	%eax, %eax
	je	LBB0_48
## %bb.43:
	movl	%eax, %ebx
	jmp	LBB0_56
LBB0_48:
	testq	%r15, %r15
	je	LBB0_50
## %bb.49:
	leaq	-112(%rbp), %rdi
	movq	%r15, %rsi
	callq	_ipv6_addr_copy
LBB0_50:
	movq	%r14, %rdi
	callq	_sock_net
	movq	_XFRM_LOOKUP_WAIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	-72(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	movl	%eax, %edi
	movq	%r14, %rcx
	callq	___xfrm_lookup
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_59
LBB0_51:
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_ipv6_addr_any
	testq	%rax, %rax
	je	LBB0_53
## %bb.52:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ipv6_addr_copy
LBB0_53:
	addq	$48, %r12
	movq	%r12, %rdi
	callq	_ipv6_addr_any
	testq	%rax, %rax
	je	LBB0_55
## %bb.54:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ipv6_addr_copy
	movq	_LOOPBACK4_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_55:
	movq	-72(%rbp), %r15
	leaq	-112(%rbp), %rdi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	cmoveq	%rax, %r12
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_ip6_dst_store
	movq	_TCP_ESTABLISHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_56:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_57:
	movq	%r15, %rdi
	callq	_fl6_sock_release
LBB0_58:
	movl	%ebx, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	xorl	%ebx, %ebx
	jmp	LBB0_57
LBB0_45:
	movq	_IPV6_ADDR_MULTICAST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_47
## %bb.46:
	movq	(%r12), %rcx
	movq	%rcx, (%r14)
	testq	%rcx, %rcx
	jne	LBB0_31
LBB0_47:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_57
LBB0_59:
	movq	_EREMOTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_57
## %bb.60:
	leaq	-72(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	movq	%r14, %rdi
	callq	_ip6_dst_blackhole
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_51
	jmp	LBB0_57
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_SIN6_LEN_RFC2133,4,2           ## @SIN6_LEN_RFC2133
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_IPV6_FLOWINFO_MASK,4,2         ## @IPV6_FLOWINFO_MASK
	.comm	_IPV6_FLOWLABEL_MASK,4,2        ## @IPV6_FLOWLABEL_MASK
	.comm	_IPV6_ADDR_ANY,4,2              ## @IPV6_ADDR_ANY
	.comm	_IPV6_ADDR_MAPPED,4,2           ## @IPV6_ADDR_MAPPED
	.comm	_ENETUNREACH,4,2                ## @ENETUNREACH
	.comm	_IPV6_ADDR_LINKLOCAL,4,2        ## @IPV6_ADDR_LINKLOCAL
	.comm	_IPV6_ADDR_MULTICAST,4,2        ## @IPV6_ADDR_MULTICAST
	.comm	_XFRM_LOOKUP_WAIT,4,2           ## @XFRM_LOOKUP_WAIT
	.comm	_EREMOTE,4,2                    ## @EREMOTE
	.comm	_LOOPBACK4_IPV6,4,2             ## @LOOPBACK4_IPV6
	.comm	_TCP_ESTABLISHED,4,2            ## @TCP_ESTABLISHED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip6_datagram_connect           ; -- Begin function ip6_datagram_connect
	.p2align	2
_ip6_datagram_connect:                  ; @ip6_datagram_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x23, x2
	mov	x24, x1
	mov	x22, x0
	bl	_inet_sk
	mov	x20, x0
	mov	x0, x22
	bl	_inet6_sk
	mov	x21, x0
	ldr	x8, [x24]
Lloh0:
	adrp	x26, _AF_INET@GOTPAGE
Lloh1:
	ldr	x26, [x26, _AF_INET@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
	mov	x0, x22
	bl	___ipv6_only_sock
	cbnz	x0, LBB0_16
; %bb.2:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_ip4_datagram_connect
	mov	x27, x0
	mov	x19, #0
	cbnz	w27, LBB0_57
LBB0_3:
	add	x23, x21, #32
	mov	w0, #65535
	bl	_htonl
	mov	x22, x0
	ldr	w4, [x20, #16]
	mov	x0, x23
	mov	w1, #0
	mov	w2, #0
	mov	x3, x22
	bl	_ipv6_addr_set
	add	x23, x21, #16
	mov	x0, x23
	bl	_ipv6_addr_any
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x23
	bl	_ipv6_mapped_addr_any
	cbz	x0, LBB0_6
LBB0_5:
	ldr	w4, [x20, #12]
	mov	x0, x23
	mov	w1, #0
	mov	w2, #0
	mov	x3, x22
	bl	_ipv6_addr_set
LBB0_6:
	add	x21, x21, #48
	mov	x0, x21
	bl	_ipv6_addr_any
	cbnz	x0, LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_ipv6_mapped_addr_any
	cbz	x0, LBB0_52
LBB0_8:
	ldr	w4, [x20]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #0
	mov	x3, x22
	bl	_ipv6_addr_set
	mov	w27, #0
	b	LBB0_57
LBB0_9:
Lloh2:
	adrp	x9, _SIN6_LEN_RFC2133@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SIN6_LEN_RFC2133@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w9, w23
	b.le	LBB0_11
LBB0_10:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_17
LBB0_11:
Lloh7:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh8:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.12:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	ldr	x8, [x21, #72]
	cbz	x8, LBB0_18
; %bb.13:
	ldr	w8, [x24, #8]
Lloh10:
	adrp	x9, _IPV6_FLOWINFO_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IPV6_FLOWINFO_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w1, w9, w8
	str	w1, [sp, #24]
Lloh13:
	adrp	x8, _IPV6_FLOWLABEL_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPV6_FLOWLABEL_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_18
; %bb.14:
	mov	x0, x22
	bl	_fl6_sock_lookup
	cbz	x0, LBB0_10
; %bb.15:
	mov	x19, x0
	add	x0, x24, #32
	add	x1, x19, #8
	bl	_ipv6_addr_copy
	b	LBB0_19
LBB0_16:
Lloh16:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	neg	w27, w8
	b	LBB0_58
LBB0_18:
	mov	x19, #0
LBB0_19:
	add	x25, x24, #32
	mov	x0, x25
	bl	_ipv6_addr_type
	mov	x27, x0
Lloh18:
	adrp	x8, _IPV6_ADDR_ANY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IPV6_ADDR_ANY@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.20:
	ldr	x8, [x25]
	mov	w9, #1
	str	w9, [x8, #60]
LBB0_21:
Lloh21:
	adrp	x8, _IPV6_ADDR_MAPPED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IPV6_ADDR_MAPPED@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w27, w8
	b.ne	LBB0_24
; %bb.22:
	mov	x0, x22
	bl	___ipv6_only_sock
	cbz	x0, LBB0_37
; %bb.23:
Lloh24:
	adrp	x8, _ENETUNREACH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENETUNREACH@GOTPAGEOFF]
	b	LBB0_56
LBB0_24:
Lloh26:
	adrp	x8, _IPV6_ADDR_LINKLOCAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IPV6_ADDR_LINKLOCAL@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w27
	b.eq	LBB0_31
; %bb.25:
	cmp	w23, #48
	b.lo	LBB0_30
; %bb.26:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_30
; %bb.27:
	ldr	x9, [x22]
	cbz	x9, LBB0_29
; %bb.28:
	cmp	x9, x8
	b.ne	LBB0_55
LBB0_29:
	str	x8, [x22]
LBB0_30:
	ldr	x8, [x22]
	cbz	x8, LBB0_53
LBB0_31:
	add	x23, x21, #32
	mov	x0, x23
	mov	x1, x25
	bl	_ipv6_addr_copy
	ldr	w8, [sp, #24]
	str	w8, [x21, #8]
	ldr	w8, [x24, #24]
	str	w8, [x20, #8]
	ldr	w8, [x22, #12]
	str	w8, [sp, #80]
	add	x25, sp, #24
	add	x24, x25, #32
	mov	x0, x24
	mov	x1, x23
	bl	_ipv6_addr_copy
	add	x25, x25, #16
	add	x26, x21, #16
	mov	x0, x25
	mov	x1, x26
	bl	_ipv6_addr_copy
	ldr	x8, [x22]
	str	x8, [sp, #32]
	ldur	d0, [x20, #4]
	str	d0, [sp, #72]
	cbnz	x8, LBB0_34
; %bb.32:
Lloh29:
	adrp	x8, _IPV6_ADDR_MULTICAST@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IPV6_ADDR_MULTICAST@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w27
	b.eq	LBB0_34
; %bb.33:
	ldr	x8, [x21]
	str	x8, [sp, #32]
LBB0_34:
	add	x1, sp, #24
	mov	x0, x22
	bl	_security_sk_classify_flow
	cbz	x19, LBB0_38
; %bb.35:
	ldr	x8, [x19]
	cbz	x8, LBB0_41
; %bb.36:
	ldr	x27, [x8]
	cbnz	x27, LBB0_40
	b	LBB0_41
LBB0_37:
	ldr	x8, [x26]
	str	x8, [sp, #16]
	ldr	x8, [x24, #40]
	ldr	w8, [x8, #12]
	ldr	w9, [x24, #24]
	stp	w9, w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #16
	bl	_ip4_datagram_connect
	mov	x27, x0
	cbnz	w27, LBB0_57
	b	LBB0_3
LBB0_38:
	ldr	x8, [x21, #64]
	cbz	x8, LBB0_41
; %bb.39:
	ldr	x27, [x8]
	cbz	x27, LBB0_41
LBB0_40:
	add	x28, sp, #96
	add	x0, sp, #96
	mov	x1, x24
	bl	_ipv6_addr_copy
	ldr	x1, [x27]
	mov	x0, x24
	bl	_ipv6_addr_copy
	b	LBB0_42
LBB0_41:
	mov	x28, #0
LBB0_42:
	add	x1, sp, #88
	add	x2, sp, #24
	mov	x0, x22
	bl	_ip6_dst_lookup
	cbz	w0, LBB0_44
; %bb.43:
	mov	x27, x0
	b	LBB0_57
LBB0_44:
	cbz	x28, LBB0_46
; %bb.45:
	mov	x0, x24
	mov	x1, x28
	bl	_ipv6_addr_copy
LBB0_46:
	mov	x0, x22
	bl	_sock_net
Lloh32:
	adrp	x8, _XFRM_LOOKUP_WAIT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _XFRM_LOOKUP_WAIT@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x8]
	add	x1, sp, #88
	add	x2, sp, #24
	mov	x3, x22
	bl	___xfrm_lookup
	mov	x27, x0
	tbnz	w0, #31, LBB0_59
LBB0_47:
	mov	x0, x26
	bl	_ipv6_addr_any
	cbz	x0, LBB0_49
; %bb.48:
	mov	x0, x26
	mov	x1, x25
	bl	_ipv6_addr_copy
LBB0_49:
	add	x21, x21, #48
	mov	x0, x21
	bl	_ipv6_addr_any
	cbz	x0, LBB0_51
; %bb.50:
	mov	x0, x21
	mov	x1, x25
	bl	_ipv6_addr_copy
Lloh35:
	adrp	x8, _LOOPBACK4_IPV6@GOTPAGE
Lloh36:
	ldr	x8, [x8, _LOOPBACK4_IPV6@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_51:
	ldr	x20, [sp, #88]
	mov	x0, x24
	mov	x1, x23
	bl	_ipv6_addr_equal
	cmp	x0, #0
	csel	x2, xzr, x23, eq
	mov	x0, x22
	mov	x1, x20
	mov	x3, #0
	bl	_ip6_dst_store
Lloh38:
	adrp	x8, _TCP_ESTABLISHED@GOTPAGE
Lloh39:
	ldr	x8, [x8, _TCP_ESTABLISHED@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x22, #8]
	b	LBB0_57
LBB0_52:
	mov	w27, #0
	b	LBB0_57
LBB0_53:
Lloh41:
	adrp	x8, _IPV6_ADDR_MULTICAST@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IPV6_ADDR_MULTICAST@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w8, w27
	b.eq	LBB0_55
; %bb.54:
	ldr	x8, [x21]
	str	x8, [x22]
	cbnz	x8, LBB0_31
LBB0_55:
Lloh44:
	adrp	x8, _EINVAL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_56:
	ldr	w8, [x8]
	neg	w27, w8
LBB0_57:
	mov	x0, x19
	bl	_fl6_sock_release
LBB0_58:
	mov	x0, x27
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_59:
Lloh46:
	adrp	x8, _EREMOTE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EREMOTE@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	cmn	w27, w8
	b.ne	LBB0_57
; %bb.60:
	add	x1, sp, #88
	add	x2, sp, #24
	mov	x0, x22
	bl	_ip6_dst_blackhole
	mov	x27, x0
	tbz	w0, #31, LBB0_47
	b	LBB0_57
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_SIN6_LEN_RFC2133,4,2           ; @SIN6_LEN_RFC2133
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_IPV6_FLOWINFO_MASK,4,2         ; @IPV6_FLOWINFO_MASK
	.comm	_IPV6_FLOWLABEL_MASK,4,2        ; @IPV6_FLOWLABEL_MASK
	.comm	_IPV6_ADDR_ANY,4,2              ; @IPV6_ADDR_ANY
	.comm	_IPV6_ADDR_MAPPED,4,2           ; @IPV6_ADDR_MAPPED
	.comm	_ENETUNREACH,4,2                ; @ENETUNREACH
	.comm	_IPV6_ADDR_LINKLOCAL,4,2        ; @IPV6_ADDR_LINKLOCAL
	.comm	_IPV6_ADDR_MULTICAST,4,2        ; @IPV6_ADDR_MULTICAST
	.comm	_XFRM_LOOKUP_WAIT,4,2           ; @XFRM_LOOKUP_WAIT
	.comm	_EREMOTE,4,2                    ; @EREMOTE
	.comm	_LOOPBACK4_IPV6,4,2             ; @LOOPBACK4_IPV6
	.comm	_TCP_ESTABLISHED,4,2            ; @TCP_ESTABLISHED
.subsections_via_symbols
