	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_parse_ctos_supported_groups ## -- Begin function tls_parse_ctos_supported_groups
	.p2align	4, 0x90
_tls_parse_ctos_supported_groups:       ## @tls_parse_ctos_supported_groups
	.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	%rsi, %rax
	movq	%rdi, %rbx
	leaq	-20(%rbp), %rsi
	movq	%rax, %rdi
	callq	_PACKET_as_length_prefixed_2
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	-20(%rbp), %rdi
	callq	_PACKET_remaining
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	-20(%rbp), %rdi
	callq	_PACKET_remaining
	testb	$1, %al
	jne	LBB0_3
## %bb.4:
	cmpl	$0, 16(%rbx)
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_SSL_IS_TLS13
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	leaq	8(%rbx), %r14
	movq	8(%rbx), %rdi
	callq	_OPENSSL_free
	movq	$0, 8(%rbx)
	movl	$0, (%rbx)
	leaq	-20(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_tls1_save_u16
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_10
## %bb.8:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_EXTENSION@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	xorl	%eax, %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS,4,2 ## @SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS
	.comm	_SSL_R_BAD_EXTENSION,4,2        ## @SSL_R_BAD_EXTENSION
	.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_ctos_supported_groups ; -- Begin function tls_parse_ctos_supported_groups
	.p2align	2
_tls_parse_ctos_supported_groups:       ; @tls_parse_ctos_supported_groups
	.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	x8, x1
	mov	x19, x0
	add	x1, sp, #12
	mov	x0, x8
	bl	_PACKET_as_length_prefixed_2
	cbz	w0, LBB0_7
; %bb.1:
	add	x0, sp, #12
	bl	_PACKET_remaining
	cbz	w0, LBB0_7
; %bb.2:
	add	x0, sp, #12
	bl	_PACKET_remaining
	tbnz	w0, #0, LBB0_7
; %bb.3:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_SSL_IS_TLS13
	cbz	x0, LBB0_6
LBB0_5:
	mov	x20, x19
	ldr	x0, [x20, #8]!
	bl	_OPENSSL_free
	str	xzr, [x20]
	str	wzr, [x19]
	add	x0, sp, #12
	mov	x1, x20
	mov	x2, x19
	bl	_tls1_save_u16
	cbz	w0, LBB0_10
LBB0_6:
	mov	w0, #1
	b	LBB0_9
LBB0_7:
Lloh0:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _SSL_R_BAD_EXTENSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_R_BAD_EXTENSION@GOTPAGEOFF]
LBB0_8:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
Lloh8:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS,4,2 ; @SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS
	.comm	_SSL_R_BAD_EXTENSION,4,2        ; @SSL_R_BAD_EXTENSION
	.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
