	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_ctos_ec_pt_formats ## -- Begin function tls_construct_ctos_ec_pt_formats
	.p2align	4, 0x90
_tls_construct_ctos_ec_pt_formats:      ## @tls_construct_ctos_ec_pt_formats
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-44(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_ssl_get_min_max_version
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movl	-20(%rbp), %esi
	movq	%rbx, %rdi
	callq	_use_ecc
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_tls1_get_formatlist
	movq	_TLSEXT_TYPE_ec_point_formats@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	%r14, %rdi
	callq	_WPACKET_start_sub_packet_u16
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	-40(%rbp), %rsi
	movq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_WPACKET_sub_memcpy_u8
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_WPACKET_close
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_EXT_RETURN_SENT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CTOS_EC_PT_FORMATS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %ecx
	callq	_SSLfatal
	movq	_EXT_RETURN_FAIL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_EXT_RETURN_NOT_SENT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_CTOS_EC_PT_FORMATS,4,2 ## @SSL_F_TLS_CONSTRUCT_CTOS_EC_PT_FORMATS
	.comm	_EXT_RETURN_FAIL,4,2            ## @EXT_RETURN_FAIL
	.comm	_EXT_RETURN_NOT_SENT,4,2        ## @EXT_RETURN_NOT_SENT
	.comm	_TLSEXT_TYPE_ec_point_formats,4,2 ## @TLSEXT_TYPE_ec_point_formats
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.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_ctos_ec_pt_formats ; -- Begin function tls_construct_ctos_ec_pt_formats
	.p2align	2
_tls_construct_ctos_ec_pt_formats:      ; @tls_construct_ctos_ec_pt_formats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x3, #0
	bl	_ssl_get_min_max_version
	mov	x3, x0
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_use_ecc
	cbz	w0, LBB0_10
; %bb.2:
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x19
	bl	_tls1_get_formatlist
Lloh0:
	adrp	x8, _TLSEXT_TYPE_ec_point_formats@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLSEXT_TYPE_ec_point_formats@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_WPACKET_start_sub_packet_u16
	cbz	w0, LBB0_7
; %bb.4:
	ldp	x2, x1, [sp, #16]
	mov	x0, x20
	bl	_WPACKET_sub_memcpy_u8
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_WPACKET_close
	cbz	w0, LBB0_7
; %bb.6:
Lloh3:
	adrp	x8, _EXT_RETURN_SENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXT_RETURN_SENT@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh5:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
LBB0_8:
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_CONSTRUCT_CTOS_EC_PT_FORMATS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CTOS_EC_PT_FORMATS@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_SSLfatal
Lloh14:
	adrp	x8, _EXT_RETURN_FAIL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EXT_RETURN_FAIL@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
Lloh16:
	adrp	x8, _EXT_RETURN_NOT_SENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EXT_RETURN_NOT_SENT@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_CTOS_EC_PT_FORMATS,4,2 ; @SSL_F_TLS_CONSTRUCT_CTOS_EC_PT_FORMATS
	.comm	_EXT_RETURN_FAIL,4,2            ; @EXT_RETURN_FAIL
	.comm	_EXT_RETURN_NOT_SENT,4,2        ; @EXT_RETURN_NOT_SENT
	.comm	_TLSEXT_TYPE_ec_point_formats,4,2 ; @TLSEXT_TYPE_ec_point_formats
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_SENT,4,2            ; @EXT_RETURN_SENT
.subsections_via_symbols
