	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_ctos_early_data  ## -- Begin function tls_construct_ctos_early_data
	.p2align	4, 0x90
_tls_construct_ctos_early_data:         ## @tls_construct_ctos_early_data
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PSK_MAX_IDENTITY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leal	1(%r13), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	$0, -96(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -56(%rbp)
	movq	(%rbx), %rax
	movq	_SSL_HRR_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_ssl_handshake_md
	movq	%rax, %rsi
	jmp	LBB0_3
LBB0_1:
	xorl	%esi, %esi
LBB0_3:
	movq	96(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	leaq	-96(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	leaq	-56(%rbp), %r8
	movq	%rbx, %rdi
	callq	*%rax
	movq	-56(%rbp), %rdi
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:
	movq	(%rdi), %rax
	movq	_TLS1_3_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
LBB0_7:
	callq	_SSL_SESSION_free
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_PSK@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_8:
	cmpq	$0, 8(%rbx)
	je	LBB0_25
## %bb.9:
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	_PSK_MAX_PSK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsp, %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%r14, %r12
	movq	%r14, %rdx
	movl	%r13d, %ecx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r8
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%r15d, %r9d
	callq	*8(%rbx)
	movq	%rax, %r13
	movq	_PSK_MAX_PSK_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jbe	LBB0_11
## %bb.10:
	movq	_SSL_AD_HANDSHAKE_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	movq	_EXT_RETURN_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-104(%rbp), %rsp                ## 8-byte Reload
	jmp	LBB0_56
LBB0_11:
	movq	-104(%rbp), %r14                ## 8-byte Reload
	testq	%r13, %r13
	movq	-120(%rbp), %r15                ## 8-byte Reload
	je	LBB0_24
## %bb.12:
	movw	$275, -60(%rbp)                 ## imm = 0x113
	movq	%r12, %rbx
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, -80(%rbp)
	movq	_PSK_MAX_IDENTITY_LEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_14
## %bb.13:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_14:
	movq	%rbx, -96(%rbp)
	leaq	-60(%rbp), %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_SSL_CIPHER_find
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_SSL_SESSION_new
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	movq	%r14, %r12
	je	LBB0_21
## %bb.18:
	movq	%rax, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_SSL_SESSION_set1_master_key
	testl	%eax, %eax
	je	LBB0_21
## %bb.19:
	movq	-56(%rbp), %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_SSL_SESSION_set_cipher
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movq	-56(%rbp), %rdi
	movq	_TLS1_3_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_SSL_SESSION_set_protocol_version
	testl	%eax, %eax
	je	LBB0_21
## %bb.23:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_OPENSSL_cleanse
LBB0_24:
	movq	%r14, %rsp
LBB0_25:
	movq	88(%rbx), %rdi
	callq	_SSL_SESSION_free
	movq	-56(%rbp), %rax
	movq	%rax, 88(%rbx)
	testq	%rax, %rax
	je	LBB0_30
## %bb.26:
	movq	80(%rbx), %rdi
	callq	_OPENSSL_free
	movq	-96(%rbp), %rdi
	movq	-80(%rbp), %rsi
	callq	_OPENSSL_memdup
	movq	%rax, 80(%rbx)
	testq	%rax, %rax
	je	LBB0_27
## %bb.29:
	movq	-80(%rbp), %rax
	movq	%rax, 16(%rbx)
LBB0_30:
	movq	24(%rbx), %rax
	movq	_SSL_EARLY_DATA_CONNECTING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_34
## %bb.31:
	movq	72(%rbx), %r13
	cmpq	$0, 8(%r13)
	je	LBB0_32
LBB0_35:
	movq	8(%r13), %rax
	movq	%rax, 32(%rbx)
	movq	32(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_39
## %bb.36:
	movq	64(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_38
## %bb.37:
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_39
LBB0_38:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_INCONSISTENT_EARLY_DATA_SNI@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_39:
	movq	%rbx, %r14
	movq	56(%rbx), %rsi
	movq	24(%r13), %rax
	testq	%rsi, %rsi
	je	LBB0_40
## %bb.42:
	testq	%rax, %rax
	je	LBB0_48
## %bb.43:
	movq	%r14, %rbx
	movl	48(%r14), %edx
	leaq	-60(%rbp), %rdi
	callq	_PACKET_buf_init
	testl	%eax, %eax
	je	LBB0_27
## %bb.44:
	movq	%r15, %rbx
	leaq	-60(%rbp), %r15
	leaq	-124(%rbp), %r12
	.p2align	4, 0x90
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_PACKET_get_length_prefixed_1
	testq	%rax, %rax
	je	LBB0_41
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=1
	movq	24(%r13), %rsi
	movl	16(%r13), %edx
	movq	%r12, %rdi
	callq	_PACKET_equal
	testq	%rax, %rax
	je	LBB0_45
## %bb.47:
	movq	%rbx, %r15
	jmp	LBB0_48
LBB0_27:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_28:
	movl	(%rax), %ecx
	movq	%rbx, %rdi
LBB0_53:
	callq	_SSLfatal
	movq	_EXT_RETURN_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_55
LBB0_32:
	movq	-56(%rbp), %r13
	testq	%r13, %r13
	je	LBB0_34
## %bb.33:
	cmpq	$0, 8(%r13)
	jne	LBB0_35
LBB0_34:
	movq	$0, 32(%rbx)
	movq	_EXT_RETURN_NOT_SENT@GOTPCREL(%rip), %rax
LBB0_55:
	movl	(%rax), %eax
LBB0_56:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_58
## %bb.57:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_OPENSSL_cleanse
	jmp	LBB0_22
LBB0_40:
	testq	%rax, %rax
	je	LBB0_48
LBB0_41:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_INCONSISTENT_EARLY_DATA_ALPN@GOTPCREL(%rip), %rax
	jmp	LBB0_52
LBB0_48:
	movq	_TLSEXT_TYPE_early_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_51
## %bb.49:
	movq	%r15, %rdi
	callq	_WPACKET_start_sub_packet_u16
	testl	%eax, %eax
	je	LBB0_51
## %bb.50:
	movq	%r15, %rdi
	callq	_WPACKET_close
	testl	%eax, %eax
	je	LBB0_51
## %bb.54:
	movq	_SSL_EARLY_DATA_REJECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movl	$1, 40(%r14)
	movq	_EXT_RETURN_SENT@GOTPCREL(%rip), %rax
	jmp	LBB0_55
LBB0_51:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_52:
	movl	(%rax), %ecx
	movq	%r14, %rdi
	jmp	LBB0_53
LBB0_15:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
LBB0_16:
	callq	_SSLfatal
	movq	%r14, %r12
LBB0_22:
	movq	_EXT_RETURN_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %rsp
	jmp	LBB0_56
LBB0_58:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PSK_MAX_IDENTITY_LEN,4,2       ## @PSK_MAX_IDENTITY_LEN
	.comm	_SSL_HRR_PENDING,8,3            ## @SSL_HRR_PENDING
	.comm	_TLS1_3_VERSION,8,3             ## @TLS1_3_VERSION
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA,4,2 ## @SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA
	.comm	_SSL_R_BAD_PSK,4,2              ## @SSL_R_BAD_PSK
	.comm	_EXT_RETURN_FAIL,4,2            ## @EXT_RETURN_FAIL
	.comm	_PSK_MAX_PSK_LEN,4,2            ## @PSK_MAX_PSK_LEN
	.comm	_SSL_AD_HANDSHAKE_FAILURE,4,2   ## @SSL_AD_HANDSHAKE_FAILURE
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_SSL_EARLY_DATA_CONNECTING,8,3  ## @SSL_EARLY_DATA_CONNECTING
	.comm	_EXT_RETURN_NOT_SENT,4,2        ## @EXT_RETURN_NOT_SENT
	.comm	_SSL_R_INCONSISTENT_EARLY_DATA_SNI,4,2 ## @SSL_R_INCONSISTENT_EARLY_DATA_SNI
	.comm	_SSL_R_INCONSISTENT_EARLY_DATA_ALPN,4,2 ## @SSL_R_INCONSISTENT_EARLY_DATA_ALPN
	.comm	_TLSEXT_TYPE_early_data,4,2     ## @TLSEXT_TYPE_early_data
	.comm	_SSL_EARLY_DATA_REJECTED,4,2    ## @SSL_EARLY_DATA_REJECTED
	.comm	_EXT_RETURN_SENT,4,2            ## @EXT_RETURN_SENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_ctos_early_data  ; -- Begin function tls_construct_ctos_early_data
	.p2align	2
_tls_construct_ctos_early_data:         ; @tls_construct_ctos_early_data
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _PSK_MAX_IDENTITY_LEN@GOTPAGE
Lloh4:
	ldr	x27, [x27, _PSK_MAX_IDENTITY_LEN@GOTPAGEOFF]
	ldr	w23, [x27]
	add	w24, w23, #1
	mov	x9, x24
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	mov	x1, #0
	stp	xzr, xzr, [x29, #-104]
	stur	xzr, [x29, #-112]
	ldr	x8, [x0]
Lloh7:
	adrp	x9, _SSL_HRR_PENDING@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SSL_HRR_PENDING@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ssl_handshake_md
	mov	x1, x0
LBB0_2:
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_7
; %bb.3:
	sub	x2, x29, #96
	sub	x3, x29, #104
	sub	x4, x29, #112
	mov	x0, x19
	blr	x8
	mov	x8, x0
	ldur	x0, [x29, #-112]
	cbz	w8, LBB0_6
; %bb.4:
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x0]
Lloh10:
	adrp	x9, _TLS1_3_VERSION@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TLS1_3_VERSION@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_19
LBB0_6:
	bl	_SSL_SESSION_free
Lloh13:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _SSL_R_BAD_PSK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SSL_R_BAD_PSK@GOTPAGEOFF]
	b	LBB0_47
LBB0_7:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_19
; %bb.8:
	mov	x26, sp
Lloh21:
	adrp	x28, _PSK_MAX_PSK_LEN@GOTPAGE
Lloh22:
	ldr	x28, [x28, _PSK_MAX_PSK_LEN@GOTPAGEOFF]
	ldr	w25, [x28]
	mov	x9, x25
Lloh23:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh24:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	mov	x0, x22
	mov	w1, #0
	mov	x2, x24
	bl	_memset
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	mov	x3, x23
	mov	x4, x21
	mov	x5, x25
	blr	x8
	ldrsw	x8, [x28]
	cmp	x0, x8
	b.ls	LBB0_10
; %bb.9:
Lloh25:
	adrp	x8, _SSL_AD_HANDSHAKE_FAILURE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SSL_AD_HANDSHAKE_FAILURE@GOTPAGEOFF]
	b	LBB0_29
LBB0_10:
	mov	x23, x0
	cbz	x0, LBB0_18
; %bb.11:
	mov	w8, #275
	sturh	w8, [x29, #-116]
	mov	x0, x22
	bl	_strlen
	stur	x0, [x29, #-104]
	ldrsw	x8, [x27]
	cmp	x0, x8
	b.hi	LBB0_28
; %bb.12:
	stur	x22, [x29, #-96]
	sub	x1, x29, #116
	mov	x0, x19
	bl	_SSL_CIPHER_find
	cbz	x0, LBB0_28
; %bb.13:
	mov	x22, x0
	bl	_SSL_SESSION_new
	stur	x0, [x29, #-112]
	cbz	x0, LBB0_39
; %bb.14:
	mov	x1, x21
	mov	x2, x23
	bl	_SSL_SESSION_set1_master_key
	cbz	w0, LBB0_39
; %bb.15:
	ldur	x0, [x29, #-112]
	mov	x1, x22
	bl	_SSL_SESSION_set_cipher
	cbz	w0, LBB0_39
; %bb.16:
	ldur	x0, [x29, #-112]
Lloh27:
	adrp	x8, _TLS1_3_VERSION@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TLS1_3_VERSION@GOTPAGEOFF]
Lloh29:
	ldr	x1, [x8]
	bl	_SSL_SESSION_set_protocol_version
	cbz	w0, LBB0_39
; %bb.17:
	mov	x0, x21
	mov	x1, x23
	bl	_OPENSSL_cleanse
LBB0_18:
	mov	sp, x26
LBB0_19:
	ldr	x0, [x19, #88]
	bl	_SSL_SESSION_free
	ldur	x8, [x29, #-112]
	str	x8, [x19, #88]
	cbz	x8, LBB0_22
; %bb.20:
	ldr	x0, [x19, #80]
	bl	_OPENSSL_free
	ldp	x1, x0, [x29, #-104]
	bl	_OPENSSL_memdup
	str	x0, [x19, #80]
	cbz	x0, LBB0_46
; %bb.21:
	ldur	x8, [x29, #-104]
	str	x8, [x19, #16]
LBB0_22:
	ldr	x8, [x19, #24]
Lloh30:
	adrp	x9, _SSL_EARLY_DATA_CONNECTING@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SSL_EARLY_DATA_CONNECTING@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_38
; %bb.23:
	ldr	x21, [x19, #72]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_36
LBB0_24:
	ldr	x8, [x21, #8]
	str	x8, [x19, #32]
	ldr	x1, [x21, #32]
	cbz	x1, LBB0_31
; %bb.25:
	ldr	x0, [x19, #64]
	cbz	x0, LBB0_27
; %bb.26:
	bl	_strcmp
	cbz	x0, LBB0_31
LBB0_27:
Lloh33:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
Lloh39:
	adrp	x8, _SSL_R_INCONSISTENT_EARLY_DATA_SNI@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SSL_R_INCONSISTENT_EARLY_DATA_SNI@GOTPAGEOFF]
	b	LBB0_47
LBB0_28:
Lloh41:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_29:
	ldr	w1, [x8]
Lloh43:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
Lloh46:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh48:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
LBB0_30:
Lloh49:
	adrp	x8, _EXT_RETURN_FAIL@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EXT_RETURN_FAIL@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	mov	sp, x26
	b	LBB0_49
LBB0_31:
	ldr	x1, [x19, #56]
	ldr	x8, [x21, #24]
	cbz	x1, LBB0_40
; %bb.32:
	cbz	x8, LBB0_42
; %bb.33:
	ldr	w2, [x19, #48]
	sub	x0, x29, #116
	bl	_PACKET_buf_init
	cbz	w0, LBB0_46
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	sub	x0, x29, #116
	sub	x1, x29, #120
	bl	_PACKET_get_length_prefixed_1
	cbz	x0, LBB0_41
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x1, [x21, #24]
	ldr	w2, [x21, #16]
	sub	x0, x29, #120
	bl	_PACKET_equal
	cbz	x0, LBB0_34
	b	LBB0_42
LBB0_36:
	ldur	x21, [x29, #-112]
	cbz	x21, LBB0_38
; %bb.37:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_24
LBB0_38:
	str	xzr, [x19, #32]
Lloh52:
	adrp	x8, _EXT_RETURN_NOT_SENT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _EXT_RETURN_NOT_SENT@GOTPAGEOFF]
	b	LBB0_48
LBB0_39:
Lloh54:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
Lloh60:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh62:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	x0, x21
	mov	x1, x23
	bl	_OPENSSL_cleanse
	b	LBB0_30
LBB0_40:
	cbz	x8, LBB0_42
LBB0_41:
Lloh63:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
Lloh66:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGE
Lloh67:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
Lloh69:
	adrp	x8, _SSL_R_INCONSISTENT_EARLY_DATA_ALPN@GOTPAGE
Lloh70:
	ldr	x8, [x8, _SSL_R_INCONSISTENT_EARLY_DATA_ALPN@GOTPAGEOFF]
	b	LBB0_47
LBB0_42:
Lloh71:
	adrp	x8, _TLSEXT_TYPE_early_data@GOTPAGE
Lloh72:
	ldr	x8, [x8, _TLSEXT_TYPE_early_data@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_46
; %bb.43:
	mov	x0, x20
	bl	_WPACKET_start_sub_packet_u16
	cbz	w0, LBB0_46
; %bb.44:
	mov	x0, x20
	bl	_WPACKET_close
	cbz	w0, LBB0_46
; %bb.45:
Lloh74:
	adrp	x8, _SSL_EARLY_DATA_REJECTED@GOTPAGE
Lloh75:
	ldr	x8, [x8, _SSL_EARLY_DATA_REJECTED@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [x19, #40]
Lloh77:
	adrp	x8, _EXT_RETURN_SENT@GOTPAGE
Lloh78:
	ldr	x8, [x8, _EXT_RETURN_SENT@GOTPAGEOFF]
	b	LBB0_48
LBB0_46:
Lloh79:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh80:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
Lloh82:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGE
Lloh83:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA@GOTPAGEOFF]
Lloh84:
	ldr	w2, [x8]
Lloh85:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh86:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_47:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
Lloh87:
	adrp	x8, _EXT_RETURN_FAIL@GOTPAGE
Lloh88:
	ldr	x8, [x8, _EXT_RETURN_FAIL@GOTPAGEOFF]
LBB0_48:
	ldr	w0, [x8]
LBB0_49:
	ldur	x8, [x29, #-88]
Lloh89:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh90:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_51
; %bb.50:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_51:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_PSK_MAX_IDENTITY_LEN,4,2       ; @PSK_MAX_IDENTITY_LEN
	.comm	_SSL_HRR_PENDING,8,3            ; @SSL_HRR_PENDING
	.comm	_TLS1_3_VERSION,8,3             ; @TLS1_3_VERSION
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA,4,2 ; @SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA
	.comm	_SSL_R_BAD_PSK,4,2              ; @SSL_R_BAD_PSK
	.comm	_EXT_RETURN_FAIL,4,2            ; @EXT_RETURN_FAIL
	.comm	_PSK_MAX_PSK_LEN,4,2            ; @PSK_MAX_PSK_LEN
	.comm	_SSL_AD_HANDSHAKE_FAILURE,4,2   ; @SSL_AD_HANDSHAKE_FAILURE
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_SSL_EARLY_DATA_CONNECTING,8,3  ; @SSL_EARLY_DATA_CONNECTING
	.comm	_EXT_RETURN_NOT_SENT,4,2        ; @EXT_RETURN_NOT_SENT
	.comm	_SSL_R_INCONSISTENT_EARLY_DATA_SNI,4,2 ; @SSL_R_INCONSISTENT_EARLY_DATA_SNI
	.comm	_SSL_R_INCONSISTENT_EARLY_DATA_ALPN,4,2 ; @SSL_R_INCONSISTENT_EARLY_DATA_ALPN
	.comm	_TLSEXT_TYPE_early_data,4,2     ; @TLSEXT_TYPE_early_data
	.comm	_SSL_EARLY_DATA_REJECTED,4,2    ; @SSL_EARLY_DATA_REJECTED
	.comm	_EXT_RETURN_SENT,4,2            ; @EXT_RETURN_SENT
.subsections_via_symbols
