	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_connection_verify_peer
_tls_connection_verify_peer:            ## @tls_connection_verify_peer
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	callq	_gnutls_session_get_ptr
	cmpq	$0, 32(%rax)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	je	LBB0_8
## %bb.1:
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	-76(%rbp), %rsi
	movl	%ebx, %edi
	callq	_gnutls_certificate_verify_peers2
	testl	%eax, %eax
	js	LBB0_9
## %bb.2:
	leaq	-52(%rbp), %rsi
	movl	%ebx, %edi
	callq	_gnutls_certificate_get_peers
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	cmpl	$0, -52(%rbp)
	je	LBB0_11
## %bb.4:
	movq	%rax, %r15
	cmpq	$0, 32(%r14)
	movl	-76(%rbp), %edx
	je	LBB0_12
## %bb.5:
	movq	_GNUTLS_CERT_INVALID@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_12
## %bb.6:
	movq	_MSG_INFO@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	-76(%rbp), %eax
	movq	_GNUTLS_CERT_INSECURE_ALGORITHM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.7:
	movl	(%r15), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_FAIL_BAD_CERTIFICATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.6(%rip), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gnutls_tls_fail_event
	movq	_GNUTLS_A_INSUFFICIENT_SECURITY@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_8:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_26
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_10:
	movq	_GNUTLS_A_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_11:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_GNUTLS_A_UNKNOWN_CA@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_12:
	movq	_GNUTLS_CERT_SIGNER_NOT_FOUND@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_14
## %bb.13:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_FAIL_UNTRUSTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.13(%rip), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gnutls_tls_fail_event
	movq	_GNUTLS_A_UNKNOWN_CA@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_14:
	movq	_GNUTLS_CERT_REVOKED@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_18
## %bb.15:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_FAIL_REVOKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.15(%rip), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gnutls_tls_fail_event
	movq	_GNUTLS_A_CERTIFICATE_REVOKED@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_16:
	movq	_GNUTLS_CERT_NOT_ACTIVATED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.17:
	movl	(%r15), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_FAIL_NOT_YET_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.8(%rip), %r8
	jmp	LBB0_22
LBB0_18:
	testl	%edx, %edx
	je	LBB0_27
## %bb.19:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.16(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_10
LBB0_20:
	movq	_GNUTLS_CERT_EXPIRED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_49
## %bb.21:
	movl	(%r15), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_FAIL_EXPIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.10(%rip), %r8
LBB0_22:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gnutls_tls_fail_event
LBB0_23:
	movq	_GNUTLS_A_CERTIFICATE_EXPIRED@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
LBB0_25:
	incl	(%r14)
	movq	_GNUTLS_AL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx
	movl	%ebx, %edi
	callq	_gnutls_alert_send
	movq	_GNUTLS_E_CERTIFICATE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_26:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_check_ocsp
	testq	%rax, %rax
	jne	LBB0_25
## %bb.28:
	leaq	-96(%rbp), %rdi
	callq	_os_get_time
	cmpl	$0, -52(%rbp)
	je	LBB0_50
## %bb.29:
	xorl	%r12d, %r12d
	jmp	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movl	-48(%rbp), %edi
	callq	_gnutls_x509_crt_deinit
	movl	-52(%rbp), %eax
	addq	$16, %r15
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %r12
	cmpq	%rax, %rcx
	jae	LBB0_50
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	leaq	-48(%rbp), %rdi
	callq	_gnutls_x509_crt_init
	testq	%rax, %rax
	js	LBB0_53
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	-48(%rbp), %edi
	movq	_GNUTLS_X509_FMT_DER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_gnutls_x509_crt_import
	testq	%rax, %rax
	js	LBB0_54
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %edi
	xorl	%esi, %esi
	leaq	-88(%rbp), %r12
	movq	%r12, %rdx
	callq	_gnutls_x509_crt_get_dn
	movq	-88(%rbp), %rdi
	leaq	1(%rdi), %rax
	movq	%rax, -88(%rbp)
	addq	$2, %rdi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	-88(%rbp), %rcx
	movb	$0, (%rax,%rcx)
	movb	$0, (%rax)
	movl	-48(%rbp), %edi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movq	%rax, %r12
	callq	_gnutls_x509_crt_get_dn
	movq	%r12, %rax
