	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_parse_signature_algorithm
_ssl_parse_signature_algorithm:         ## @ssl_parse_signature_algorithm
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	_MBEDTLS_MD_NONE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, (%rcx)
	movq	_MBEDTLS_PK_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r8)
	movq	(%rdi), %rax
	movq	_MBEDTLS_SSL_MINOR_VERSION_3@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	(%rsi), %rax
	leaq	2(%rax), %rcx
	cmpq	%rdx, %rcx
	ja	LBB0_2
## %bb.3:
	movq	%r8, %r13
	movq	%rdi, %r12
	movzbl	(%rax), %edi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_mbedtls_ssl_md_alg_from_hash
	movl	%eax, (%rbx)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	cmpl	(%r14), %eax
	je	LBB0_4
## %bb.6:
	movzbl	1(%rcx), %edi
	callq	_mbedtls_ssl_pk_alg_from_sig
	movl	%eax, (%r13)
	movq	_MBEDTLS_PK_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movzbl	1(%rax), %esi
	jmp	LBB0_5
LBB0_8:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_mbedtls_ssl_check_sig_hash
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	testq	%rax, %rax
	je	LBB0_9
LBB0_4:
	movzbl	(%rcx), %esi
LBB0_5:
	movl	$1, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
LBB0_2:
	movq	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rdx, %rbx
	movzbl	1(%rcx), %esi
	movl	$2, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movq	(%rbx), %rax
	movzbl	(%rax), %esi
	movl	$2, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	addq	$2, (%rbx)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_MD_NONE,4,2            ## @MBEDTLS_MD_NONE
	.comm	_MBEDTLS_PK_NONE,4,2            ## @MBEDTLS_PK_NONE
	.comm	_MBEDTLS_SSL_MINOR_VERSION_3,8,3 ## @MBEDTLS_SSL_MINOR_VERSION_3
	.comm	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE,4,2 ## @MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE
	.no_dead_strip	_ssl_parse_signature_algorithm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_parse_signature_algorithm
_ssl_parse_signature_algorithm:         ; @ssl_parse_signature_algorithm
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
Lloh0:
	adrp	x24, _MBEDTLS_MD_NONE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MBEDTLS_MD_NONE@GOTPAGEOFF]
	ldr	w9, [x24]
	str	w9, [x3]
Lloh2:
	adrp	x23, _MBEDTLS_PK_NONE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MBEDTLS_PK_NONE@GOTPAGEOFF]
	ldr	w9, [x23]
	str	w9, [x4]
Lloh4:
	adrp	x9, _MBEDTLS_SSL_MINOR_VERSION_3@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MBEDTLS_SSL_MINOR_VERSION_3@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1]
	add	x9, x8, #2
	cmp	x9, x2
	b.hi	LBB0_9
; %bb.2:
	mov	x22, x4
	mov	x20, x3
	mov	x21, x0
	ldrb	w0, [x8]
	bl	_mbedtls_ssl_md_alg_from_hash
	str	w0, [x20]
	ldr	w9, [x24]
	ldr	x8, [x19]
	cmp	w0, w9
	b.eq	LBB0_7
; %bb.3:
	ldrb	w0, [x8, #1]
	bl	_mbedtls_ssl_pk_alg_from_sig
	str	w0, [x22]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x19]
	ldrb	w1, [x8, #1]
	b	LBB0_8
LBB0_5:
	mov	w0, #0
	b	LBB0_10
LBB0_6:
	ldr	w1, [x20]
	mov	x0, x21
	bl	_mbedtls_ssl_check_sig_hash
	ldr	x8, [x19]
	cbz	x0, LBB0_11
LBB0_7:
	ldrb	w1, [x8]
LBB0_8:
	mov	w0, #1
	bl	_MBEDTLS_SSL_DEBUG_MSG
LBB0_9:
Lloh7:
	adrp	x8, _MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldrb	w1, [x8, #1]
	mov	w0, #2
	bl	_MBEDTLS_SSL_DEBUG_MSG
	ldr	x8, [x19]
	ldrb	w1, [x8]
	mov	w0, #2
	bl	_MBEDTLS_SSL_DEBUG_MSG
	mov	w0, #0
	ldr	x8, [x19]
	add	x8, x8, #2
	str	x8, [x19]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_MD_NONE,4,2            ; @MBEDTLS_MD_NONE
	.comm	_MBEDTLS_PK_NONE,4,2            ; @MBEDTLS_PK_NONE
	.comm	_MBEDTLS_SSL_MINOR_VERSION_3,8,3 ; @MBEDTLS_SSL_MINOR_VERSION_3
	.comm	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE,4,2 ; @MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE
	.no_dead_strip	_ssl_parse_signature_algorithm
.subsections_via_symbols
