	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_parse_supported_point_formats_ext
_ssl_parse_supported_point_formats_ext: ## @ssl_parse_supported_point_formats_ext
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movzbl	(%rsi), %eax
	leaq	1(%rax), %rcx
	cmpq	%rdx, %rcx
	jne	LBB0_3
## %bb.1:
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	_MBEDTLS_ECP_PF_UNCOMPRESSED@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_MBEDTLS_ECP_PF_COMPRESSED@GOTPCREL(%rip), %rdx
	movb	(%rdx), %dl
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rsi,%rdi), %ebx
	cmpb	%cl, %bl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	%dl, %bl
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdi
	cmpq	%rdi, %rax
	jne	LBB0_5
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movq	_MBEDTLS_SSL_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movq	_MBEDTLS_SSL_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MBEDTLS_SSL_ALERT_MSG_DECODE_ERROR@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_mbedtls_ssl_send_alert_message
	movq	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movzbl	%bl, %esi
	movl	$4, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad server hello message"

	.comm	_MBEDTLS_SSL_ALERT_LEVEL_FATAL,4,2 ## @MBEDTLS_SSL_ALERT_LEVEL_FATAL
	.comm	_MBEDTLS_SSL_ALERT_MSG_DECODE_ERROR,4,2 ## @MBEDTLS_SSL_ALERT_MSG_DECODE_ERROR
	.comm	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO,4,2 ## @MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO
	.comm	_MBEDTLS_ECP_PF_UNCOMPRESSED,1,0 ## @MBEDTLS_ECP_PF_UNCOMPRESSED
	.comm	_MBEDTLS_ECP_PF_COMPRESSED,1,0  ## @MBEDTLS_ECP_PF_COMPRESSED
L_.str.2:                               ## @.str.2
	.asciz	"no point format in common"

	.comm	_MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE,4,2 ## @MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE
	.no_dead_strip	_ssl_parse_supported_point_formats_ext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_parse_supported_point_formats_ext
_ssl_parse_supported_point_formats_ext: ; @ssl_parse_supported_point_formats_ext
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldrb	w8, [x1]
	add	x9, x8, #1
	cmp	x9, x2
	b.ne	LBB0_6
; %bb.1:
	cbz	w8, LBB0_5
; %bb.2:
Lloh0:
	adrp	x9, _MBEDTLS_ECP_PF_UNCOMPRESSED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MBEDTLS_ECP_PF_UNCOMPRESSED@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh2:
	adrp	x10, _MBEDTLS_ECP_PF_COMPRESSED@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MBEDTLS_ECP_PF_COMPRESSED@GOTPAGEOFF]
	ldrb	w10, [x10]
	add	x11, x1, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w1, [x11]
	cmp	w1, w9
	ccmp	w1, w10, #4, ne
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, #1
	subs	x8, x8, #1
	b.ne	LBB0_3
LBB0_5:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_MBEDTLS_SSL_DEBUG_MSG
Lloh6:
	adrp	x8, _MBEDTLS_SSL_ALERT_LEVEL_FATAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MBEDTLS_SSL_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_MBEDTLS_SSL_DEBUG_MSG
Lloh13:
	adrp	x8, _MBEDTLS_SSL_ALERT_LEVEL_FATAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MBEDTLS_SSL_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _MBEDTLS_SSL_ALERT_MSG_DECODE_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MBEDTLS_SSL_ALERT_MSG_DECODE_ERROR@GOTPAGEOFF]
LBB0_7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mbedtls_ssl_send_alert_message
Lloh18:
	adrp	x8, _MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #4
	bl	_MBEDTLS_SSL_DEBUG_MSG
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad server hello message"

	.comm	_MBEDTLS_SSL_ALERT_LEVEL_FATAL,4,2 ; @MBEDTLS_SSL_ALERT_LEVEL_FATAL
	.comm	_MBEDTLS_SSL_ALERT_MSG_DECODE_ERROR,4,2 ; @MBEDTLS_SSL_ALERT_MSG_DECODE_ERROR
	.comm	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO,4,2 ; @MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO
	.comm	_MBEDTLS_ECP_PF_UNCOMPRESSED,1,0 ; @MBEDTLS_ECP_PF_UNCOMPRESSED
	.comm	_MBEDTLS_ECP_PF_COMPRESSED,1,0  ; @MBEDTLS_ECP_PF_COMPRESSED
l_.str.2:                               ; @.str.2
	.asciz	"no point format in common"

	.comm	_MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE,4,2 ; @MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE
	.no_dead_strip	_ssl_parse_supported_point_formats_ext
.subsections_via_symbols