LBB0_35:                                ##   in Loop: Header=BB0_31 Depth=1
	movl	(%r13), %edi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	1(%rcx), %rdx
	movl	-52(%rbp), %ecx
	leaq	L_.str.19(%rip), %rsi
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rax, %r12
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r14), %rax
	cmpq	$0, 8(%rax)
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_40
## %bb.36:                              ##   in Loop: Header=BB0_31 Depth=1
	leaq	-136(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_os_memset
	movq	8(%r14), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	(%r15), %rsi
	movq	8(%r15), %rdi
	callq	_wpabuf_alloc_copy
	movq	%rax, %r12
	movq	%rax, -112(%rbp)
	jmp	LBB0_39
LBB0_38:                                ##   in Loop: Header=BB0_31 Depth=1
	xorl	%r12d, %r12d
LBB0_39:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, -132(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -128(%rbp)
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	_TLS_PEER_CERTIFICATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-136(%rbp), %rdx
	callq	*8(%rax)
	movq	%r12, %rdi
	callq	_wpabuf_free
LBB0_40:                                ##   in Loop: Header=BB0_31 Depth=1
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_45
## %bb.41:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	24(%r14), %esi
	testl	%esi, %esi
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	-48(%rbp), %edi
	xorl	%edx, %edx
	callq	_tls_match_suffix
	testl	%eax, %eax
	je	LBB0_55
LBB0_43:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	8(%r14), %rax
	cmpl	$0, 16(%rax)
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	-48(%rbp), %edi
	callq	_server_eku_purpose
	testl	%eax, %eax
	je	LBB0_56
LBB0_45:                                ##   in Loop: Header=BB0_31 Depth=1
	cmpl	$0, 16(%r14)
	jne	LBB0_30
## %bb.46:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	-48(%rbp), %edi
	callq	_gnutls_x509_crt_get_expiration_time
	cmpq	-96(%rbp), %rax
	jl	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	-48(%rbp), %edi
	callq	_gnutls_x509_crt_get_activation_time
	cmpq	-96(%rbp), %rax
	jle	LBB0_30
LBB0_48:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	leal	1(%r13), %edx
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-52(%rbp), %ecx
	leaq	L_.str.24(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_FAIL_EXPIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.25(%rip), %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_gnutls_tls_fail_event
	movl	-48(%rbp), %edi
	callq	_gnutls_x509_crt_deinit
	movq	%r15, %rdi
	callq	_os_free
	jmp	LBB0_23
LBB0_49:
	movq	_TLS_FAIL_UNTRUSTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.11(%rip), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gnutls_tls_fail_event
	jmp	LBB0_10
LBB0_50:
	movq	8(%r14), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_52
## %bb.51:
	movl	(%rax), %edi
	movq	_TLS_CERT_CHAIN_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	*%rcx
	jmp	LBB0_26
LBB0_52:
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_53:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.17(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_GNUTLS_A_BAD_CERTIFICATE@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_54:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	incl	%r12d
	movl	-52(%rbp), %ecx
	leaq	L_.str.18(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	-48(%rbp), %edi
	callq	_gnutls_x509_crt_deinit
	movq	_GNUTLS_A_BAD_CERTIFICATE@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_55:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r14), %edx
	leaq	L_.str.20(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_FAIL_DOMAIN_SUFFIX_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.21(%rip), %r8
	jmp	LBB0_57
LBB0_56:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.22(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_FAIL_BAD_CERTIFICATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.23(%rip), %r8
LBB0_57:
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_gnutls_tls_fail_event
	movq	_GNUTLS_A_BAD_CERTIFICATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	-48(%rbp), %edi
	callq	_gnutls_x509_crt_deinit
	movq	%r15, %rdi
	callq	_os_free
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GnuTLS: No peer certificate verification enabled"

L_.str.1:                               ## @.str.1
	.asciz	"GnuTSL: Verifying peer certificate"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"TLS: Failed to verify peer certificate chain"

	.comm	_GNUTLS_A_INTERNAL_ERROR,4,2    ## @GNUTLS_A_INTERNAL_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"TLS: No peer certificate chain received"

	.comm	_GNUTLS_A_UNKNOWN_CA,4,2        ## @GNUTLS_A_UNKNOWN_CA
	.comm	_GNUTLS_CERT_INVALID,4,2        ## @GNUTLS_CERT_INVALID
L_.str.4:                               ## @.str.4
	.asciz	"TLS: Peer certificate not trusted"

	.comm	_GNUTLS_CERT_INSECURE_ALGORITHM,4,2 ## @GNUTLS_CERT_INSECURE_ALGORITHM
L_.str.5:                               ## @.str.5
	.asciz	"TLS: Certificate uses insecure algorithm"

L_.str.6:                               ## @.str.6
	.asciz	"certificate uses insecure algorithm"

	.comm	_TLS_FAIL_BAD_CERTIFICATE,4,2   ## @TLS_FAIL_BAD_CERTIFICATE
	.comm	_GNUTLS_A_INSUFFICIENT_SECURITY,4,2 ## @GNUTLS_A_INSUFFICIENT_SECURITY
	.comm	_GNUTLS_CERT_NOT_ACTIVATED,4,2  ## @GNUTLS_CERT_NOT_ACTIVATED
L_.str.7:                               ## @.str.7
	.asciz	"TLS: Certificate not yet activated"

L_.str.8:                               ## @.str.8
	.asciz	"certificate not yet valid"

	.comm	_TLS_FAIL_NOT_YET_VALID,4,2     ## @TLS_FAIL_NOT_YET_VALID
	.comm	_GNUTLS_A_CERTIFICATE_EXPIRED,4,2 ## @GNUTLS_A_CERTIFICATE_EXPIRED
	.comm	_GNUTLS_CERT_EXPIRED,4,2        ## @GNUTLS_CERT_EXPIRED
L_.str.9:                               ## @.str.9
	.asciz	"TLS: Certificate expired"

L_.str.10:                              ## @.str.10
	.asciz	"certificate has expired"

	.comm	_TLS_FAIL_EXPIRED,4,2           ## @TLS_FAIL_EXPIRED
L_.str.11:                              ## @.str.11
	.asciz	"untrusted certificate"

	.comm	_TLS_FAIL_UNTRUSTED,4,2         ## @TLS_FAIL_UNTRUSTED
	.comm	_GNUTLS_CERT_SIGNER_NOT_FOUND,4,2 ## @GNUTLS_CERT_SIGNER_NOT_FOUND
L_.str.12:                              ## @.str.12
	.asciz	"TLS: Peer certificate does not have a known issuer"

L_.str.13:                              ## @.str.13
	.asciz	"signed not found"

	.comm	_GNUTLS_CERT_REVOKED,4,2        ## @GNUTLS_CERT_REVOKED
L_.str.14:                              ## @.str.14
	.asciz	"TLS: Peer certificate has been revoked"

L_.str.15:                              ## @.str.15
	.asciz	"certificate revoked"

	.comm	_TLS_FAIL_REVOKED,4,2           ## @TLS_FAIL_REVOKED
	.comm	_GNUTLS_A_CERTIFICATE_REVOKED,4,2 ## @GNUTLS_A_CERTIFICATE_REVOKED
L_.str.16:                              ## @.str.16
	.asciz	"TLS: Unknown verification status: %d"

L_.str.17:                              ## @.str.17
	.asciz	"TLS: Certificate initialization failed"

	.comm	_GNUTLS_A_BAD_CERTIFICATE,4,2   ## @GNUTLS_A_BAD_CERTIFICATE
	.comm	_GNUTLS_X509_FMT_DER,4,2        ## @GNUTLS_X509_FMT_DER
L_.str.18:                              ## @.str.18
	.asciz	"TLS: Could not parse peer certificate %d/%d"

L_.str.19:                              ## @.str.19
	.asciz	"TLS: Peer cert chain %d/%d: %s"

	.comm	_TLS_PEER_CERTIFICATE,4,2       ## @TLS_PEER_CERTIFICATE
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
L_.str.20:                              ## @.str.20
	.asciz	"TLS: Domain suffix match '%s' not found"

L_.str.21:                              ## @.str.21
	.asciz	"Domain suffix mismatch"

	.comm	_TLS_FAIL_DOMAIN_SUFFIX_MISMATCH,4,2 ## @TLS_FAIL_DOMAIN_SUFFIX_MISMATCH
L_.str.22:                              ## @.str.22
	.asciz	"GnuTLS: No server EKU"

L_.str.23:                              ## @.str.23
	.asciz	"No server EKU"

L_.str.24:                              ## @.str.24
	.asciz	"TLS: Peer certificate %d/%d is not valid at this time"

L_.str.25:                              ## @.str.25
	.asciz	"Certificate is not valid at this time"

	.comm	_TLS_CERT_CHAIN_SUCCESS,4,2     ## @TLS_CERT_CHAIN_SUCCESS
	.comm	_GNUTLS_AL_FATAL,4,2            ## @GNUTLS_AL_FATAL
	.comm	_GNUTLS_E_CERTIFICATE_ERROR,4,2 ## @GNUTLS_E_CERTIFICATE_ERROR
	.comm	_GNUTLS_DT_KEY_PURPOSE_OID,4,2  ## @GNUTLS_DT_KEY_PURPOSE_OID
	.comm	_GNUTLS_KP_TLS_WWW_SERVER,8,3   ## @GNUTLS_KP_TLS_WWW_SERVER
	.comm	_TLS_FAIL_DOMAIN_MISMATCH,4,2   ## @TLS_FAIL_DOMAIN_MISMATCH
	.no_dead_strip	_tls_connection_verify_peer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_connection_verify_peer
_tls_connection_verify_peer:            ; @tls_connection_verify_peer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_gnutls_session_get_ptr
	mov	x20, x0
	ldr	x8, [x0, #32]
Lloh0:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x26]
	cbz	x8, LBB0_8
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	sub	x1, x29, #84
	mov	x0, x19
	bl	_gnutls_certificate_verify_peers2
	tbnz	w0, #31, LBB0_10
; %bb.2:
	add	x1, sp, #88
	mov	x0, x19
	bl	_gnutls_certificate_get_peers
	cbz	x0, LBB0_13
; %bb.3:
	ldr	w8, [sp, #88]
	cbz	w8, LBB0_13
; %bb.4:
	mov	x21, x0
	ldr	x9, [x20, #32]
	ldur	w8, [x29, #-84]
	cbz	x9, LBB0_14
; %bb.5:
Lloh4:
	adrp	x9, _GNUTLS_CERT_INVALID@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GNUTLS_CERT_INVALID@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.6:
Lloh7:
	adrp	x21, _MSG_INFO@GOTPAGE
Lloh8:
	ldr	x21, [x21, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	ldur	w8, [x29, #-84]
Lloh11:
	adrp	x9, _GNUTLS_CERT_INSECURE_ALGORITHM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _GNUTLS_CERT_INSECURE_ALGORITHM@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.7:
	ldr	w0, [x21]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
Lloh16:
	adrp	x8, _TLS_FAIL_BAD_CERTIFICATE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TLS_FAIL_BAD_CERTIFICATE@GOTPAGEOFF]
Lloh18:
	ldr	w5, [x8]
Lloh19:
	adrp	x4, l_.str.6@PAGE
Lloh20:
	add	x4, x4, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	mov	x3, #0
	bl	_gnutls_tls_fail_event
Lloh21:
	adrp	x8, _GNUTLS_A_INSUFFICIENT_SECURITY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GNUTLS_A_INSUFFICIENT_SECURITY@GOTPAGEOFF]
	b	LBB0_17
LBB0_8:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_9:
	mov	w0, #0
	b	LBB0_19
LBB0_10:
Lloh25:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_11:
	bl	_wpa_printf
LBB0_12:
Lloh30:
	adrp	x8, _GNUTLS_A_INTERNAL_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GNUTLS_A_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_17
LBB0_13:
Lloh32:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.3@PAGE
Lloh36:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	b	LBB0_16
LBB0_14:
Lloh37:
	adrp	x9, _GNUTLS_CERT_SIGNER_NOT_FOUND@GOTPAGE
Lloh38:
	ldr	x9, [x9, _GNUTLS_CERT_SIGNER_NOT_FOUND@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.15:
Lloh40:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x1, l_.str.12@PAGE
Lloh44:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_printf
Lloh45:
	adrp	x8, _TLS_FAIL_UNTRUSTED@GOTPAGE
Lloh46:
	ldr	x8, [x8, _TLS_FAIL_UNTRUSTED@GOTPAGEOFF]
Lloh47:
	ldr	w5, [x8]
Lloh48:
	adrp	x4, l_.str.13@PAGE
Lloh49:
	add	x4, x4, l_.str.13@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	mov	x3, #0
	bl	_gnutls_tls_fail_event
LBB0_16:
Lloh50:
	adrp	x8, _GNUTLS_A_UNKNOWN_CA@GOTPAGE
Lloh51:
	ldr	x8, [x8, _GNUTLS_A_UNKNOWN_CA@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	str	w8, [sp, #72]
LBB0_18:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
Lloh52:
	adrp	x8, _GNUTLS_AL_FATAL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _GNUTLS_AL_FATAL@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	ldr	w2, [sp, #72]
	mov	x0, x19
	bl	_gnutls_alert_send
Lloh55:
	adrp	x8, _GNUTLS_E_CERTIFICATE_ERROR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _GNUTLS_E_CERTIFICATE_ERROR@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
LBB0_19:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_20:
Lloh58:
	adrp	x9, _GNUTLS_CERT_REVOKED@GOTPAGE
Lloh59:
	ldr	x9, [x9, _GNUTLS_CERT_REVOKED@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.21:
Lloh61:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
Lloh64:
	adrp	x1, l_.str.14@PAGE
Lloh65:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_wpa_printf
Lloh66:
	adrp	x8, _TLS_FAIL_REVOKED@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TLS_FAIL_REVOKED@GOTPAGEOFF]
Lloh68:
	ldr	w5, [x8]
Lloh69:
	adrp	x4, l_.str.15@PAGE
Lloh70:
	add	x4, x4, l_.str.15@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	mov	x3, #0
	bl	_gnutls_tls_fail_event
Lloh71:
	adrp	x8, _GNUTLS_A_CERTIFICATE_REVOKED@GOTPAGE
Lloh72:
	ldr	x8, [x8, _GNUTLS_A_CERTIFICATE_REVOKED@GOTPAGEOFF]
	b	LBB0_17
LBB0_22:
Lloh73:
	adrp	x9, _GNUTLS_CERT_NOT_ACTIVATED@GOTPAGE
Lloh74:
	ldr	x9, [x9, _GNUTLS_CERT_NOT_ACTIVATED@GOTPAGEOFF]
Lloh75:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.23:
	ldr	w0, [x21]
Lloh76:
	adrp	x1, l_.str.7@PAGE
Lloh77:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
Lloh78:
	adrp	x8, _TLS_FAIL_NOT_YET_VALID@GOTPAGE
Lloh79:
	ldr	x8, [x8, _TLS_FAIL_NOT_YET_VALID@GOTPAGEOFF]
Lloh80:
	ldr	w5, [x8]
Lloh81:
	adrp	x4, l_.str.8@PAGE
Lloh82:
	add	x4, x4, l_.str.8@PAGEOFF
	b	LBB0_28
LBB0_24:
	cbz	w8, LBB0_30
; %bb.25:
Lloh83:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh84:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh86:
	adrp	x1, l_.str.16@PAGE
Lloh87:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_11
LBB0_26:
Lloh88:
	adrp	x9, _GNUTLS_CERT_EXPIRED@GOTPAGE
Lloh89:
	ldr	x9, [x9, _GNUTLS_CERT_EXPIRED@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_52
; %bb.27:
	ldr	w0, [x21]
Lloh91:
	adrp	x1, l_.str.9@PAGE
Lloh92:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_printf
Lloh93:
	adrp	x8, _TLS_FAIL_EXPIRED@GOTPAGE
Lloh94:
	ldr	x8, [x8, _TLS_FAIL_EXPIRED@GOTPAGEOFF]
Lloh95:
	ldr	w5, [x8]
Lloh96:
	adrp	x4, l_.str.10@PAGE
Lloh97:
	add	x4, x4, l_.str.10@PAGEOFF
LBB0_28:
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	mov	x3, #0
	bl	_gnutls_tls_fail_event
LBB0_29:
Lloh98:
	adrp	x8, _GNUTLS_A_CERTIFICATE_EXPIRED@GOTPAGE
Lloh99:
	ldr	x8, [x8, _GNUTLS_A_CERTIFICATE_EXPIRED@GOTPAGEOFF]
	b	LBB0_17
LBB0_30:
	add	x2, sp, #72
	mov	x0, x20
	mov	x1, x19
	bl	_check_ocsp
	cbnz	x0, LBB0_18
; %bb.31:
	add	x0, sp, #80
	bl	_os_get_time
	ldr	w8, [sp, #88]
	cbz	w8, LBB0_53
; %bb.32:
	mov	x28, #0
Lloh100:
	adrp	x27, _GNUTLS_X509_FMT_DER@GOTPAGE
Lloh101:
	ldr	x27, [x27, _GNUTLS_X509_FMT_DER@GOTPAGEOFF]
Lloh102:
	adrp	x24, l_.str.19@PAGE
Lloh103:
	add	x24, x24, l_.str.19@PAGEOFF
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=1
	mov	x0, x22
	bl	_os_free
	ldr	w0, [sp, #76]
	bl	_gnutls_x509_crt_deinit
	ldr	w8, [sp, #88]
	add	x21, x21, #16
	mov	x28, x23
	cmp	x23, x8
	b.hs	LBB0_53
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #76
	bl	_gnutls_x509_crt_init
	tbnz	x0, #63, LBB0_55
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [sp, #76]
	ldr	w2, [x27]
	mov	x1, x21
	bl	_gnutls_x509_crt_import
	tbnz	x0, #63, LBB0_56
; %bb.36:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [sp, #76]
	add	x2, sp, #64
	mov	x1, #0
	bl	_gnutls_x509_crt_get_dn
	ldr	x8, [sp, #64]
	add	x9, x8, #1
	str	x9, [sp, #64]
	add	x0, x8, #2
	bl	_os_malloc
	mov	x22, x0
	cbz	x0, LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x8, [sp, #64]
	strb	wzr, [x22, x8]
	strb	wzr, [x22]
	ldr	w0, [sp, #76]
	add	x2, sp, #64
	mov	x1, x22
	bl	_gnutls_x509_crt_get_dn
LBB0_38:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [x26]
	add	x23, x28, #1
	ldr	w8, [sp, #88]
	stp	x8, x22, [sp, #8]
	str	x23, [sp]
	mov	x1, x24
	bl	_wpa_printf
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_43
; %bb.39:                               ;   in Loop: Header=BB0_34 Depth=1
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #32
	bl	_os_memset
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_34 Depth=1
	ldp	x1, x0, [x21]
	bl	_wpabuf_alloc_copy
	mov	x25, x0
	str	x0, [sp, #56]
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_34 Depth=1
	mov	x25, #0
LBB0_42:                                ;   in Loop: Header=BB0_34 Depth=1
	str	w28, [sp, #36]
	str	x22, [sp, #40]
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
Lloh104:
	adrp	x8, _TLS_PEER_CERTIFICATE@GOTPAGE
Lloh105:
	ldr	x8, [x8, _TLS_PEER_CERTIFICATE@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
	add	x2, sp, #32
	blr	x9
	mov	x0, x25
	bl	_wpabuf_free
LBB0_43:                                ;   in Loop: Header=BB0_34 Depth=1
	cbnz	x28, LBB0_48
; %bb.44:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w1, [x20, #24]
	cbz	w1, LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [sp, #76]
	mov	w2, #0
	bl	_tls_match_suffix
	cbz	w0, LBB0_58
LBB0_46:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #16]
	cbnz	w8, LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [sp, #76]
	bl	_server_eku_purpose
	cbz	w0, LBB0_59
LBB0_48:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	w8, [x20, #16]
	cbnz	w8, LBB0_33
; %bb.49:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [sp, #76]
	bl	_gnutls_x509_crt_get_expiration_time
	ldr	x8, [sp, #80]
	cmp	x0, x8
	b.lt	LBB0_51
; %bb.50:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [sp, #76]
	bl	_gnutls_x509_crt_get_activation_time
	ldr	x8, [sp, #80]
	cmp	x0, x8
	b.le	LBB0_33
LBB0_51:
	add	x8, x28, #1
Lloh107:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh108:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh109:
	ldr	w0, [x9]
	ldr	w9, [sp, #88]
	stp	x8, x9, [sp]
Lloh110:
	adrp	x1, l_.str.24@PAGE
Lloh111:
	add	x1, x1, l_.str.24@PAGEOFF
	bl	_wpa_printf
Lloh112:
	adrp	x8, _TLS_FAIL_EXPIRED@GOTPAGE
Lloh113:
	ldr	x8, [x8, _TLS_FAIL_EXPIRED@GOTPAGEOFF]
Lloh114:
	ldr	w5, [x8]
Lloh115:
	adrp	x4, l_.str.25@PAGE
Lloh116:
	add	x4, x4, l_.str.25@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x2, x28
	mov	x3, x22
	bl	_gnutls_tls_fail_event
	ldr	w0, [sp, #76]
	bl	_gnutls_x509_crt_deinit
	mov	x0, x22
	bl	_os_free
	b	LBB0_29
LBB0_52:
Lloh117:
	adrp	x8, _TLS_FAIL_UNTRUSTED@GOTPAGE
Lloh118:
	ldr	x8, [x8, _TLS_FAIL_UNTRUSTED@GOTPAGEOFF]
Lloh119:
	ldr	w5, [x8]
Lloh120:
	adrp	x4, l_.str.11@PAGE
Lloh121:
	add	x4, x4, l_.str.11@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	mov	x3, #0
	bl	_gnutls_tls_fail_event
	b	LBB0_12
LBB0_53:
	ldr	x9, [x20, #8]
	ldr	x8, [x9, #8]
	cbz	x8, LBB0_9
; %bb.54:
	ldr	w0, [x9]
Lloh122:
	adrp	x9, _TLS_CERT_CHAIN_SUCCESS@GOTPAGE
Lloh123:
	ldr	x9, [x9, _TLS_CERT_CHAIN_SUCCESS@GOTPAGEOFF]
Lloh124:
	ldr	w1, [x9]
	mov	x2, #0
	blr	x8
	b	LBB0_9
LBB0_55:
Lloh125:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh126:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh127:
	ldr	w0, [x8]
Lloh128:
	adrp	x1, l_.str.17@PAGE
Lloh129:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_wpa_printf
	b	LBB0_57
LBB0_56:
Lloh130:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh131:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh132:
	ldr	w0, [x8]
	add	x8, x28, #1
	ldr	w9, [sp, #88]
	stp	x8, x9, [sp]
Lloh133:
	adrp	x1, l_.str.18@PAGE
Lloh134:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [sp, #76]
	bl	_gnutls_x509_crt_deinit
LBB0_57:
Lloh135:
	adrp	x8, _GNUTLS_A_BAD_CERTIFICATE@GOTPAGE
Lloh136:
	ldr	x8, [x8, _GNUTLS_A_BAD_CERTIFICATE@GOTPAGEOFF]
	b	LBB0_17
LBB0_58:
Lloh137:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh138:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh139:
	ldr	w0, [x8]
	ldr	w8, [x20, #24]
	str	x8, [sp]
Lloh140:
	adrp	x1, l_.str.20@PAGE
Lloh141:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_wpa_printf
Lloh142:
	adrp	x8, _TLS_FAIL_DOMAIN_SUFFIX_MISMATCH@GOTPAGE
Lloh143:
	ldr	x8, [x8, _TLS_FAIL_DOMAIN_SUFFIX_MISMATCH@GOTPAGEOFF]
Lloh144:
	ldr	w5, [x8]
Lloh145:
	adrp	x4, l_.str.21@PAGE
Lloh146:
	add	x4, x4, l_.str.21@PAGEOFF
	b	LBB0_60
LBB0_59:
Lloh147:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh148:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh149:
	ldr	w0, [x8]
Lloh150:
	adrp	x1, l_.str.22@PAGE
Lloh151:
	add	x1, x1, l_.str.22@PAGEOFF
	bl	_wpa_printf
Lloh152:
	adrp	x8, _TLS_FAIL_BAD_CERTIFICATE@GOTPAGE
Lloh153:
	ldr	x8, [x8, _TLS_FAIL_BAD_CERTIFICATE@GOTPAGEOFF]
Lloh154:
	ldr	w5, [x8]
Lloh155:
	adrp	x4, l_.str.23@PAGE
Lloh156:
	add	x4, x4, l_.str.23@PAGEOFF
LBB0_60:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	mov	x3, x22
	bl	_gnutls_tls_fail_event
Lloh157:
	adrp	x8, _GNUTLS_A_BAD_CERTIFICATE@GOTPAGE
Lloh158:
	ldr	x8, [x8, _GNUTLS_A_BAD_CERTIFICATE@GOTPAGEOFF]
Lloh159:
	ldr	w8, [x8]
	str	w8, [sp, #72]
	ldr	w0, [sp, #76]
	bl	_gnutls_x509_crt_deinit
	mov	x0, x22
	bl	_os_free
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpAdd	Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpAdd	Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh135, Lloh136
	.loh AdrpAdd	Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh142, Lloh143, Lloh144
	.loh AdrpAdd	Lloh140, Lloh141
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpAdd	Lloh155, Lloh156
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpAdd	Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh157, Lloh158, Lloh159
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GnuTLS: No peer certificate verification enabled"

l_.str.1:                               ; @.str.1
	.asciz	"GnuTSL: Verifying peer certificate"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"TLS: Failed to verify peer certificate chain"

	.comm	_GNUTLS_A_INTERNAL_ERROR,4,2    ; @GNUTLS_A_INTERNAL_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"TLS: No peer certificate chain received"

	.comm	_GNUTLS_A_UNKNOWN_CA,4,2        ; @GNUTLS_A_UNKNOWN_CA
	.comm	_GNUTLS_CERT_INVALID,4,2        ; @GNUTLS_CERT_INVALID
l_.str.4:                               ; @.str.4
	.asciz	"TLS: Peer certificate not trusted"

	.comm	_GNUTLS_CERT_INSECURE_ALGORITHM,4,2 ; @GNUTLS_CERT_INSECURE_ALGORITHM
l_.str.5:                               ; @.str.5
	.asciz	"TLS: Certificate uses insecure algorithm"

l_.str.6:                               ; @.str.6
	.asciz	"certificate uses insecure algorithm"

	.comm	_TLS_FAIL_BAD_CERTIFICATE,4,2   ; @TLS_FAIL_BAD_CERTIFICATE
	.comm	_GNUTLS_A_INSUFFICIENT_SECURITY,4,2 ; @GNUTLS_A_INSUFFICIENT_SECURITY
	.comm	_GNUTLS_CERT_NOT_ACTIVATED,4,2  ; @GNUTLS_CERT_NOT_ACTIVATED
l_.str.7:                               ; @.str.7
	.asciz	"TLS: Certificate not yet activated"

l_.str.8:                               ; @.str.8
	.asciz	"certificate not yet valid"

	.comm	_TLS_FAIL_NOT_YET_VALID,4,2     ; @TLS_FAIL_NOT_YET_VALID
	.comm	_GNUTLS_A_CERTIFICATE_EXPIRED,4,2 ; @GNUTLS_A_CERTIFICATE_EXPIRED
	.comm	_GNUTLS_CERT_EXPIRED,4,2        ; @GNUTLS_CERT_EXPIRED
l_.str.9:                               ; @.str.9
	.asciz	"TLS: Certificate expired"

l_.str.10:                              ; @.str.10
	.asciz	"certificate has expired"

	.comm	_TLS_FAIL_EXPIRED,4,2           ; @TLS_FAIL_EXPIRED
l_.str.11:                              ; @.str.11
	.asciz	"untrusted certificate"

	.comm	_TLS_FAIL_UNTRUSTED,4,2         ; @TLS_FAIL_UNTRUSTED
	.comm	_GNUTLS_CERT_SIGNER_NOT_FOUND,4,2 ; @GNUTLS_CERT_SIGNER_NOT_FOUND
l_.str.12:                              ; @.str.12
	.asciz	"TLS: Peer certificate does not have a known issuer"

l_.str.13:                              ; @.str.13
	.asciz	"signed not found"

	.comm	_GNUTLS_CERT_REVOKED,4,2        ; @GNUTLS_CERT_REVOKED
l_.str.14:                              ; @.str.14
	.asciz	"TLS: Peer certificate has been revoked"

l_.str.15:                              ; @.str.15
	.asciz	"certificate revoked"

	.comm	_TLS_FAIL_REVOKED,4,2           ; @TLS_FAIL_REVOKED
	.comm	_GNUTLS_A_CERTIFICATE_REVOKED,4,2 ; @GNUTLS_A_CERTIFICATE_REVOKED
l_.str.16:                              ; @.str.16
	.asciz	"TLS: Unknown verification status: %d"

l_.str.17:                              ; @.str.17
	.asciz	"TLS: Certificate initialization failed"

	.comm	_GNUTLS_A_BAD_CERTIFICATE,4,2   ; @GNUTLS_A_BAD_CERTIFICATE
	.comm	_GNUTLS_X509_FMT_DER,4,2        ; @GNUTLS_X509_FMT_DER
l_.str.18:                              ; @.str.18
	.asciz	"TLS: Could not parse peer certificate %d/%d"

l_.str.19:                              ; @.str.19
	.asciz	"TLS: Peer cert chain %d/%d: %s"

	.comm	_TLS_PEER_CERTIFICATE,4,2       ; @TLS_PEER_CERTIFICATE
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
l_.str.20:                              ; @.str.20
	.asciz	"TLS: Domain suffix match '%s' not found"

l_.str.21:                              ; @.str.21
	.asciz	"Domain suffix mismatch"

	.comm	_TLS_FAIL_DOMAIN_SUFFIX_MISMATCH,4,2 ; @TLS_FAIL_DOMAIN_SUFFIX_MISMATCH
l_.str.22:                              ; @.str.22
	.asciz	"GnuTLS: No server EKU"

l_.str.23:                              ; @.str.23
	.asciz	"No server EKU"

l_.str.24:                              ; @.str.24
	.asciz	"TLS: Peer certificate %d/%d is not valid at this time"

l_.str.25:                              ; @.str.25
	.asciz	"Certificate is not valid at this time"

	.comm	_TLS_CERT_CHAIN_SUCCESS,4,2     ; @TLS_CERT_CHAIN_SUCCESS
	.comm	_GNUTLS_AL_FATAL,4,2            ; @GNUTLS_AL_FATAL
	.comm	_GNUTLS_E_CERTIFICATE_ERROR,4,2 ; @GNUTLS_E_CERTIFICATE_ERROR
	.comm	_GNUTLS_DT_KEY_PURPOSE_OID,4,2  ; @GNUTLS_DT_KEY_PURPOSE_OID
	.comm	_GNUTLS_KP_TLS_WWW_SERVER,8,3   ; @GNUTLS_KP_TLS_WWW_SERVER
	.comm	_TLS_FAIL_DOMAIN_MISMATCH,4,2   ; @TLS_FAIL_DOMAIN_MISMATCH
	.no_dead_strip	_tls_connection_verify_peer
.subsections_via_symbols
