	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_parse_stoc_server_name     ## -- Begin function tls_parse_stoc_server_name
	.p2align	4, 0x90
_tls_parse_stoc_server_name:            ## @tls_parse_stoc_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %r15
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %r12
	cmpq	$0, 8(%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rsi, %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	jle	LBB0_3
## %bb.2:
	movq	_SSL_R_BAD_EXTENSION@GOTPCREL(%rip), %r15
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %r12
LBB0_6:
	movl	(%r12), %esi
	movq	_SSL_F_TLS_PARSE_STOC_SERVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$1, %r14d
	cmpl	$0, 16(%rbx)
	jne	LBB0_7
## %bb.4:
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	8(%rbx), %rdi
	callq	_OPENSSL_strdup
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_PARSE_STOC_SERVER_NAME,4,2 ## @SSL_F_TLS_PARSE_STOC_SERVER_NAME
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_R_BAD_EXTENSION,4,2        ## @SSL_R_BAD_EXTENSION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_parse_stoc_server_name     ; -- Begin function tls_parse_stoc_server_name
	.p2align	2
_tls_parse_stoc_server_name:            ; @tls_parse_stoc_server_name
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x0, x1
	bl	_PACKET_remaining
	cmp	x0, #0
	b.le	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _SSL_R_BAD_EXTENSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_R_BAD_EXTENSION@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_5
LBB0_4:
	mov	w0, #1
	b	LBB0_8
LBB0_5:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
LBB0_6:
Lloh4:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh6:
	adrp	x9, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x9]
Lloh8:
	adrp	x9, _SSL_F_TLS_PARSE_STOC_SERVER_NAME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SSL_F_TLS_PARSE_STOC_SERVER_NAME@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x9]
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x0, [x19, #8]
	bl	_OPENSSL_strdup
	ldr	x8, [x19]
	str	x0, [x8]
	cbnz	x0, LBB0_4
	b	LBB0_6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_PARSE_STOC_SERVER_NAME,4,2 ; @SSL_F_TLS_PARSE_STOC_SERVER_NAME
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_R_BAD_EXTENSION,4,2        ; @SSL_R_BAD_EXTENSION
.subsections_via_symbols
