	.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
_ssl_parse_supported_point_formats:     ## @ssl_parse_supported_point_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	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
	jmp	LBB0_8
LBB0_3:
	movq	%rdi, %rbx
	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
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mbedtls_ssl_send_alert_message
	movq	_MBEDTLS_ERR_SSL_BAD_HS_CLIENT_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_7:
	movzbl	%bl, %esi
	movl	$4, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad client 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_CLIENT_HELLO,4,2 ## @MBEDTLS_ERR_SSL_BAD_HS_CLIENT_HELLO
	.comm	_MBEDTLS_ECP_PF_UNCOMPRESSED,1,0 ## @MBEDTLS_ECP_PF_UNCOMPRESSED
	.comm	_MBEDTLS_ECP_PF_COMPRESSED,1,0  ## @MBEDTLS_ECP_PF_COMPRESSED
	.no_dead_strip	_ssl_parse_supported_point_formats
.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
_ssl_parse_supported_point_formats:     ; @ssl_parse_supported_point_formats
	.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
	ldrb	w8, [x1]
	add	x9, x8, #1
	cmp	x9, x2
	b.ne	LBB0_5
; %bb.1:
	cbz	w8, LBB0_7
; %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_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, #1
	subs	x8, x8, #1
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
	mov	x19, x0
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@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_DECODE_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MBEDTLS_SSL_ALERT_MSG_DECODE_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mbedtls_ssl_send_alert_message
Lloh12:
	adrp	x8, _MBEDTLS_ERR_SSL_BAD_HS_CLIENT_HELLO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_BAD_HS_CLIENT_HELLO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_6:
	mov	w0, #4
	bl	_MBEDTLS_SSL_DEBUG_MSG
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad client 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_CLIENT_HELLO,4,2 ; @MBEDTLS_ERR_SSL_BAD_HS_CLIENT_HELLO
	.comm	_MBEDTLS_ECP_PF_UNCOMPRESSED,1,0 ; @MBEDTLS_ECP_PF_UNCOMPRESSED
	.comm	_MBEDTLS_ECP_PF_COMPRESSED,1,0  ; @MBEDTLS_ECP_PF_COMPRESSED
	.no_dead_strip	_ssl_parse_supported_point_formats
.subsections_via_symbols
