	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_stoc_supported_groups ## -- Begin function tls_construct_stoc_supported_groups
	.p2align	4, 0x90
_tls_construct_stoc_supported_groups:   ## @tls_construct_stoc_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	%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	_EXT_RETURN_NOT_SENT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rdi)
	je	LBB0_18
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_tls1_get_supported_groups
	cmpq	$0, -48(%rbp)
	je	LBB0_17
## %bb.2:
	movl	$1, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	-48(%rbp), %rbx
	jae	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movq	(%rax,%rbx,8), %r13
	movq	%r15, %rdi
	callq	_SSL_version
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_tls_valid_group
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_SSL_SECOP_CURVE_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_tls_group_allowed
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%r12, %r12
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r13, (%r15)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TLSEXT_TYPE_supported_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_WPACKET_start_sub_packet_u16
	testl	%eax, %eax
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_WPACKET_start_sub_packet_u16
	testl	%eax, %eax
	je	LBB0_17
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_14:
	movq	%r14, %rdi
	callq	_WPACKET_close
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:
	movq	%r14, %rdi
	callq	_WPACKET_close
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movq	_EXT_RETURN_SENT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_17:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_GROUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_SSLfatal
	movq	_EXT_RETURN_FAIL@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_EXT_RETURN_NOT_SENT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_EXT_RETURN_NOT_SENT,4,2        ## @EXT_RETURN_NOT_SENT
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_GROUPS,4,2 ## @SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_GROUPS
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_FAIL,4,2            ## @EXT_RETURN_FAIL
	.comm	_SSL_SECOP_CURVE_SUPPORTED,4,2  ## @SSL_SECOP_CURVE_SUPPORTED
	.comm	_TLSEXT_TYPE_supported_groups,8,3 ## @TLSEXT_TYPE_supported_groups
	.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_supported_groups ; -- Begin function tls_construct_stoc_supported_groups
	.p2align	2
_tls_construct_stoc_supported_groups:   ; @tls_construct_stoc_supported_groups
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x2, sp
	bl	_tls1_get_supported_groups
	ldr	x8, [sp]
	cbz	x8, LBB0_17
; %bb.2:
	mov	x23, #0
	mov	w26, #1
Lloh0:
	adrp	x24, _SSL_SECOP_CURVE_SUPPORTED@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SSL_SECOP_CURVE_SUPPORTED@GOTPAGEOFF]
Lloh2:
	adrp	x22, _EXT_RETURN_NOT_SENT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EXT_RETURN_NOT_SENT@GOTPAGEOFF]
Lloh4:
	adrp	x25, _TLSEXT_TYPE_supported_groups@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TLSEXT_TYPE_supported_groups@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_17
; %bb.4:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, #0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldr	x8, [sp]
	cmp	x23, x8
	b.hs	LBB0_14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	x21, [x8, x23, lsl #3]
	mov	x0, x19
	bl	_SSL_version
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_tls_valid_group
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x21
	bl	_tls_group_allowed
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x26, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	cmp	x8, x21
	b.eq	LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x25]
	mov	x0, x20
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_WPACKET_start_sub_packet_u16
	cbz	w0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_WPACKET_start_sub_packet_u16
	cbnz	w0, LBB0_3
	b	LBB0_17
LBB0_13:
Lloh6:
	adrp	x22, _EXT_RETURN_NOT_SENT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _EXT_RETURN_NOT_SENT@GOTPAGEOFF]
	b	LBB0_18
LBB0_14:
	mov	x0, x20
	bl	_WPACKET_close
	cbz	w0, LBB0_17
; %bb.15:
	mov	x0, x20
	bl	_WPACKET_close
	cbz	w0, LBB0_17
; %bb.16:
Lloh8:
	adrp	x22, _EXT_RETURN_SENT@GOTPAGE
Lloh9:
	ldr	x22, [x22, _EXT_RETURN_SENT@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
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_SUPPORTED_GROUPS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_GROUPS@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	x22, _EXT_RETURN_FAIL@GOTPAGE
Lloh20:
	ldr	x22, [x22, _EXT_RETURN_FAIL@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.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_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_GROUPS,4,2 ; @SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_GROUPS
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_FAIL,4,2            ; @EXT_RETURN_FAIL
	.comm	_SSL_SECOP_CURVE_SUPPORTED,4,2  ; @SSL_SECOP_CURVE_SUPPORTED
	.comm	_TLSEXT_TYPE_supported_groups,8,3 ; @TLSEXT_TYPE_supported_groups
	.comm	_EXT_RETURN_SENT,4,2            ; @EXT_RETURN_SENT
.subsections_via_symbols
