	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_parse_stoc_alpn            ## -- Begin function tls_parse_stoc_alpn
	.p2align	4, 0x90
_tls_parse_stoc_alpn:                   ## @tls_parse_stoc_alpn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	cmpl	$0, 16(%rdi)
	je	LBB0_1
## %bb.4:
	movq	%rsi, %rbx
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PACKET_get_net_2_len
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_PACKET_remaining
	cmpq	-24(%rbp), %rax
	jne	LBB0_8
## %bb.6:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PACKET_get_1_len
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_PACKET_remaining
	cmpq	-24(%rbp), %rax
	jne	LBB0_8
## %bb.9:
	movq	8(%r14), %rdi
	callq	_OPENSSL_free
	movq	-24(%rbp), %rdi
	callq	_OPENSSL_malloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_PACKET_copy_bytes
	testl	%eax, %eax
	je	LBB0_8
## %bb.12:
	movq	-24(%rbp), %rdx
	movq	%rdx, (%r14)
	movq	24(%r14), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.13:
	cmpq	%rdx, (%rax)
	jne	LBB0_15
## %bb.14:
	movq	8(%r14), %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_16
LBB0_15:
	movq	$0, 40(%r14)
LBB0_16:
	movl	$1, %ebx
	cmpl	$0, 32(%r14)
	jne	LBB0_20
## %bb.17:
	movq	24(%r14), %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_10
## %bb.18:
	movq	(%r14), %rsi
	movq	8(%r14), %rdi
	callq	_OPENSSL_memdup
	movq	24(%r14), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.19:
	movq	(%r14), %rax
	movq	%rax, (%rcx)
	jmp	LBB0_20
LBB0_8:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_SSL_AD_UNSUPPORTED_EXTENSION@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PARSE_STOC_ALPN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_EXTENSION@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	xorl	%ebx, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PARSE_STOC_ALPN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_UNSUPPORTED_EXTENSION,4,2 ## @SSL_AD_UNSUPPORTED_EXTENSION
	.comm	_SSL_F_TLS_PARSE_STOC_ALPN,4,2  ## @SSL_F_TLS_PARSE_STOC_ALPN
	.comm	_SSL_R_BAD_EXTENSION,4,2        ## @SSL_R_BAD_EXTENSION
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_parse_stoc_alpn            ; -- Begin function tls_parse_stoc_alpn
	.p2align	2
_tls_parse_stoc_alpn:                   ; @tls_parse_stoc_alpn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_17
; %bb.1:
	mov	x20, x1
	add	x1, sp, #8
	mov	x0, x20
	bl	_PACKET_get_net_2_len
	cbz	w0, LBB0_16
; %bb.2:
	mov	x0, x20
	bl	_PACKET_remaining
	ldr	x8, [sp, #8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.3:
	add	x1, sp, #8
	mov	x0, x20
	bl	_PACKET_get_1_len
	cbz	w0, LBB0_16
; %bb.4:
	mov	x0, x20
	bl	_PACKET_remaining
	ldr	x8, [sp, #8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.5:
	ldr	x0, [x19, #8]
	bl	_OPENSSL_free
	ldr	x0, [sp, #8]
	bl	_OPENSSL_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_21
; %bb.6:
	mov	x1, x0
	ldr	x2, [sp, #8]
	mov	x0, x20
	bl	_PACKET_copy_bytes
	cbz	w0, LBB0_16
; %bb.7:
	ldr	x2, [sp, #8]
	str	x2, [x19]
	ldr	x8, [x19, #24]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ne	LBB0_10
; %bb.9:
	ldr	x1, [x19, #8]
	bl	_memcmp
	cbz	x0, LBB0_11
LBB0_10:
	str	xzr, [x19, #40]
LBB0_11:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_15
; %bb.12:
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_ossl_assert
	cbz	w0, LBB0_21
; %bb.13:
	ldp	x1, x0, [x19]
	bl	_OPENSSL_memdup
	ldr	x8, [x19, #24]
	str	x0, [x8, #8]
	cbz	x0, LBB0_21
; %bb.14:
	ldr	x9, [x19]
	str	x9, [x8]
LBB0_15:
	mov	w0, #1
	b	LBB0_20
LBB0_16:
Lloh0:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh2:
	adrp	x8, _SSL_AD_UNSUPPORTED_EXTENSION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSL_AD_UNSUPPORTED_EXTENSION@GOTPAGEOFF]
LBB0_18:
	ldr	w1, [x8]
Lloh4:
	adrp	x8, _SSL_F_TLS_PARSE_STOC_ALPN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SSL_F_TLS_PARSE_STOC_ALPN@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _SSL_R_BAD_EXTENSION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SSL_R_BAD_EXTENSION@GOTPAGEOFF]
LBB0_19:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_21:
Lloh9:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _SSL_F_TLS_PARSE_STOC_ALPN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_F_TLS_PARSE_STOC_ALPN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_UNSUPPORTED_EXTENSION,4,2 ; @SSL_AD_UNSUPPORTED_EXTENSION
	.comm	_SSL_F_TLS_PARSE_STOC_ALPN,4,2  ; @SSL_F_TLS_PARSE_STOC_ALPN
	.comm	_SSL_R_BAD_EXTENSION,4,2        ; @SSL_R_BAD_EXTENSION
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
.subsections_via_symbols
