	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_finished         ## -- Begin function tls_construct_finished
	.p2align	4, 0x90
_tls_construct_finished:                ## @tls_construct_finished
	.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
	pushq	%rax
	.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, %r13
	cmpq	$0, 56(%rdi)
	jne	LBB0_3
## %bb.1:
	movq	(%r13), %rax
	movq	_SSL_PHA_REQUESTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movl	$1, 80(%r13)
LBB0_3:
	movq	%r13, %rdi
	callq	_SSL_IS_TLS13
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	cmpq	$0, 56(%r13)
	jne	LBB0_9
## %bb.5:
	cmpq	$0, 24(%r13)
	jne	LBB0_8
## %bb.6:
	movq	72(%r13), %rax
	movq	(%rax), %rax
	movq	_SSL3_CC_HANDSHAKE@GOTPCREL(%rip), %rcx
	movq	_SSL3_CHANGE_CIPHER_CLIENT_WRITE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	%r13, %rdi
	callq	*40(%rax)
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	cmpq	$0, 56(%r13)
	je	LBB0_10
LBB0_9:
	movq	72(%r13), %rax
	movq	(%rax), %rbx
	leaq	8(%rbx), %rcx
	movq	%rbx, %rax
	jmp	LBB0_11
LBB0_10:
	movq	72(%r13), %rax
	movq	(%rax), %rbx
	leaq	16(%rbx), %rax
	leaq	24(%rbx), %rcx
LBB0_11:
	movq	(%rcx), %rdx
	movq	(%rax), %rsi
	movl	40(%r13), %ecx
	movq	%r13, %rdi
	callq	*32(%rbx)
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_21
## %bb.12:
	movq	%rax, %r12
	movq	%rax, 32(%r13)
	movl	40(%r13), %esi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_WPACKET_memcpy
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movq	%r13, %rdi
	callq	_SSL_IS_TLS13
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	movq	_MASTER_SECRET_LABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	64(%r13), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	movq	%r13, %rdi
	callq	_ssl_log_secret
	testl	%eax, %eax
	je	LBB0_21
LBB0_16:
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %r12
	setbe	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_13
## %bb.17:
	cmpq	$0, 56(%r13)
	je	LBB0_18
## %bb.19:
	movl	40(%r13), %esi
	movl	48(%r13), %edi
	movq	%r12, %rdx
	callq	_memcpy
	movq	%r12, 16(%r13)
	jmp	LBB0_20
LBB0_13:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_FINISHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_SSLfatal
	jmp	LBB0_21
LBB0_18:
	movl	40(%r13), %esi
	movl	52(%r13), %edi
	movq	%r12, %rdx
	callq	_memcpy
	movq	%r12, 8(%r13)
LBB0_20:
	movl	$1, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%r14d, %r14d
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_PHA_REQUESTED,8,3          ## @SSL_PHA_REQUESTED
	.comm	_SSL3_CC_HANDSHAKE,4,2          ## @SSL3_CC_HANDSHAKE
	.comm	_SSL3_CHANGE_CIPHER_CLIENT_WRITE,4,2 ## @SSL3_CHANGE_CIPHER_CLIENT_WRITE
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_FINISHED,4,2 ## @SSL_F_TLS_CONSTRUCT_FINISHED
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_MASTER_SECRET_LABEL,4,2        ## @MASTER_SECRET_LABEL
	.comm	_EVP_MAX_MD_SIZE,8,3            ## @EVP_MAX_MD_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_finished         ; -- Begin function tls_construct_finished
	.p2align	2
_tls_construct_finished:                ; @tls_construct_finished
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #56]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _SSL_PHA_REQUESTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL_PHA_REQUESTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x19, #80]
LBB0_3:
	mov	x0, x19
	bl	_SSL_IS_TLS13
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_8
; %bb.5:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x19, #72]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SSL3_CC_HANDSHAKE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SSL3_CC_HANDSHAKE@GOTPAGEOFF]
	ldr	x8, [x8, #40]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SSL3_CHANGE_CIPHER_CLIENT_WRITE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SSL3_CHANGE_CIPHER_CLIENT_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w1, w10, w9
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_20
LBB0_7:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_9
LBB0_8:
	ldr	x8, [x19, #72]
	ldr	x8, [x8]
	add	x10, x8, #8
	mov	x9, x8
	b	LBB0_10
LBB0_9:
	ldr	x8, [x19, #72]
	ldr	x8, [x8]
	add	x9, x8, #16
	add	x10, x8, #24
LBB0_10:
	ldr	x2, [x10]
	ldr	x1, [x9]
	ldr	x8, [x8, #32]
	ldr	w3, [x19, #40]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_20
; %bb.11:
	mov	x21, x0
	str	x0, [x19, #32]
	ldr	w1, [x19, #40]
	mov	x0, x20
	mov	x2, x21
	bl	_WPACKET_memcpy
	cbz	w0, LBB0_17
; %bb.12:
	mov	x0, x19
	bl	_SSL_IS_TLS13
	cbnz	x0, LBB0_14
; %bb.13:
Lloh9:
	adrp	x8, _MASTER_SECRET_LABEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MASTER_SECRET_LABEL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x8, [x19, #64]
	ldp	w3, w2, [x8]
	mov	x0, x19
	bl	_ssl_log_secret
	cbz	w0, LBB0_20
LBB0_14:
Lloh12:
	adrp	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x21, x8
	cset	w0, ls
	bl	_ossl_assert
	cbz	w0, LBB0_17
; %bb.15:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_18
; %bb.16:
	ldr	w0, [x19, #48]
	ldr	w1, [x19, #40]
	mov	x2, x21
	bl	_memcpy
	str	x21, [x19, #16]
	b	LBB0_19
LBB0_17:
Lloh15:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_FINISHED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_FINISHED@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
	b	LBB0_20
LBB0_18:
	ldr	w0, [x19, #52]
	ldr	w1, [x19, #40]
	mov	x2, x21
	bl	_memcpy
	str	x21, [x19, #8]
LBB0_19:
	mov	w0, #1
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_PHA_REQUESTED,8,3          ; @SSL_PHA_REQUESTED
	.comm	_SSL3_CC_HANDSHAKE,4,2          ; @SSL3_CC_HANDSHAKE
	.comm	_SSL3_CHANGE_CIPHER_CLIENT_WRITE,4,2 ; @SSL3_CHANGE_CIPHER_CLIENT_WRITE
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_FINISHED,4,2 ; @SSL_F_TLS_CONSTRUCT_FINISHED
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_MASTER_SECRET_LABEL,4,2        ; @MASTER_SECRET_LABEL
	.comm	_EVP_MAX_MD_SIZE,8,3            ; @EVP_MAX_MD_SIZE
.subsections_via_symbols
