	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_stoc_next_proto_neg ## -- Begin function tls_construct_stoc_next_proto_neg
	.p2align	4, 0x90
_tls_construct_stoc_next_proto_neg:     ## @tls_construct_stoc_next_proto_neg
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	movl	$0, (%rdi)
	movq	_EXT_RETURN_NOT_SENT@GOTPCREL(%rip), %r15
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rsi, %r14
	movl	8(%rcx), %ecx
	leaq	-40(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*%rax
	movq	_SSL_TLSEXT_ERR_OK@GOTPCREL(%rip), %rcx
	movq	_EXT_RETURN_SENT@GOTPCREL(%rip), %r15
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.3:
	movq	_TLSEXT_TYPE_next_proto_neg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	-40(%rbp), %rsi
	movl	-28(%rbp), %edx
	movq	%r14, %rdi
	callq	_WPACKET_sub_memcpy_u16
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	$1, (%rbx)
	jmp	LBB0_7
LBB0_5:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_STOC_NEXT_PROTO_NEG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	movq	_EXT_RETURN_FAIL@GOTPCREL(%rip), %r15
LBB0_7:
	movl	(%r15), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXT_RETURN_NOT_SENT,4,2        ## @EXT_RETURN_NOT_SENT
	.comm	_SSL_TLSEXT_ERR_OK,4,2          ## @SSL_TLSEXT_ERR_OK
	.comm	_TLSEXT_TYPE_next_proto_neg,4,2 ## @TLSEXT_TYPE_next_proto_neg
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_STOC_NEXT_PROTO_NEG,4,2 ## @SSL_F_TLS_CONSTRUCT_STOC_NEXT_PROTO_NEG
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_FAIL,4,2            ## @EXT_RETURN_FAIL
	.comm	_EXT_RETURN_SENT,4,2            ## @EXT_RETURN_SENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_stoc_next_proto_neg ; -- Begin function tls_construct_stoc_next_proto_neg
	.p2align	2
_tls_construct_stoc_next_proto_neg:     ; @tls_construct_stoc_next_proto_neg
	.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
	ldr	w8, [x0]
	str	wzr, [x0]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #8]
	ldr	x8, [x9]
	cbz	x8, LBB0_7
; %bb.2:
	mov	x20, x1
	ldr	w3, [x9, #8]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x19
	blr	x8
Lloh0:
	adrp	x8, _SSL_TLSEXT_ERR_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_TLSEXT_ERR_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _TLSEXT_TYPE_next_proto_neg@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TLSEXT_TYPE_next_proto_neg@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_9
; %bb.4:
	ldr	x1, [sp, #8]
	ldr	w2, [sp, #4]
	mov	x0, x20
	bl	_WPACKET_sub_memcpy_u16
	cbz	w0, LBB0_9
; %bb.5:
	mov	w8, #1
	str	w8, [x19]
LBB0_6:
Lloh6:
	adrp	x8, _EXT_RETURN_SENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EXT_RETURN_SENT@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x8, _EXT_RETURN_NOT_SENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXT_RETURN_NOT_SENT@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
Lloh10:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_STOC_NEXT_PROTO_NEG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_STOC_NEXT_PROTO_NEG@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
Lloh19:
	adrp	x8, _EXT_RETURN_FAIL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EXT_RETURN_FAIL@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EXT_RETURN_NOT_SENT,4,2        ; @EXT_RETURN_NOT_SENT
	.comm	_SSL_TLSEXT_ERR_OK,4,2          ; @SSL_TLSEXT_ERR_OK
	.comm	_TLSEXT_TYPE_next_proto_neg,4,2 ; @TLSEXT_TYPE_next_proto_neg
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_STOC_NEXT_PROTO_NEG,4,2 ; @SSL_F_TLS_CONSTRUCT_STOC_NEXT_PROTO_NEG
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_FAIL,4,2            ; @EXT_RETURN_FAIL
	.comm	_EXT_RETURN_SENT,4,2            ; @EXT_RETURN_SENT
.subsections_via_symbols
