	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function final_server_name
_final_server_name:                     ## @final_server_name
	.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
	movl	%edx, %r12d
	movq	%rdi, %rbx
	movq	_SSL_AD_UNRECOGNIZED_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	callq	_SSL_get_options
	movl	%eax, %r14d
	movq	_SSL_OP_NO_TICKET@GOTPCREL(%rip), %r13
	andl	(%r13), %r14d
	xorl	%edi, %edi
	cmpq	$0, 32(%rbx)
	setne	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	setne	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	32(%rbx), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.4:
	movq	24(%rbx), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
LBB0_6:
	movl	16(%rax), %edx
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*%rcx
	movl	%eax, %r15d
LBB0_7:
	movq	_SSL_TLSEXT_ERR_OK@GOTPCREL(%rip), %rax
	testl	%r12d, %r12d
	movq	%rax, %r12
	je	LBB0_15
## %bb.8:
	cmpq	$0, 48(%rbx)
	je	LBB0_15
## %bb.9:
	cmpl	(%r12), %r15d
	jne	LBB0_15
## %bb.10:
	cmpl	$0, 4(%rbx)
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_SSL_IS_TLS13
	testq	%rax, %rax
	je	LBB0_15
LBB0_12:
	movq	40(%rbx), %rax
	movq	(%rax), %rdi
	callq	_OPENSSL_free
	movq	16(%rbx), %rdi
	callq	_OPENSSL_strdup
	movq	40(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:
	cmpq	$0, 16(%rbx)
	je	LBB0_15
## %bb.14:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_FINAL_SERVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
LBB0_15:
	movq	%rbx, %rdi
	callq	_SSL_IS_FIRST_HANDSHAKE
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	32(%rbx), %rdi
	cmpq	24(%rbx), %rdi
	je	LBB0_18
## %bb.17:
	callq	_tsan_counter
	movq	24(%rbx), %rdi
	callq	_tsan_decr
LBB0_18:
	cmpl	(%r12), %r15d
	jne	LBB0_25
## %bb.19:
	cmpq	$0, 8(%rbx)
	je	LBB0_25
## %bb.20:
	testl	%r14d, %r14d
	jne	LBB0_25
## %bb.21:
	movq	%rbx, %rdi
	callq	_SSL_get_options
	testl	%eax, (%r13)
	je	LBB0_25
## %bb.22:
	movq	$0, 8(%rbx)
	cmpl	$0, 4(%rbx)
	je	LBB0_23
LBB0_25:
	movl	$1, %r14d
	cmpl	$128, %r15d
	je	LBB0_32
## %bb.26:
	cmpl	$129, %r15d
	je	LBB0_30
## %bb.27:
	cmpl	$130, %r15d
	jne	LBB0_33
## %bb.28:
	movl	-44(%rbp), %esi
	movq	_SSL_F_FINAL_SERVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_CALLBACK_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_32:
	movl	$0, (%rbx)
	jmp	LBB0_33
LBB0_30:
	movq	%rbx, %rdi
	callq	_SSL_IS_TLS13
	testq	%rax, %rax
	jne	LBB0_33
## %bb.31:
	movq	_SSL3_AL_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx
	movq	%rbx, %rdi
	callq	_ssl3_send_alert
	jmp	LBB0_33
LBB0_5:
	movl	$128, %r15d
	jmp	LBB0_7
LBB0_23:
	movq	%rbx, %rdi
	callq	_SSL_get_session
	testq	%rax, %rax
	je	LBB0_2
## %bb.24:
	movq	%rax, %r14
	movq	24(%rax), %rdi
	callq	_OPENSSL_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movups	%xmm0, 16(%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ssl_generate_session_id
	testl	%eax, %eax
	jne	LBB0_25
LBB0_2:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_FINAL_SERVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	xorl	%r14d, %r14d
LBB0_33:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_UNRECOGNIZED_NAME,4,2   ## @SSL_AD_UNRECOGNIZED_NAME
	.comm	_SSL_OP_NO_TICKET,4,2           ## @SSL_OP_NO_TICKET
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_FINAL_SERVER_NAME,4,2    ## @SSL_F_FINAL_SERVER_NAME
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_SSL_TLSEXT_ERR_OK,4,2          ## @SSL_TLSEXT_ERR_OK
	.comm	_SSL_R_CALLBACK_FAILED,4,2      ## @SSL_R_CALLBACK_FAILED
	.comm	_SSL3_AL_WARNING,4,2            ## @SSL3_AL_WARNING
	.no_dead_strip	_final_server_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function final_server_name
_final_server_name:                     ; @final_server_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x22, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _SSL_AD_UNRECOGNIZED_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_AD_UNRECOGNIZED_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	bl	_SSL_get_options
	mov	x20, x0
Lloh3:
	adrp	x23, _SSL_OP_NO_TICKET@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SSL_OP_NO_TICKET@GOTPAGEOFF]
	ldr	w24, [x23]
	ldr	x8, [x19, #32]
	cmp	x8, #0
	cset	w0, ne
	bl	_ossl_assert
	cbz	w0, LBB0_32
; %bb.1:
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w0, ne
	bl	_ossl_assert
	cbz	w0, LBB0_32
; %bb.2:
	ldr	x9, [x19, #32]
	ldr	x8, [x9, #8]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x9, [x19, #24]
	ldr	x8, [x9, #8]
	cbz	x8, LBB0_29
LBB0_4:
	ldr	w2, [x9, #16]
	add	x1, sp, #12
	mov	x0, x19
	blr	x8
	mov	x21, x0
LBB0_5:
Lloh5:
	adrp	x25, _SSL_TLSEXT_ERR_OK@GOTPAGE
Lloh6:
	ldr	x25, [x25, _SSL_TLSEXT_ERR_OK@GOTPAGEOFF]
	cbz	w22, LBB0_13
; %bb.6:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_13
; %bb.7:
	ldr	w8, [x25]
	cmp	w21, w8
	b.ne	LBB0_13
; %bb.8:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_SSL_IS_TLS13
	cbz	x0, LBB0_13
LBB0_10:
	ldr	x8, [x19, #40]
	ldr	x0, [x8]
	bl	_OPENSSL_free
	ldr	x0, [x19, #16]
	bl	_OPENSSL_strdup
	ldr	x8, [x19, #40]
	str	x0, [x8]
	cbnz	x0, LBB0_13
; %bb.11:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_13
; %bb.12:
Lloh7:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _SSL_F_FINAL_SERVER_NAME@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSL_F_FINAL_SERVER_NAME@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
LBB0_13:
	mov	x0, x19
	bl	_SSL_IS_FIRST_HANDSHAKE
	cbz	x0, LBB0_16
; %bb.14:
	ldp	x8, x0, [x19, #24]
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.15:
	bl	_tsan_counter
	ldr	x0, [x19, #24]
	bl	_tsan_decr
LBB0_16:
	ldr	w8, [x25]
	cmp	w21, w8
	b.ne	LBB0_21
; %bb.17:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_21
; %bb.18:
	and	w8, w24, w20
	cbnz	w8, LBB0_21
; %bb.19:
	mov	x0, x19
	bl	_SSL_get_options
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_21
; %bb.20:
	str	xzr, [x19, #8]
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_30
LBB0_21:
	cmp	w21, #128
	b.eq	LBB0_25
; %bb.22:
	cmp	w21, #129
	b.eq	LBB0_26
; %bb.23:
	cmp	w21, #130
	b.ne	LBB0_28
; %bb.24:
	ldr	w1, [sp, #12]
Lloh16:
	adrp	x8, _SSL_F_FINAL_SERVER_NAME@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSL_F_FINAL_SERVER_NAME@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _SSL_R_CALLBACK_FAILED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SSL_R_CALLBACK_FAILED@GOTPAGEOFF]
	b	LBB0_33
LBB0_25:
	str	wzr, [x19]
	b	LBB0_28
LBB0_26:
	mov	x0, x19
	bl	_SSL_IS_TLS13
	cbnz	x0, LBB0_28
; %bb.27:
Lloh21:
	adrp	x8, _SSL3_AL_WARNING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SSL3_AL_WARNING@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_ssl3_send_alert
LBB0_28:
	mov	w0, #1
	b	LBB0_34
LBB0_29:
	mov	w21, #128
	b	LBB0_5
LBB0_30:
	mov	x0, x19
	bl	_SSL_get_session
	cbz	x0, LBB0_32
; %bb.31:
	mov	x20, x0
	ldr	x0, [x0, #24]
	bl	_OPENSSL_free
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_ssl_generate_session_id
	cbnz	w0, LBB0_21
LBB0_32:
Lloh24:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _SSL_F_FINAL_SERVER_NAME@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SSL_F_FINAL_SERVER_NAME@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_33:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
LBB0_34:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_UNRECOGNIZED_NAME,4,2   ; @SSL_AD_UNRECOGNIZED_NAME
	.comm	_SSL_OP_NO_TICKET,4,2           ; @SSL_OP_NO_TICKET
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_FINAL_SERVER_NAME,4,2    ; @SSL_F_FINAL_SERVER_NAME
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_SSL_TLSEXT_ERR_OK,4,2          ; @SSL_TLSEXT_ERR_OK
	.comm	_SSL_R_CALLBACK_FAILED,4,2      ; @SSL_R_CALLBACK_FAILED
	.comm	_SSL3_AL_WARNING,4,2            ; @SSL3_AL_WARNING
	.no_dead_strip	_final_server_name
.subsections_via_symbols
