	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_parse_stoc_sct             ## -- Begin function tls_parse_stoc_sct
	.p2align	4, 0x90
_tls_parse_stoc_sct:                    ## @tls_parse_stoc_sct
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SSL_EXT_TLS1_3_CERTIFICATE_REQUEST@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpl	%edx, (%rax)
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpq	$0, 24(%rdi)
	je	LBB0_6
## %bb.2:
	movq	%r14, %rdi
	callq	_PACKET_remaining
	movq	%rax, %rbx
	movq	8(%r15), %rdi
	callq	_OPENSSL_free
	movq	$0, 8(%r15)
	movq	%rbx, 16(%r15)
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.3:
	movq	%rbx, %rdi
	callq	_OPENSSL_malloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_PACKET_copy_bytes
	testl	%eax, %eax
	jne	LBB0_12
LBB0_5:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PARSE_STOC_SCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_SSLfatal
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_6:
	movq	%r8, %r12
	movl	%edx, %r13d
	movq	_SSL_EXT_TLS1_2_SERVER_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_7
## %bb.8:
	movq	_ENDPOINT_BOTH@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_ENDPOINT_CLIENT@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	movq	(%r15), %rdi
	movq	_TLSEXT_TYPE_signed_certificate_timestamp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_custom_ext_find
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	_TLSEXT_TYPE_signed_certificate_timestamp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_PACKET_data
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_PACKET_remaining
	movq	%r12, (%rsp)
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rax, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_custom_ext_parse
	testl	%eax, %eax
	je	LBB0_13
LBB0_12:
	movl	$1, %ebx
	jmp	LBB0_13
LBB0_10:
	movq	_TLS1_AD_UNSUPPORTED_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PARSE_STOC_SCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_SSLfatal
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_EXT_TLS1_3_CERTIFICATE_REQUEST,4,2 ## @SSL_EXT_TLS1_3_CERTIFICATE_REQUEST
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_PARSE_STOC_SCT,4,2   ## @SSL_F_TLS_PARSE_STOC_SCT
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_SSL_EXT_TLS1_2_SERVER_HELLO,4,2 ## @SSL_EXT_TLS1_2_SERVER_HELLO
	.comm	_ENDPOINT_CLIENT,4,2            ## @ENDPOINT_CLIENT
	.comm	_ENDPOINT_BOTH,4,2              ## @ENDPOINT_BOTH
	.comm	_TLSEXT_TYPE_signed_certificate_timestamp,4,2 ## @TLSEXT_TYPE_signed_certificate_timestamp
	.comm	_TLS1_AD_UNSUPPORTED_EXTENSION,4,2 ## @TLS1_AD_UNSUPPORTED_EXTENSION
	.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_sct             ; -- Begin function tls_parse_stoc_sct
	.p2align	2
_tls_parse_stoc_sct:                    ; @tls_parse_stoc_sct
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _SSL_EXT_TLS1_3_CERTIFICATE_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_EXT_TLS1_3_CERTIFICATE_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_3
LBB0_1:
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_PACKET_remaining
	mov	x21, x0
	ldr	x0, [x19, #8]
	bl	_OPENSSL_free
	stp	xzr, x21, [x19, #8]
	cbz	x21, LBB0_1
; %bb.5:
	mov	x0, x21
	bl	_OPENSSL_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.6:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_PACKET_copy_bytes
	cbnz	w0, LBB0_1
LBB0_7:
Lloh3:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _SSL_F_TLS_PARSE_STOC_SCT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_F_TLS_PARSE_STOC_SCT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
Lloh11:
	adrp	x8, _SSL_EXT_TLS1_2_SERVER_HELLO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSL_EXT_TLS1_2_SERVER_HELLO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _ENDPOINT_CLIENT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ENDPOINT_CLIENT@GOTPAGEOFF]
Lloh16:
	adrp	x10, _ENDPOINT_BOTH@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ENDPOINT_BOTH@GOTPAGEOFF]
	tst	w8, w2
	csel	x8, x10, x9, eq
	ldr	w1, [x8]
	ldr	x0, [x19]
Lloh18:
	adrp	x24, _TLSEXT_TYPE_signed_certificate_timestamp@GOTPAGE
Lloh19:
	ldr	x24, [x24, _TLSEXT_TYPE_signed_certificate_timestamp@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x3, #0
	bl	_custom_ext_find
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w24, [x24]
	mov	x0, x20
	bl	_PACKET_data
	mov	x25, x0
	mov	x0, x20
	bl	_PACKET_remaining
	mov	x4, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	mov	x5, x22
	mov	x6, x21
	bl	_custom_ext_parse
	cbnz	w0, LBB0_1
	b	LBB0_2
LBB0_10:
Lloh20:
	adrp	x8, _TLS1_AD_UNSUPPORTED_EXTENSION@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TLS1_AD_UNSUPPORTED_EXTENSION@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _SSL_F_TLS_PARSE_STOC_SCT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SSL_F_TLS_PARSE_STOC_SCT@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x8, _SSL_R_BAD_EXTENSION@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SSL_R_BAD_EXTENSION@GOTPAGEOFF]
LBB0_11:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_EXT_TLS1_3_CERTIFICATE_REQUEST,4,2 ; @SSL_EXT_TLS1_3_CERTIFICATE_REQUEST
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_PARSE_STOC_SCT,4,2   ; @SSL_F_TLS_PARSE_STOC_SCT
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_SSL_EXT_TLS1_2_SERVER_HELLO,4,2 ; @SSL_EXT_TLS1_2_SERVER_HELLO
	.comm	_ENDPOINT_CLIENT,4,2            ; @ENDPOINT_CLIENT
	.comm	_ENDPOINT_BOTH,4,2              ; @ENDPOINT_BOTH
	.comm	_TLSEXT_TYPE_signed_certificate_timestamp,4,2 ; @TLSEXT_TYPE_signed_certificate_timestamp
	.comm	_TLS1_AD_UNSUPPORTED_EXTENSION,4,2 ; @TLS1_AD_UNSUPPORTED_EXTENSION
	.comm	_SSL_R_BAD_EXTENSION,4,2        ; @SSL_R_BAD_EXTENSION
.subsections_via_symbols
