	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls13_change_cipher_state      ## -- Begin function tls13_change_cipher_state
	.p2align	4, 0x90
_tls13_change_cipher_state:             ## @tls13_change_cipher_state
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -192(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	$0, -64(%rbp)
	movq	_SSL3_CC_READ@GOTPCREL(%rip), %r14
	testl	%r12d, (%r14)
	je	LBB0_3
## %bb.1:
	movq	176(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.2:
	callq	_EVP_CIPHER_CTX_reset
	movq	176(%r15), %rbx
	jmp	LBB0_6
LBB0_3:
	movq	_ENC_WRITE_STATE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%r15)
	movq	168(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	callq	_EVP_CIPHER_CTX_reset
	movq	168(%r15), %rbx
	jmp	LBB0_8
LBB0_5:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_EVP_CIPHER_CTX_new
	movq	%rax, %rbx
	movq	%rax, 176(%r15)
	testq	%rax, %rax
	je	LBB0_24
LBB0_6:
	movq	(%r15), %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	leaq	160(%r15), %rdi
	callq	_RECORD_LAYER_reset_read_sequence
	jmp	LBB0_9
LBB0_7:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_EVP_CIPHER_CTX_new
	movq	%rax, %rbx
	movq	%rax, 168(%r15)
	testq	%rax, %rax
	je	LBB0_24
LBB0_8:
	movq	8(%r15), %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	leaq	160(%r15), %rdi
	callq	_RECORD_LAYER_reset_write_sequence
LBB0_9:
	movq	_SSL3_CC_CLIENT@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_11
## %bb.10:
	movq	_SSL3_CC_WRITE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_13
LBB0_11:
	movq	_SSL3_CC_SERVER@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_20
## %bb.12:
	testl	%r12d, (%r14)
	je	LBB0_20
LBB0_13:
	movq	_SSL3_CC_EARLY@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_22
## %bb.14:
	movq	152(%r15), %rdi
	callq	_SSL_SESSION_get0_cipher
	movq	%rax, %r14
	movq	16(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	136(%r15), %rax
	movq	_CLIENT_EARLY_LABEL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movl	8(%rax), %edi
	leaq	-200(%rbp), %rsi
	callq	_BIO_get_mem_data
	testq	%rax, %rax
	jle	LBB0_25
## %bb.15:
	movq	%rax, %r13
	movq	24(%r15), %rax
	movq	_SSL_EARLY_DATA_CONNECTING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_57
## %bb.16:
	movq	32(%r15), %rax
	testq	%rax, %rax
	jle	LBB0_57
## %bb.17:
	movq	152(%r15), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_57
## %bb.18:
	movq	144(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_54
## %bb.19:
	cmpq	(%rcx), %rax
	sete	%al
	jmp	LBB0_55
LBB0_20:
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movq	_SSL3_CC_HANDSHAKE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_26
## %bb.21:
	movq	48(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	88(%r15), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_ssl_handshake_md
	movq	%rax, %rdi
	callq	_EVP_MD_size
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_SERVER_HANDSHAKE_LABEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	$12, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	_tls13_change_cipher_state.server_handshake_traffic(%rip), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movb	$1, %bl
	xorl	%ecx, %ecx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	jmp	LBB0_28
LBB0_22:
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movq	_SSL3_CC_HANDSHAKE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_51
## %bb.23:
	movq	48(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	56(%r15), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_ssl_handshake_md
	movq	%rax, %rdi
	callq	_EVP_MD_size
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_CLIENT_HANDSHAKE_LABEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	64(%r15), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	$12, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	_tls13_change_cipher_state.client_handshake_traffic(%rip), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	jmp	LBB0_27
LBB0_24:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_SSLfatal
	jmp	LBB0_72
LBB0_25:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_HANDSHAKE_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_70
LBB0_26:
	movq	72(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_SERVER_APPLICATION_LABEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	$12, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	_tls13_change_cipher_state.server_application_traffic(%rip), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movb	$1, %cl
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
LBB0_27:
	xorl	%ebx, %ebx
LBB0_28:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_29:
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
LBB0_30:
	movq	_SSL3_CC_EARLY@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	je	LBB0_41
LBB0_31:
	testb	%cl, %cl
	je	LBB0_32
## %bb.34:
	movq	80(%r15), %rdi
	movq	-64(%rbp), %rdx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	testb	%bl, %bl
	jne	LBB0_35
LBB0_33:
	cmpb	$0, -56(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_36
	jmp	LBB0_37
LBB0_32:
	testb	%bl, %bl
	je	LBB0_33
LBB0_35:
	movq	64(%r15), %rdi
	movq	-64(%rbp), %rdx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	cmpb	$0, -56(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_37
LBB0_36:
	movq	%r15, %rdi
	callq	_ssl_handshake_md
	movq	-64(%rbp), %rbx
	leaq	_tls13_change_cipher_state.resumption_master_secret(%rip), %rcx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	$10, %r8d
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	pushq	$1
	pushq	%rbx
	pushq	96(%r15)
	pushq	%rbx
	callq	_tls13_hkdf_expand
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_71
LBB0_37:
	movq	_SSL3_CC_WRITE@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	subq	$8, %rsp
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r9
	pushq	-160(%rbp)                      ## 8-byte Folded Reload
	pushq	-184(%rbp)                      ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	callq	_derive_secret_key_and_iv
	addq	$48, %rsp
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_72
## %bb.38:
	cmpb	$0, -176(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_43
## %bb.39:
	movq	104(%r15), %rdi
	movq	-64(%rbp), %rdx
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_memcpy
	movq	%r15, %rdi
	callq	_ssl_handshake_md
	movq	-64(%rbp), %r10
	leaq	_tls13_change_cipher_state.exporter_master_secret(%rip), %rcx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	$10, %r8d
	movq	%rbx, %r9
	pushq	$1
	pushq	%r10
	pushq	112(%r15)
	pushq	%r10
	callq	_tls13_hkdf_expand
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_72
## %bb.40:
	movq	_EXPORTER_SECRET_LABEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	112(%r15), %rdx
	movq	-64(%rbp), %rcx
	movq	%r15, %rdi
	callq	_ssl_log_secret
	testl	%eax, %eax
	jne	LBB0_45
	jmp	LBB0_72
LBB0_41:
	movq	%r15, %rdi
	callq	_ssl_handshake_md
	movq	%rax, %r14
	movq	136(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_ssl3_digest_cached_records
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_72
## %bb.42:
	leaq	-64(%rbp), %rcx
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-192(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ssl_handshake_hash
	testl	%eax, %eax
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	jne	LBB0_31
	jmp	LBB0_72
LBB0_43:
	cmpb	$0, -56(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_45
## %bb.44:
	movq	120(%r15), %rdi
	movq	-64(%rbp), %rdx
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_memcpy
LBB0_45:
	movq	-64(%rbp), %rcx
	movq	%r15, %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_ssl_log_secret
	testl	%eax, %eax
	je	LBB0_72
## %bb.46:
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_48
## %bb.47:
	movq	%r15, %rdi
	callq	_ssl_handshake_md
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	callq	_tls13_derive_finishedkey
	testl	%eax, %eax
	je	LBB0_72
LBB0_48:
	cmpl	$0, 132(%r15)
	setne	%al
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	xorb	$1, %cl
	orb	%al, %cl
	jne	LBB0_52
## %bb.49:
	movq	_ENC_WRITE_STATE_WRITE_PLAIN_ALERTS@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_51:
	movq	72(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	80(%r15), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_CLIENT_APPLICATION_LABEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	$12, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	_tls13_change_cipher_state.client_application_traffic(%rip), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movb	$1, %al
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_29
LBB0_52:
	movq	_ENC_WRITE_STATE_VALID@GOTPCREL(%rip), %rax
LBB0_53:
	movl	(%rax), %eax
	movl	%eax, 128(%r15)
	movl	$1, %r13d
	jmp	LBB0_72
LBB0_54:
	xorl	%eax, %eax
LBB0_55:
	movzbl	%al, %edi
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_69
## %bb.56:
	movq	144(%r15), %rdi
	callq	_SSL_SESSION_get0_cipher
	movq	%rax, %r14
LBB0_57:
	testq	%r14, %r14
	je	LBB0_66
## %bb.58:
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	testq	%rax, %rax
	je	LBB0_68
## %bb.59:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_SSL_CIPHER_get_cipher_nid
	movl	%eax, %edi
	callq	_EVP_get_cipherbynid
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	callq	_ssl_md
	testq	%rax, %rax
	je	LBB0_67
## %bb.60:
	movq	%rax, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	testl	%eax, %eax
	je	LBB0_67
## %bb.61:
	movq	-200(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_EVP_DigestUpdate
	testl	%eax, %eax
	je	LBB0_67
## %bb.62:
	leaq	-164(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_EVP_DigestFinal_ex
	testl	%eax, %eax
	je	LBB0_67
## %bb.63:
	movl	-164(%rbp), %r13d
	movq	%r13, -64(%rbp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_MD_CTX_free
	leaq	_tls13_change_cipher_state.early_exporter_master_secret(%rip), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	$12, %r8d
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	pushq	$1
	pushq	%r13
	pushq	40(%r15)
	pushq	%r13
	callq	_tls13_hkdf_expand
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_69
## %bb.64:
	movq	_EARLY_EXPORTER_SECRET_LABEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	40(%r15), %rdx
	movq	%r15, %rdi
	movq	%r13, %rcx
	callq	_ssl_log_secret
	testl	%eax, %eax
	je	LBB0_71
## %bb.65:
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movl	$11, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	_tls13_change_cipher_state.client_early_traffic(%rip), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movb	$1, %al
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_30
LBB0_66:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_PSK@GOTPCREL(%rip), %rax
	jmp	LBB0_70
LBB0_67:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_SSLfatal
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_MD_CTX_free
	jmp	LBB0_71
LBB0_68:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_70
LBB0_69:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_70:
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_SSLfatal
LBB0_71:
	xorl	%r13d, %r13d
LBB0_72:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-192(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_OPENSSL_cleanse
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_75
## %bb.73:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_75:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_tls13_change_cipher_state.client_early_traffic: ## @tls13_change_cipher_state.client_early_traffic
	.asciz	"c e traffic"

_tls13_change_cipher_state.client_handshake_traffic: ## @tls13_change_cipher_state.client_handshake_traffic
	.asciz	"c hs traffic"

_tls13_change_cipher_state.client_application_traffic: ## @tls13_change_cipher_state.client_application_traffic
	.asciz	"c ap traffic"

_tls13_change_cipher_state.server_handshake_traffic: ## @tls13_change_cipher_state.server_handshake_traffic
	.asciz	"s hs traffic"

_tls13_change_cipher_state.server_application_traffic: ## @tls13_change_cipher_state.server_application_traffic
	.asciz	"s ap traffic"

_tls13_change_cipher_state.exporter_master_secret: ## @tls13_change_cipher_state.exporter_master_secret
	.asciz	"exp master"

_tls13_change_cipher_state.resumption_master_secret: ## @tls13_change_cipher_state.resumption_master_secret
	.asciz	"res master"

_tls13_change_cipher_state.early_exporter_master_secret: ## @tls13_change_cipher_state.early_exporter_master_secret
	.asciz	"e exp master"

	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_SSL3_CC_READ,4,2               ## @SSL3_CC_READ
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS13_CHANGE_CIPHER_STATE,4,2 ## @SSL_F_TLS13_CHANGE_CIPHER_STATE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ENC_WRITE_STATE_INVALID,4,2    ## @ENC_WRITE_STATE_INVALID
	.comm	_SSL3_CC_CLIENT,4,2             ## @SSL3_CC_CLIENT
	.comm	_SSL3_CC_WRITE,4,2              ## @SSL3_CC_WRITE
	.comm	_SSL3_CC_SERVER,4,2             ## @SSL3_CC_SERVER
	.comm	_SSL3_CC_EARLY,4,2              ## @SSL3_CC_EARLY
	.comm	_CLIENT_EARLY_LABEL,8,3         ## @CLIENT_EARLY_LABEL
	.comm	_SSL_R_BAD_HANDSHAKE_LENGTH,4,2 ## @SSL_R_BAD_HANDSHAKE_LENGTH
	.comm	_SSL_EARLY_DATA_CONNECTING,8,3  ## @SSL_EARLY_DATA_CONNECTING
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_SSL_R_BAD_PSK,4,2              ## @SSL_R_BAD_PSK
	.comm	_EARLY_EXPORTER_SECRET_LABEL,8,3 ## @EARLY_EXPORTER_SECRET_LABEL
	.comm	_SSL3_CC_HANDSHAKE,4,2          ## @SSL3_CC_HANDSHAKE
	.comm	_CLIENT_HANDSHAKE_LABEL,8,3     ## @CLIENT_HANDSHAKE_LABEL
	.comm	_CLIENT_APPLICATION_LABEL,8,3   ## @CLIENT_APPLICATION_LABEL
	.comm	_SERVER_HANDSHAKE_LABEL,8,3     ## @SERVER_HANDSHAKE_LABEL
	.comm	_SERVER_APPLICATION_LABEL,8,3   ## @SERVER_APPLICATION_LABEL
	.comm	_EXPORTER_SECRET_LABEL,8,3      ## @EXPORTER_SECRET_LABEL
	.comm	_ENC_WRITE_STATE_WRITE_PLAIN_ALERTS,4,2 ## @ENC_WRITE_STATE_WRITE_PLAIN_ALERTS
	.comm	_ENC_WRITE_STATE_VALID,4,2      ## @ENC_WRITE_STATE_VALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls13_change_cipher_state      ; -- Begin function tls13_change_cipher_state
	.p2align	2
_tls13_change_cipher_state:             ; @tls13_change_cipher_state
	.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, #128
	mov	x22, x1
	mov	x21, 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	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x12, x9, #0x1fffffff0
	sub	x20, x8, x12
	mov	sp, x20
	mov	x9, x19
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
	stur	xzr, [x29, #-96]
Lloh10:
	adrp	x25, _SSL3_CC_READ@GOTPAGE
Lloh11:
	ldr	x25, [x25, _SSL3_CC_READ@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w1
	b.eq	LBB0_3
; %bb.1:
	ldr	x0, [x21, #176]
	cbz	x0, LBB0_5
; %bb.2:
	bl	_EVP_CIPHER_CTX_reset
	ldr	x24, [x21, #176]
	b	LBB0_6
LBB0_3:
Lloh12:
	adrp	x8, _ENC_WRITE_STATE_INVALID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENC_WRITE_STATE_INVALID@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x21, #128]
	ldr	x0, [x21, #168]
	cbz	x0, LBB0_7
; %bb.4:
	bl	_EVP_CIPHER_CTX_reset
	ldr	x24, [x21, #168]
	b	LBB0_8
LBB0_5:
	bl	_EVP_CIPHER_CTX_new
	mov	x24, x0
	str	x0, [x21, #176]
	cbz	x0, LBB0_62
LBB0_6:
	mov	x0, x21
	ldr	x28, [x0], #160
	bl	_RECORD_LAYER_reset_read_sequence
	b	LBB0_9
LBB0_7:
	bl	_EVP_CIPHER_CTX_new
	mov	x24, x0
	str	x0, [x21, #168]
	cbz	x0, LBB0_62
LBB0_8:
	ldr	x28, [x21, #8]
	add	x0, x21, #160
	bl	_RECORD_LAYER_reset_write_sequence
LBB0_9:
Lloh15:
	adrp	x8, _SSL3_CC_CLIENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL3_CC_CLIENT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x10, _SSL3_CC_EARLY@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SSL3_CC_EARLY@GOTPAGEOFF]
Lloh20:
	adrp	x9, _SSL3_CC_WRITE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SSL3_CC_WRITE@GOTPAGEOFF]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.10:
	ldr	w8, [x9]
	tst	w8, w22
	b.ne	LBB0_13
LBB0_11:
Lloh22:
	adrp	x8, _SSL3_CC_SERVER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SSL3_CC_SERVER@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_20
; %bb.12:
	ldr	w8, [x25]
	tst	w8, w22
	b.eq	LBB0_20
LBB0_13:
	ldr	w8, [x10]
	tst	w8, w22
	b.eq	LBB0_22
; %bb.14:
	ldr	x0, [x21, #152]
	bl	_SSL_SESSION_get0_cipher
	mov	x27, x0
	ldr	x8, [x21, #16]
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
Lloh25:
	adrp	x8, _CLIENT_EARLY_LABEL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CLIENT_EARLY_LABEL@GOTPAGEOFF]
Lloh27:
	ldr	x26, [x8]
	ldr	x8, [x21, #136]
	ldr	w0, [x8, #8]
	sub	x1, x29, #104
	bl	_BIO_get_mem_data
	cmp	x0, #0
	b.le	LBB0_24
; %bb.15:
	mov	x25, x0
	ldr	x8, [x21, #24]
Lloh28:
	adrp	x9, _SSL_EARLY_DATA_CONNECTING@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SSL_EARLY_DATA_CONNECTING@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_53
; %bb.16:
	ldr	x8, [x21, #32]
	cmp	x8, #1
	b.lt	LBB0_53
; %bb.17:
	ldr	x9, [x21, #152]
	ldr	x9, [x9]
	cbnz	x9, LBB0_53
; %bb.18:
	ldr	x9, [x21, #144]
	cbz	x9, LBB0_50
; %bb.19:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_51
LBB0_20:
	stp	x24, x28, [x29, #-144]          ; 16-byte Folded Spill
Lloh31:
	adrp	x8, _SSL3_CC_HANDSHAKE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SSL3_CC_HANDSHAKE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_25
; %bb.21:
	ldr	x8, [x21, #48]
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	ldr	x8, [x21, #88]
	stur	x8, [x29, #-176]                ; 8-byte Folded Spill
	mov	x0, x21
	mov	x25, x10
	bl	_ssl_handshake_md
	bl	_EVP_MD_size
	mov	x10, x25
	stur	x0, [x29, #-192]                ; 8-byte Folded Spill
	mov	w25, #0
	stur	wzr, [x29, #-124]               ; 4-byte Folded Spill
	stur	wzr, [x29, #-180]               ; 4-byte Folded Spill
	mov	x26, #0
	mov	x24, #0
Lloh34:
	adrp	x8, _SERVER_HANDSHAKE_LABEL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SERVER_HANDSHAKE_LABEL@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x8]
Lloh37:
	adrp	x8, _tls13_change_cipher_state.server_handshake_traffic@PAGE
Lloh38:
	add	x8, x8, _tls13_change_cipher_state.server_handshake_traffic@PAGEOFF
	stp	x9, x8, [x29, #-168]            ; 16-byte Folded Spill
	mov	w27, #1
	b	LBB0_26
LBB0_22:
	stp	x24, x28, [x29, #-144]          ; 16-byte Folded Spill
Lloh39:
	adrp	x8, _SSL3_CC_HANDSHAKE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SSL3_CC_HANDSHAKE@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_47
; %bb.23:
	ldr	x8, [x21, #48]
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	ldr	x8, [x21, #56]
	stur	x8, [x29, #-176]                ; 8-byte Folded Spill
	mov	x0, x21
	mov	x25, x10
	bl	_ssl_handshake_md
	bl	_EVP_MD_size
	mov	x10, x25
	stur	x0, [x29, #-192]                ; 8-byte Folded Spill
	mov	w25, #0
	mov	w27, #0
	stur	wzr, [x29, #-124]               ; 4-byte Folded Spill
	stur	wzr, [x29, #-180]               ; 4-byte Folded Spill
	mov	x26, #0
	mov	x24, #0
Lloh42:
	adrp	x8, _CLIENT_HANDSHAKE_LABEL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CLIENT_HANDSHAKE_LABEL@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x8]
	ldr	x8, [x21, #64]
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
Lloh45:
	adrp	x8, _tls13_change_cipher_state.client_handshake_traffic@PAGE
Lloh46:
	add	x8, x8, _tls13_change_cipher_state.client_handshake_traffic@PAGEOFF
	stp	x9, x8, [x29, #-168]            ; 16-byte Folded Spill
	mov	w28, #12
	b	LBB0_27
LBB0_24:
Lloh47:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x8, _SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
Lloh53:
	adrp	x8, _SSL_R_BAD_HANDSHAKE_LENGTH@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SSL_R_BAD_HANDSHAKE_LENGTH@GOTPAGEOFF]
	b	LBB0_64
LBB0_25:
	stur	xzr, [x29, #-176]               ; 8-byte Folded Spill
	stur	xzr, [x29, #-192]               ; 8-byte Folded Spill
	mov	w27, #0
	stur	wzr, [x29, #-124]               ; 4-byte Folded Spill
	stur	wzr, [x29, #-180]               ; 4-byte Folded Spill
	mov	x26, #0
	mov	x24, #0
	ldr	x8, [x21, #72]
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
Lloh55:
	adrp	x8, _SERVER_APPLICATION_LABEL@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SERVER_APPLICATION_LABEL@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x8]
Lloh58:
	adrp	x8, _tls13_change_cipher_state.server_application_traffic@PAGE
Lloh59:
	add	x8, x8, _tls13_change_cipher_state.server_application_traffic@PAGEOFF
	stp	x9, x8, [x29, #-168]            ; 16-byte Folded Spill
	mov	w25, #1
LBB0_26:
	mov	w28, #12
	stur	x23, [x29, #-152]               ; 8-byte Folded Spill
LBB0_27:
	ldr	w8, [x10]
	tst	w8, w22
	b.eq	LBB0_38
LBB0_28:
	cbz	w25, LBB0_30
; %bb.29:
	ldr	x0, [x21, #80]
	ldur	x2, [x29, #-96]
	mov	x1, x23
	bl	_memcpy
LBB0_30:
	cbz	w27, LBB0_32
; %bb.31:
	ldr	x0, [x21, #64]
	ldur	x2, [x29, #-96]
	mov	x1, x23
	bl	_memcpy
LBB0_32:
	ldur	x27, [x29, #-120]               ; 8-byte Folded Reload
	ldur	w8, [x29, #-124]                ; 4-byte Folded Reload
	cbz	w8, LBB0_34
; %bb.33:
	mov	x0, x21
	bl	_ssl_handshake_md
	mov	x1, x0
	ldur	x6, [x29, #-96]
	ldr	x7, [x21, #96]
	sub	sp, sp, #16
	mov	w8, #1
	str	w8, [sp, #8]
	str	x6, [sp]
Lloh60:
	adrp	x3, _tls13_change_cipher_state.resumption_master_secret@PAGE
Lloh61:
	add	x3, x3, _tls13_change_cipher_state.resumption_master_secret@PAGEOFF
	mov	x0, x21
	mov	x2, x27
	mov	w4, #10
	mov	x5, x23
	bl	_tls13_hkdf_expand
	add	sp, sp, #16
	cbz	w0, LBB0_65
LBB0_34:
Lloh62:
	adrp	x8, _SSL3_CC_WRITE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _SSL3_CC_WRITE@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	and	w1, w8, w22
	sub	sp, sp, #32
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	str	x8, [sp, #16]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	stp	x20, x8, [sp]
	mov	x0, x21
	mov	x2, x26
	mov	x3, x24
	mov	x4, x27
	ldp	x6, x22, [x29, #-160]           ; 16-byte Folded Reload
	mov	x5, x22
	mov	x7, x28
	bl	_derive_secret_key_and_iv
	add	sp, sp, #32
	cbz	w0, LBB0_65
; %bb.35:
	cbz	w25, LBB0_40
; %bb.36:
	ldr	x0, [x21, #104]
	ldur	x2, [x29, #-96]
	mov	x1, x20
	bl	_memcpy
	mov	x0, x21
	bl	_ssl_handshake_md
	mov	x1, x0
	ldur	x6, [x29, #-96]
	ldr	x7, [x21, #112]
	sub	sp, sp, #16
	mov	w8, #1
	str	w8, [sp, #8]
	str	x6, [sp]
Lloh65:
	adrp	x3, _tls13_change_cipher_state.exporter_master_secret@PAGE
Lloh66:
	add	x3, x3, _tls13_change_cipher_state.exporter_master_secret@PAGEOFF
	mov	x0, x21
	mov	x2, x27
	mov	w4, #10
	mov	x5, x22
	bl	_tls13_hkdf_expand
	add	sp, sp, #16
	cbz	w0, LBB0_65
; %bb.37:
Lloh67:
	adrp	x8, _EXPORTER_SECRET_LABEL@GOTPAGE
Lloh68:
	ldr	x8, [x8, _EXPORTER_SECRET_LABEL@GOTPAGEOFF]
Lloh69:
	ldr	x1, [x8]
	ldr	x2, [x21, #112]
	ldur	x3, [x29, #-96]
	mov	x0, x21
	bl	_ssl_log_secret
	cbnz	w0, LBB0_42
	b	LBB0_65
LBB0_38:
	mov	x0, x21
	bl	_ssl_handshake_md
	mov	x26, x0
	ldr	x8, [x21, #136]
	ldr	x24, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_ssl3_digest_cached_records
	cbz	w0, LBB0_65
; %bb.39:
	sub	x3, x29, #96
	mov	x0, x21
	mov	x1, x23
	mov	x2, x19
	bl	_ssl_handshake_hash
	cbnz	w0, LBB0_28
	b	LBB0_65
LBB0_40:
	ldur	w8, [x29, #-124]                ; 4-byte Folded Reload
	cbz	w8, LBB0_42
; %bb.41:
	ldr	x0, [x21, #120]
	ldur	x2, [x29, #-96]
	mov	x1, x20
	bl	_memcpy
LBB0_42:
	ldur	x3, [x29, #-96]
	mov	x0, x21
	ldur	x1, [x29, #-168]                ; 8-byte Folded Reload
	mov	x2, x20
	bl	_ssl_log_secret
	cbz	w0, LBB0_65
; %bb.43:
	ldur	x22, [x29, #-176]               ; 8-byte Folded Reload
	cbz	x22, LBB0_45
; %bb.44:
	mov	x0, x21
	bl	_ssl_handshake_md
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	mov	x3, x22
	ldur	x4, [x29, #-192]                ; 8-byte Folded Reload
	bl	_tls13_derive_finishedkey
	cbz	w0, LBB0_65
LBB0_45:
	ldr	w8, [x21, #132]
	cmp	w8, #0
	cset	w8, ne
	ldur	w9, [x29, #-180]                ; 4-byte Folded Reload
	eor	w9, w9, #0x1
	orr	w8, w9, w8
	tbnz	w8, #0, LBB0_48
; %bb.46:
Lloh70:
	adrp	x8, _ENC_WRITE_STATE_WRITE_PLAIN_ALERTS@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ENC_WRITE_STATE_WRITE_PLAIN_ALERTS@GOTPAGEOFF]
	b	LBB0_49
LBB0_47:
	stur	xzr, [x29, #-176]               ; 8-byte Folded Spill
	stur	xzr, [x29, #-192]               ; 8-byte Folded Spill
	mov	w25, #0
	mov	w27, #0
	stur	wzr, [x29, #-180]               ; 4-byte Folded Spill
	mov	x26, #0
	mov	x24, #0
Lloh72:
	adrp	x8, _CLIENT_APPLICATION_LABEL@GOTPAGE
Lloh73:
	ldr	x8, [x8, _CLIENT_APPLICATION_LABEL@GOTPAGEOFF]
Lloh74:
	ldr	x9, [x8]
	ldr	x8, [x21, #72]
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	ldr	x8, [x21, #80]
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
Lloh75:
	adrp	x8, _tls13_change_cipher_state.client_application_traffic@PAGE
Lloh76:
	add	x8, x8, _tls13_change_cipher_state.client_application_traffic@PAGEOFF
	stp	x9, x8, [x29, #-168]            ; 16-byte Folded Spill
	mov	w8, #1
	stur	w8, [x29, #-124]                ; 4-byte Folded Spill
	mov	w28, #12
	b	LBB0_27
LBB0_48:
Lloh77:
	adrp	x8, _ENC_WRITE_STATE_VALID@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ENC_WRITE_STATE_VALID@GOTPAGEOFF]
LBB0_49:
	ldr	w8, [x8]
	str	w8, [x21, #128]
	mov	w21, #1
	b	LBB0_66
LBB0_50:
	mov	w0, #0
LBB0_51:
	bl	_ossl_assert
	cbz	w0, LBB0_69
; %bb.52:
	ldr	x0, [x21, #144]
	bl	_SSL_SESSION_get0_cipher
	mov	x27, x0
LBB0_53:
	cbz	x27, LBB0_63
; %bb.54:
	stur	x26, [x29, #-168]               ; 8-byte Folded Spill
	bl	_EVP_MD_CTX_new
	cbz	x0, LBB0_62
; %bb.55:
	mov	x26, x0
	mov	x0, x27
	bl	_SSL_CIPHER_get_cipher_nid
	bl	_EVP_get_cipherbynid
	stur	x0, [x29, #-200]                ; 8-byte Folded Spill
	ldr	w0, [x27]
	bl	_ssl_md
	cbz	x0, LBB0_68
; %bb.56:
	mov	x27, x0
	mov	x0, x26
	mov	x1, x27
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	cbz	w0, LBB0_68
; %bb.57:
	ldur	x1, [x29, #-104]
	mov	x0, x26
	mov	x2, x25
	bl	_EVP_DigestUpdate
	cbz	w0, LBB0_68
; %bb.58:
	sub	x2, x29, #108
	mov	x0, x26
	mov	x1, x23
	bl	_EVP_DigestFinal_ex
	cbz	w0, LBB0_68
; %bb.59:
	ldur	w25, [x29, #-108]
	stur	x25, [x29, #-96]
	mov	x0, x26
	bl	_EVP_MD_CTX_free
	ldr	x7, [x21, #40]
	sub	sp, sp, #16
	mov	w8, #1
	str	w8, [sp, #8]
	str	x25, [sp]
Lloh79:
	adrp	x3, _tls13_change_cipher_state.early_exporter_master_secret@PAGE
Lloh80:
	add	x3, x3, _tls13_change_cipher_state.early_exporter_master_secret@PAGEOFF
	mov	x0, x21
	mov	x1, x27
	ldur	x2, [x29, #-120]                ; 8-byte Folded Reload
	mov	w4, #12
	mov	x5, x23
	mov	x6, x25
	bl	_tls13_hkdf_expand
	add	sp, sp, #16
	cbz	w0, LBB0_69
; %bb.60:
Lloh81:
	adrp	x8, _EARLY_EXPORTER_SECRET_LABEL@GOTPAGE
Lloh82:
	ldr	x8, [x8, _EARLY_EXPORTER_SECRET_LABEL@GOTPAGEOFF]
Lloh83:
	ldr	x1, [x8]
	ldr	x2, [x21, #40]
	mov	x0, x21
	mov	x3, x25
	bl	_ssl_log_secret
	cbz	w0, LBB0_65
; %bb.61:
	mov	x26, x27
	stp	x24, x28, [x29, #-144]          ; 16-byte Folded Spill
	stur	xzr, [x29, #-176]               ; 8-byte Folded Spill
	stur	xzr, [x29, #-192]               ; 8-byte Folded Spill
	mov	w25, #0
	mov	w27, #0
	stur	wzr, [x29, #-124]               ; 4-byte Folded Spill
	mov	w8, #1
	stur	w8, [x29, #-180]                ; 4-byte Folded Spill
	mov	w28, #11
Lloh84:
	adrp	x8, _tls13_change_cipher_state.client_early_traffic@PAGE
Lloh85:
	add	x8, x8, _tls13_change_cipher_state.client_early_traffic@PAGEOFF
	stp	x8, x23, [x29, #-160]           ; 16-byte Folded Spill
Lloh86:
	adrp	x10, _SSL3_CC_EARLY@GOTPAGE
Lloh87:
	ldr	x10, [x10, _SSL3_CC_EARLY@GOTPAGEOFF]
	ldur	x24, [x29, #-200]               ; 8-byte Folded Reload
	b	LBB0_27
LBB0_62:
Lloh88:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh89:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh90:
	ldr	w1, [x8]
Lloh91:
	adrp	x8, _SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPAGE
Lloh92:
	ldr	x8, [x8, _SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPAGEOFF]
Lloh93:
	ldr	w2, [x8]
Lloh94:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh95:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_64
LBB0_63:
Lloh96:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh97:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
Lloh99:
	adrp	x8, _SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPAGE
Lloh100:
	ldr	x8, [x8, _SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPAGEOFF]
Lloh101:
	ldr	w2, [x8]
Lloh102:
	adrp	x8, _SSL_R_BAD_PSK@GOTPAGE
Lloh103:
	ldr	x8, [x8, _SSL_R_BAD_PSK@GOTPAGEOFF]
LBB0_64:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_SSLfatal
LBB0_65:
	mov	w21, #0
LBB0_66:
	mov	x0, x20
	mov	x1, x19
	bl	_OPENSSL_cleanse
	ldur	x8, [x29, #-88]
Lloh104:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh105:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh106:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_70
; %bb.67:
	mov	x0, x21
	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_68:
Lloh107:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh108:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh109:
	ldr	w1, [x8]
Lloh110:
	adrp	x8, _SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPAGE
Lloh111:
	ldr	x8, [x8, _SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPAGEOFF]
Lloh112:
	ldr	w2, [x8]
Lloh113:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh114:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh115:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_SSLfatal
	mov	x0, x26
	bl	_EVP_MD_CTX_free
	b	LBB0_65
LBB0_69:
Lloh116:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh117:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh118:
	ldr	w1, [x8]
Lloh119:
	adrp	x8, _SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPAGE
Lloh120:
	ldr	x8, [x8, _SSL_F_TLS13_CHANGE_CIPHER_STATE@GOTPAGEOFF]
Lloh121:
	ldr	w2, [x8]
Lloh122:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh123:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_64
LBB0_70:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_tls13_change_cipher_state.client_early_traffic: ; @tls13_change_cipher_state.client_early_traffic
	.asciz	"c e traffic"

_tls13_change_cipher_state.client_handshake_traffic: ; @tls13_change_cipher_state.client_handshake_traffic
	.asciz	"c hs traffic"

_tls13_change_cipher_state.client_application_traffic: ; @tls13_change_cipher_state.client_application_traffic
	.asciz	"c ap traffic"

_tls13_change_cipher_state.server_handshake_traffic: ; @tls13_change_cipher_state.server_handshake_traffic
	.asciz	"s hs traffic"

_tls13_change_cipher_state.server_application_traffic: ; @tls13_change_cipher_state.server_application_traffic
	.asciz	"s ap traffic"

_tls13_change_cipher_state.exporter_master_secret: ; @tls13_change_cipher_state.exporter_master_secret
	.asciz	"exp master"

_tls13_change_cipher_state.resumption_master_secret: ; @tls13_change_cipher_state.resumption_master_secret
	.asciz	"res master"

_tls13_change_cipher_state.early_exporter_master_secret: ; @tls13_change_cipher_state.early_exporter_master_secret
	.asciz	"e exp master"

	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_SSL3_CC_READ,4,2               ; @SSL3_CC_READ
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS13_CHANGE_CIPHER_STATE,4,2 ; @SSL_F_TLS13_CHANGE_CIPHER_STATE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ENC_WRITE_STATE_INVALID,4,2    ; @ENC_WRITE_STATE_INVALID
	.comm	_SSL3_CC_CLIENT,4,2             ; @SSL3_CC_CLIENT
	.comm	_SSL3_CC_WRITE,4,2              ; @SSL3_CC_WRITE
	.comm	_SSL3_CC_SERVER,4,2             ; @SSL3_CC_SERVER
	.comm	_SSL3_CC_EARLY,4,2              ; @SSL3_CC_EARLY
	.comm	_CLIENT_EARLY_LABEL,8,3         ; @CLIENT_EARLY_LABEL
	.comm	_SSL_R_BAD_HANDSHAKE_LENGTH,4,2 ; @SSL_R_BAD_HANDSHAKE_LENGTH
	.comm	_SSL_EARLY_DATA_CONNECTING,8,3  ; @SSL_EARLY_DATA_CONNECTING
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_SSL_R_BAD_PSK,4,2              ; @SSL_R_BAD_PSK
	.comm	_EARLY_EXPORTER_SECRET_LABEL,8,3 ; @EARLY_EXPORTER_SECRET_LABEL
	.comm	_SSL3_CC_HANDSHAKE,4,2          ; @SSL3_CC_HANDSHAKE
	.comm	_CLIENT_HANDSHAKE_LABEL,8,3     ; @CLIENT_HANDSHAKE_LABEL
	.comm	_CLIENT_APPLICATION_LABEL,8,3   ; @CLIENT_APPLICATION_LABEL
	.comm	_SERVER_HANDSHAKE_LABEL,8,3     ; @SERVER_HANDSHAKE_LABEL
	.comm	_SERVER_APPLICATION_LABEL,8,3   ; @SERVER_APPLICATION_LABEL
	.comm	_EXPORTER_SECRET_LABEL,8,3      ; @EXPORTER_SECRET_LABEL
	.comm	_ENC_WRITE_STATE_WRITE_PLAIN_ALERTS,4,2 ; @ENC_WRITE_STATE_WRITE_PLAIN_ALERTS
	.comm	_ENC_WRITE_STATE_VALID,4,2      ; @ENC_WRITE_STATE_VALID
.subsections_via_symbols
