	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_parse_certificate_verify
_ssl_parse_certificate_verify:          ## @ssl_parse_certificate_verify
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	56(%rdi), %rax
	movq	(%rax), %rbx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movq	(%rbx), %rax
	movq	_MBEDTLS_KEY_EXCHANGE_PSK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.1:
	movq	_MBEDTLS_KEY_EXCHANGE_RSA_PSK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.2:
	movq	_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.3:
	movq	_MBEDTLS_KEY_EXCHANGE_DHE_PSK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.4:
	movq	_MBEDTLS_KEY_EXCHANGE_ECJPAKE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.5:
	movq	32(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.6:
	movq	_MBEDTLS_ERR_SSL_NON_FATAL@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_mbedtls_ssl_read_record_layer
	testl	%eax, %eax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	callq	_mbedtls_ssl_handle_message_type
	cmpl	%eax, (%r15)
	je	LBB0_7
## %bb.10:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_12
LBB0_19:
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	incl	48(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_8:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
LBB0_12:
	movl	$1, %edi
	movl	%ebx, %edx
	callq	_MBEDTLS_SSL_DEBUG_RET
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	incl	48(%r14)
	movq	(%r14), %rax
	movq	_MBEDTLS_SSL_MSG_HANDSHAKE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movq	_MBEDTLS_SSL_HS_CERTIFICATE_VERIFY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.16:
	movq	%r14, %rdi
	callq	_mbedtls_ssl_hs_hdr_len
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movq	_MBEDTLS_ERR_SSL_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movq	_MBEDTLS_ERR_SSL_BAD_HS_CERTIFICATE_VERIFY@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %ebx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE,4,2 ## @MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"=> parse certificate verify"

	.comm	_MBEDTLS_KEY_EXCHANGE_PSK,8,3   ## @MBEDTLS_KEY_EXCHANGE_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_RSA_PSK,8,3 ## @MBEDTLS_KEY_EXCHANGE_RSA_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECDHE_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_DHE_PSK,8,3 ## @MBEDTLS_KEY_EXCHANGE_DHE_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_ECJPAKE,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECJPAKE
L_.str.1:                               ## @.str.1
	.asciz	"<= skip parse certificate verify"

L_.str.2:                               ## @.str.2
	.asciz	"mbedtls_ssl_read_record_layer"

	.comm	_MBEDTLS_ERR_SSL_NON_FATAL,4,2  ## @MBEDTLS_ERR_SSL_NON_FATAL
L_.str.3:                               ## @.str.3
	.asciz	"mbedtls_ssl_handle_message_type"

	.comm	_MBEDTLS_SSL_MSG_HANDSHAKE,8,3  ## @MBEDTLS_SSL_MSG_HANDSHAKE
	.comm	_MBEDTLS_SSL_HS_CERTIFICATE_VERIFY,4,2 ## @MBEDTLS_SSL_HS_CERTIFICATE_VERIFY
L_.str.4:                               ## @.str.4
	.asciz	"bad certificate verify message"

	.comm	_MBEDTLS_ERR_SSL_BAD_HS_CERTIFICATE_VERIFY,4,2 ## @MBEDTLS_ERR_SSL_BAD_HS_CERTIFICATE_VERIFY
L_.str.5:                               ## @.str.5
	.asciz	"should never happen"

	.comm	_MBEDTLS_ERR_SSL_INTERNAL_ERROR,4,2 ## @MBEDTLS_ERR_SSL_INTERNAL_ERROR
	.comm	_MBEDTLS_MD_NONE,8,3            ## @MBEDTLS_MD_NONE
	.comm	_MBEDTLS_MD_SHA1,8,3            ## @MBEDTLS_MD_SHA1
	.comm	_MBEDTLS_PK_ECDSA,4,2           ## @MBEDTLS_PK_ECDSA
	.comm	_MBEDTLS_PK_NONE,4,2            ## @MBEDTLS_PK_NONE
	.comm	_MBEDTLS_SSL_MINOR_VERSION_3,8,3 ## @MBEDTLS_SSL_MINOR_VERSION_3
	.no_dead_strip	_ssl_parse_certificate_verify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_parse_certificate_verify
_ssl_parse_certificate_verify:          ; @ssl_parse_certificate_verify
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0, #56]
	ldr	x20, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_MBEDTLS_SSL_DEBUG_MSG
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _MBEDTLS_KEY_EXCHANGE_PSK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MBEDTLS_KEY_EXCHANGE_PSK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _MBEDTLS_KEY_EXCHANGE_RSA_PSK@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MBEDTLS_KEY_EXCHANGE_RSA_PSK@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x11, _MBEDTLS_KEY_EXCHANGE_ECDHE_PSK@GOTPAGE
Lloh9:
	ldr	x11, [x11, _MBEDTLS_KEY_EXCHANGE_ECDHE_PSK@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	adrp	x12, _MBEDTLS_KEY_EXCHANGE_DHE_PSK@GOTPAGE
Lloh12:
	ldr	x12, [x12, _MBEDTLS_KEY_EXCHANGE_DHE_PSK@GOTPAGEOFF]
Lloh13:
	ldr	x12, [x12]
Lloh14:
	adrp	x13, _MBEDTLS_KEY_EXCHANGE_ECJPAKE@GOTPAGE
Lloh15:
	ldr	x13, [x13, _MBEDTLS_KEY_EXCHANGE_ECJPAKE@GOTPAGEOFF]
Lloh16:
	ldr	x13, [x13]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	ccmp	x8, x13, #4, ne
	b.eq	LBB0_7
; %bb.1:
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.2:
Lloh17:
	adrp	x21, _MBEDTLS_ERR_SSL_NON_FATAL@GOTPAGE
Lloh18:
	ldr	x21, [x21, _MBEDTLS_ERR_SSL_NON_FATAL@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_mbedtls_ssl_read_record_layer
	cbnz	w0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_mbedtls_ssl_handle_message_type
	ldr	w8, [x21]
	cmp	w8, w0
	b.eq	LBB0_3
; %bb.5:
	mov	x20, x0
	cbz	w0, LBB0_11
; %bb.6:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_MBEDTLS_SSL_DEBUG_MSG
	mov	w20, #0
	ldr	w8, [x19, #48]
	add	w8, w8, #1
	str	w8, [x19, #48]
	b	LBB0_10
LBB0_8:
	mov	x20, x0
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	mov	w0, #1
	mov	x2, x20
	bl	_MBEDTLS_SSL_DEBUG_RET
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	w8, [x19, #48]
	add	w8, w8, #1
	str	w8, [x19, #48]
	ldr	x8, [x19]
Lloh25:
	adrp	x9, _MBEDTLS_SSL_MSG_HANDSHAKE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MBEDTLS_SSL_MSG_HANDSHAKE@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.12:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _MBEDTLS_SSL_HS_CERTIFICATE_VERIFY@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MBEDTLS_SSL_HS_CERTIFICATE_VERIFY@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_mbedtls_ssl_hs_hdr_len
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_MBEDTLS_SSL_DEBUG_MSG
Lloh33:
	adrp	x8, _MBEDTLS_ERR_SSL_INTERNAL_ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_MBEDTLS_SSL_DEBUG_MSG
Lloh37:
	adrp	x8, _MBEDTLS_ERR_SSL_BAD_HS_CERTIFICATE_VERIFY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_BAD_HS_CERTIFICATE_VERIFY@GOTPAGEOFF]
LBB0_15:
	ldr	w20, [x8]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE,4,2 ; @MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"=> parse certificate verify"

	.comm	_MBEDTLS_KEY_EXCHANGE_PSK,8,3   ; @MBEDTLS_KEY_EXCHANGE_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_RSA_PSK,8,3 ; @MBEDTLS_KEY_EXCHANGE_RSA_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECDHE_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_DHE_PSK,8,3 ; @MBEDTLS_KEY_EXCHANGE_DHE_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_ECJPAKE,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECJPAKE
l_.str.1:                               ; @.str.1
	.asciz	"<= skip parse certificate verify"

l_.str.2:                               ; @.str.2
	.asciz	"mbedtls_ssl_read_record_layer"

	.comm	_MBEDTLS_ERR_SSL_NON_FATAL,4,2  ; @MBEDTLS_ERR_SSL_NON_FATAL
l_.str.3:                               ; @.str.3
	.asciz	"mbedtls_ssl_handle_message_type"

	.comm	_MBEDTLS_SSL_MSG_HANDSHAKE,8,3  ; @MBEDTLS_SSL_MSG_HANDSHAKE
	.comm	_MBEDTLS_SSL_HS_CERTIFICATE_VERIFY,4,2 ; @MBEDTLS_SSL_HS_CERTIFICATE_VERIFY
l_.str.4:                               ; @.str.4
	.asciz	"bad certificate verify message"

	.comm	_MBEDTLS_ERR_SSL_BAD_HS_CERTIFICATE_VERIFY,4,2 ; @MBEDTLS_ERR_SSL_BAD_HS_CERTIFICATE_VERIFY
l_.str.5:                               ; @.str.5
	.asciz	"should never happen"

	.comm	_MBEDTLS_ERR_SSL_INTERNAL_ERROR,4,2 ; @MBEDTLS_ERR_SSL_INTERNAL_ERROR
	.comm	_MBEDTLS_MD_NONE,8,3            ; @MBEDTLS_MD_NONE
	.comm	_MBEDTLS_MD_SHA1,8,3            ; @MBEDTLS_MD_SHA1
	.comm	_MBEDTLS_PK_ECDSA,4,2           ; @MBEDTLS_PK_ECDSA
	.comm	_MBEDTLS_PK_NONE,4,2            ; @MBEDTLS_PK_NONE
	.comm	_MBEDTLS_SSL_MINOR_VERSION_3,8,3 ; @MBEDTLS_SSL_MINOR_VERSION_3
	.no_dead_strip	_ssl_parse_certificate_verify
.subsections_via_symbols
