	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_verify_path              ## -- Begin function hx509_verify_path
	.p2align	4, 0x90
_hx509_verify_path:                     ## @hx509_verify_path
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	$0, -104(%rbp)
	leaq	-128(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-112(%rbp), %rdi
	callq	_init_name_constraints
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_103
## %bb.1:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	_HX509_VERIFY_CTX_F_TIME_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	callq	_time
	movq	%rax, 8(%r15)
LBB0_3:
	movq	32(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
LBB0_4:
	callq	_hx509_certs_ref
	movq	%rax, %rcx
	movq	%rax, -104(%rbp)
LBB0_5:
	movq	8(%r15), %rdx
	movl	24(%r15), %r8d
	leaq	-80(%rbp), %rax
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r13, %r9
	pushq	%rax
	pushq	%r12
	callq	__hx509_calculate_path
	addq	$16, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_102
## %bb.6:
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, -80(%rbp)
	je	LBB0_60
## %bb.7:
	movq	_HX509_VERIFY_CTX_F_ALLOW_PROXY_CERTIFICATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r12d, %r12d
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	sete	%r12b
	addq	$8, %r13
	movq	%r13, -152(%rbp)                ## 8-byte Spill
	orl	$128, %r12d
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$0, -108(%rbp)                  ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_8:
	cmpq	$0, (%r14)
	je	LBB0_50
## %bb.9:
	movq	%r15, %rdi
	callq	_ALLOW_DEF_TA
	testq	%rax, %rax
	je	LBB0_50
## %bb.10:
	movq	(%r14), %rdi
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	$130, %r12d
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-80(%rbp), %r13
	cmpq	%r13, %r14
	jae	LBB0_52
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax
	movq	(%rax,%r14,8), %rdi
	callq	__hx509_get_cert
	movq	%rax, %r15
	cmpl	$128, %r12d
	je	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$129, %r12d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$130, %r12d
	jne	LBB0_42
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_REQUIRE_RFC3280
	movq	_TRUE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rcx
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	(%rcx), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$32, %edx
	callq	_check_key_usage
	testl	%eax, %eax
	jne	LBB0_75
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	1(%r14), %rax
	movl	$130, %r12d
	cmpq	-80(%rbp), %rax
	je	LBB0_42
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	leaq	-48(%rbp), %rdx
	callq	_certificate_is_self_signed
	cmpl	$1, -48(%rbp)
	sbbl	$-1, -108(%rbp)                 ## 4-byte Folded Spill
	testl	%eax, %eax
	je	LBB0_42
	jmp	LBB0_93
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r15, %rsi
	leaq	-48(%rbp), %rdx
	callq	_is_proxy_cert
	testl	%eax, %eax
	je	LBB0_28
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	$129, %r12d
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_42
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	16(%r15), %rsi
	leaq	-128(%rbp), %rdi
	leaq	-52(%rbp), %rdx
	callq	__hx509_name_cmp
	testl	%eax, %eax
	jne	LBB0_76
## %bb.24:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -52(%rbp)
	jne	LBB0_77
## %bb.25:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	cmpl	$0, (%rbx)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	callq	_hx509_name_free
LBB0_27:                                ##   in Loop: Header=BB0_13 Depth=1
	leaq	-128(%rbp), %rdi
	movq	%rbx, %rsi
	callq	__hx509_name_from_Name
	testl	%eax, %eax
	je	LBB0_42
	jmp	LBB0_72
LBB0_28:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpq	%r14, (%rax)
	jb	LBB0_98
LBB0_30:                                ##   in Loop: Header=BB0_13 Depth=1
	leaq	-48(%rbp), %rdi
	callq	_free_ProxyCertInfo
	movq	$0, -136(%rbp)
	movq	%r15, %rdi
	movq	_asn1_oid_id_x509_ce_subjectAltName@GOTPCREL(%rip), %rsi
	leaq	-136(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_find_extension
	testl	%eax, %eax
	jne	LBB0_95
## %bb.31:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	$0, -136(%rbp)
	movq	%r15, %rdi
	movq	_asn1_oid_id_x509_ce_issuerAltName@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdx
	callq	_find_extension
	testl	%eax, %eax
	jne	LBB0_96
## %bb.32:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	16(%r15), %rsi
	leaq	-128(%rbp), %rdi
	leaq	-52(%rbp), %rdx
	callq	__hx509_name_cmp
	testl	%eax, %eax
	jne	LBB0_81
## %bb.34:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -52(%rbp)
	jne	LBB0_99
LBB0_35:                                ##   in Loop: Header=BB0_13 Depth=1
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_free_Name
	leaq	16(%r15), %rdi
	movq	%rbx, %rsi
	callq	_copy_Name
	testl	%eax, %eax
	jne	LBB0_72
## %bb.36:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-128(%rbp), %rax
	movq	%rax, -136(%rbp)
	cmpq	$2, %rax
	jb	LBB0_80
## %bb.37:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-120(%rbp), %rcx
	decq	%rax
	shlq	$4, %rax
	cmpl	$1, (%rcx,%rax)
	jg	LBB0_80
## %bb.38:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%rcx,%rax), %rdi
	movq	_asn1_oid_id_at_commonName@GOTPCREL(%rip), %rsi
	callq	_der_heim_oid_cmp
	testl	%eax, %eax
	jne	LBB0_80
## %bb.39:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-120(%rbp), %rax
	movq	-136(%rbp), %rcx
	shlq	$4, %rcx
	leaq	(%rcx,%rax), %rdi
	addq	$-16, %rdi
	callq	_free_RelativeDistinguishedName
	decq	-128(%rbp)
	leaq	20(%r15), %rsi
	leaq	-128(%rbp), %rdi
	leaq	-52(%rbp), %rdx
	callq	__hx509_name_cmp
	testl	%eax, %eax
	jne	LBB0_81
## %bb.40:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -52(%rbp)
	jne	LBB0_97
## %bb.41:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$128, %r12d
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_13 Depth=1
	movslq	-96(%rbp), %rax                 ## 4-byte Folded Reload
	movslq	-108(%rbp), %rdx                ## 4-byte Folded Reload
	addq	%rax, %rdx
	movq	%r14, %rcx
	subq	%rdx, %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_check_basic_constraints
	testl	%eax, %eax
	jne	LBB0_93
## %bb.43:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%r14
	cmpq	-80(%rbp), %r14
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_CHECK_TA
	testq	%rax, %rax
	je	LBB0_47
LBB0_45:                                ##   in Loop: Header=BB0_13 Depth=1
	leaq	4(%r15), %rdi
	callq	__hx509_Time2time_t
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	cmpq	8(%rbx), %rax
	jg	LBB0_70
## %bb.46:                              ##   in Loop: Header=BB0_13 Depth=1
	addq	$8, %r15
	movq	%r15, %rdi
	callq	__hx509_Time2time_t
	cmpq	8(%rbx), %rax
	jl	LBB0_71
LBB0_47:                                ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$129, %r12d
	je	LBB0_11
## %bb.48:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$128, %r12d
	jne	LBB0_12
## %bb.49:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$128, %r12d
	jmp	LBB0_12
LBB0_50:
	leaq	L_.str(%rip), %rsi
	leaq	-104(%rbp), %r8
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_hx509_certs_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_102
## %bb.51:
	movq	-104(%rbp), %rcx
	jmp	LBB0_5
LBB0_52:
	testq	%r13, %r13
	je	LBB0_60
## %bb.53:
	leaq	-48(%rbp), %r14
	leaq	-112(%rbp), %r12
LBB0_54:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax
	movq	-8(%rax,%r13,8), %rdi
	callq	__hx509_get_cert
	movq	%rax, %r15
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_certificate_is_self_signed
	testl	%eax, %eax
	jne	LBB0_93
## %bb.55:                              ##   in Loop: Header=BB0_54 Depth=1
	cmpl	$0, -48(%rbp)
	je	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_54 Depth=1
	cmpq	-80(%rbp), %r13
	je	LBB0_58
LBB0_57:                                ##   in Loop: Header=BB0_54 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_check_name_constraints
	testl	%eax, %eax
	jne	LBB0_93
LBB0_58:                                ##   in Loop: Header=BB0_54 Depth=1
	xorl	%edx, %edx
	cmpq	$1, %r13
	sete	%dl
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rcx
	callq	_add_name_constraints
	testl	%eax, %eax
	jne	LBB0_93
## %bb.59:                              ##   in Loop: Header=BB0_54 Depth=1
	decq	%r13
	jne	LBB0_54
LBB0_60:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	cmpq	$0, 16(%r12)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_83
## %bb.61:
	leaq	L_.str.10(%rip), %rsi
	leaq	-48(%rbp), %r8
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_hx509_certs_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_102
## %bb.62:
	cmpq	$0, -80(%rbp)
	je	LBB0_66
## %bb.63:
	xorl	%r14d, %r14d
LBB0_64:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rsi
	movq	-72(%rbp), %rax
	movq	(%rax,%r14,8), %rdx
	movq	%r15, %rdi
	callq	_hx509_certs_add
	testl	%eax, %eax
	jne	LBB0_73
## %bb.65:                              ##   in Loop: Header=BB0_64 Depth=1
	incq	%r14
	cmpq	-80(%rbp), %r14
	jb	LBB0_64
LBB0_66:
	movq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	callq	_hx509_certs_merge
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_74
## %bb.67:
	xorl	%eax, %eax
LBB0_68:                                ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rcx
	decq	%rcx
	cmpq	%rcx, %rax
	jae	LBB0_82
## %bb.69:                              ##   in Loop: Header=BB0_68 Depth=1
	leaq	1(%rax), %r14
	movq	8(%r12), %rcx
	movq	16(%r12), %rsi
	movq	-48(%rbp), %rdx
	movq	-72(%rbp), %rdi
	movq	(%rdi,%rax,8), %r8
	movq	8(%rdi,%rax,8), %r9
	movq	%r15, %rdi
	callq	_hx509_revoke_verify
	movl	%eax, %ebx
	movq	%r14, %rax
	testl	%ebx, %ebx
	je	LBB0_68
	jmp	LBB0_74
LBB0_70:
	movq	_HX509_CERT_USED_BEFORE_TIME@GOTPCREL(%rip), %rax
	jmp	LBB0_78
LBB0_71:
	movq	_HX509_CERT_USED_AFTER_TIME@GOTPCREL(%rip), %rax
	jmp	LBB0_78
LBB0_72:
	movl	%eax, %ebx
	jmp	LBB0_79
LBB0_73:
	movl	%eax, %ebx
LBB0_74:
	leaq	-48(%rbp), %rdi
	callq	_hx509_certs_free
	jmp	LBB0_102
LBB0_75:
	movl	%eax, %ebx
	movq	_HX509_ERROR_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	jmp	LBB0_101
LBB0_76:
	movl	%eax, %ebx
	leaq	L_.str.9(%rip), %rcx
	jmp	LBB0_100
LBB0_77:
	movq	_HX509_PROXY_CERT_NAME_WRONG@GOTPCREL(%rip), %rax
LBB0_78:
	movl	(%rax), %ebx
LBB0_79:
	movq	%r13, %rdi
	callq	_hx509_clear_error_string
	jmp	LBB0_102
LBB0_80:
	movq	_HX509_PROXY_CERT_NAME_WRONG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.7(%rip), %rcx
	jmp	LBB0_100
LBB0_81:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rcx
	jmp	LBB0_100
LBB0_82:
	leaq	-48(%rbp), %rdi
	callq	_hx509_certs_free
LBB0_83:
	movq	-80(%rbp), %r14
	xorl	%ebx, %ebx
LBB0_84:                                ## =>This Inner Loop Header: Depth=1
	testq	%r14, %r14
	je	LBB0_102
## %bb.85:                              ##   in Loop: Header=BB0_84 Depth=1
	movq	%r14, %r13
	decq	%r14
	movq	-72(%rbp), %rax
	movq	-8(%rax,%r13,8), %rdi
	callq	__hx509_get_cert
	movq	%rax, %r12
	cmpq	-80(%rbp), %r13
	jne	LBB0_88
## %bb.86:                              ##   in Loop: Header=BB0_84 Depth=1
	movq	-72(%rbp), %rax
	movq	(%rax,%r14,8), %r15
	movq	(%r15), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	-48(%rbp), %rdx
	callq	_certificate_is_self_signed
	testl	%eax, %eax
	jne	LBB0_93
## %bb.87:                              ##   in Loop: Header=BB0_84 Depth=1
	cmpl	$0, -48(%rbp)
	jne	LBB0_89
	jmp	LBB0_84
LBB0_88:                                ##   in Loop: Header=BB0_84 Depth=1
	movq	-72(%rbp), %rax
	movq	(%rax,%r13,8), %r15
LBB0_89:                                ##   in Loop: Header=BB0_84 Depth=1
	leaq	12(%r12), %rcx
	leaq	24(%r12), %r8
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	__hx509_verify_signature_bitstring
	testl	%eax, %eax
	jne	LBB0_94
## %bb.90:                              ##   in Loop: Header=BB0_84 Depth=1
	cmpq	$1, %r13
	je	LBB0_102
## %bb.91:                              ##   in Loop: Header=BB0_84 Depth=1
	movq	_HX509_VERIFY_CTX_F_NO_BEST_BEFORE_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_84
## %bb.92:                              ##   in Loop: Header=BB0_84 Depth=1
	movq	%r12, %rdi
	addq	$4, %rdi
	callq	__hx509_Time2time_t
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	__hx509_signature_best_before
	testl	%eax, %eax
	je	LBB0_84
LBB0_93:
	movl	%eax, %ebx
	jmp	LBB0_102
LBB0_94:
	movl	%eax, %r15d
	movq	_HX509_ERROR_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_hx509_set_error_string
	movl	%r15d, %ebx
	jmp	LBB0_102
LBB0_95:
	movq	_HX509_PROXY_CERT_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_100
LBB0_96:
	movq	_HX509_PROXY_CERT_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rcx
	jmp	LBB0_100
LBB0_97:
	movq	_HX509_PROXY_CERT_NAME_WRONG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.8(%rip), %rcx
	jmp	LBB0_100
LBB0_98:
	leaq	-48(%rbp), %rdi
	callq	_free_ProxyCertInfo
	movq	_HX509_PATH_TOO_LONG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_100
LBB0_99:
	movq	_HX509_PROXY_CERT_NAME_WRONG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.6(%rip), %rcx
LBB0_100:
	movq	%r13, %rdi
	xorl	%esi, %esi
LBB0_101:
	movl	%ebx, %edx
	callq	_hx509_set_error_string
LBB0_102:
	leaq	-104(%rbp), %rdi
	callq	_hx509_certs_free
	leaq	-128(%rbp), %rdi
	callq	_free_Name
	leaq	-112(%rbp), %rdi
	callq	_free_name_constraints
	leaq	-80(%rbp), %rdi
	callq	__hx509_path_free
LBB0_103:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HX509_VERIFY_CTX_F_TIME_SET,4,2 ## @HX509_VERIFY_CTX_F_TIME_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MEMORY:no-TA"

	.comm	_HX509_VERIFY_CTX_F_ALLOW_PROXY_CERTIFICATE,4,2 ## @HX509_VERIFY_CTX_F_ALLOW_PROXY_CERTIFICATE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_HX509_ERROR_APPEND,4,2         ## @HX509_ERROR_APPEND
L_.str.1:                               ## @.str.1
	.asciz	"Key usage missing from CA certificate"

	.comm	_HX509_PATH_TOO_LONG,4,2        ## @HX509_PATH_TOO_LONG
L_.str.2:                               ## @.str.2
	.asciz	"Proxy certificate chain longer then allowed"

	.comm	_asn1_oid_id_x509_ce_subjectAltName,4,2 ## @asn1_oid_id_x509_ce_subjectAltName
	.comm	_HX509_PROXY_CERT_INVALID,4,2   ## @HX509_PROXY_CERT_INVALID
L_.str.3:                               ## @.str.3
	.asciz	"Proxy certificate have explicity forbidden subjectAltName"

	.comm	_asn1_oid_id_x509_ce_issuerAltName,4,2 ## @asn1_oid_id_x509_ce_issuerAltName
L_.str.4:                               ## @.str.4
	.asciz	"Proxy certificate have explicity forbidden issuerAltName"

L_.str.5:                               ## @.str.5
	.asciz	"Out of memory"

	.comm	_HX509_PROXY_CERT_NAME_WRONG,4,2 ## @HX509_PROXY_CERT_NAME_WRONG
L_.str.6:                               ## @.str.6
	.asciz	"Base proxy name not right"

	.comm	_asn1_oid_id_at_commonName,4,2  ## @asn1_oid_id_at_commonName
L_.str.7:                               ## @.str.7
	.asciz	"Proxy name too short or does not have Common name at the top"

L_.str.8:                               ## @.str.8
	.asciz	"Proxy issuer name not as expected"

L_.str.9:                               ## @.str.9
	.asciz	"out of memory"

	.comm	_HX509_CERT_USED_BEFORE_TIME,4,2 ## @HX509_CERT_USED_BEFORE_TIME
	.comm	_HX509_CERT_USED_AFTER_TIME,4,2 ## @HX509_CERT_USED_AFTER_TIME
L_.str.10:                              ## @.str.10
	.asciz	"MEMORY:revoke-certs"

L_.str.11:                              ## @.str.11
	.asciz	"Failed to verify signature of certificate"

	.comm	_HX509_VERIFY_CTX_F_NO_BEST_BEFORE_CHECK,4,2 ## @HX509_VERIFY_CTX_F_NO_BEST_BEFORE_CHECK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_verify_path              ; -- Begin function hx509_verify_path
	.p2align	2
_hx509_verify_path:                     ; @hx509_verify_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #24]
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x0, sp, #76
	bl	_init_name_constraints
	mov	x26, x0
	cbnz	w0, LBB0_104
; %bb.1:
	stp	xzr, xzr, [sp, #56]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _HX509_VERIFY_CTX_F_TIME_SET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HX509_VERIFY_CTX_F_TIME_SET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x0, [x20, #32]
	cbnz	x0, LBB0_7
	b	LBB0_4
LBB0_3:
	mov	x0, #0
	bl	_time
	str	x0, [x20, #8]
	ldr	x0, [x20, #32]
	cbnz	x0, LBB0_7
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_50
; %bb.5:
	mov	x0, x20
	bl	_ALLOW_DEF_TA
	cbz	x0, LBB0_50
; %bb.6:
	ldr	x0, [x19]
LBB0_7:
	bl	_hx509_certs_ref
	mov	x3, x0
	str	x0, [sp, #24]
LBB0_8:
	ldr	x2, [x20, #8]
	ldr	w4, [x20, #24]
	add	x7, sp, #56
	mov	x0, x19
	mov	w1, #0
	mov	x5, x22
	mov	x6, x21
	bl	__hx509_calculate_path
	mov	x26, x0
	cbnz	w0, LBB0_103
; %bb.9:
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_58
; %bb.10:
	mov	w25, #0
	mov	w24, #0
	mov	x23, #0
Lloh3:
	adrp	x8, _HX509_VERIFY_CTX_F_ALLOW_PROXY_CERTIFICATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HX509_VERIFY_CTX_F_ALLOW_PROXY_CERTIFICATE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x20]
	add	x22, x22, #8
	tst	w8, w9
	mov	w8, #128
	cinc	w28, w8, eq
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w28, #130
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x27, [sp, #56]
	cmp	x23, x27
	b.hs	LBB0_52
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #64]
	ldr	x0, [x8, x23, lsl #3]
	bl	__hx509_get_cert
	mov	x27, x0
	cmp	w28, #128
	b.eq	LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w28, #129
	b.eq	LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w28, #130
	b.ne	LBB0_28
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_REQUIRE_RFC3280
	cmp	w0, #0
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	adrp	x9, _FALSE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x27
	mov	w2, #32
	bl	_check_key_usage
	cbnz	w0, LBB0_73
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x23, #1
	ldr	x9, [sp, #56]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x27
	bl	_certificate_is_self_signed
	ldr	w8, [sp, #16]
	cmp	w8, #0
	cinc	w24, w24, ne
	cbnz	w0, LBB0_92
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w28, #130
	b	LBB0_28
LBB0_20:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x27
	bl	_is_proxy_cert
	cbz	w0, LBB0_36
LBB0_21:                                ;   in Loop: Header=BB0_13 Depth=1
	cbz	w25, LBB0_27
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x1, x27, #16
	add	x0, sp, #32
	add	x2, sp, #52
	bl	__hx509_name_cmp
	cbnz	w0, LBB0_74
; %bb.23:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [sp, #52]
	cbnz	w8, LBB0_75
; %bb.24:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x22]
	cbz	w8, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x22
	bl	_hx509_name_free
LBB0_26:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x0, sp, #32
	mov	x1, x22
	bl	__hx509_name_from_Name
	cbnz	w0, LBB0_72
LBB0_27:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w28, #129
LBB0_28:                                ;   in Loop: Header=BB0_13 Depth=1
	sxtw	x8, w24
	add	x8, x8, w25, sxtw
	sub	x3, x23, x8
	mov	x0, x19
	mov	x1, x27
	mov	x2, x28
	bl	_check_basic_constraints
	cbnz	w0, LBB0_92
; %bb.29:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	ldr	x8, [sp, #56]
	cmp	x23, x8
	b.ne	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_CHECK_TA
	cbz	x0, LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x0, x27, #4
	bl	__hx509_Time2time_t
	ldr	x8, [x20, #8]
	cmp	x0, x8
	b.gt	LBB0_70
; %bb.32:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x0, x27, #8
	bl	__hx509_Time2time_t
	ldr	x8, [x20, #8]
	cmp	x0, x8
	b.lt	LBB0_71
LBB0_33:                                ;   in Loop: Header=BB0_13 Depth=1
	cmp	w28, #129
	b.eq	LBB0_11
; %bb.34:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w28, #128
	b.ne	LBB0_12
; %bb.35:                               ;   in Loop: Header=BB0_13 Depth=1
	add	w25, w25, #1
	b	LBB0_12
LBB0_36:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x8]
	cmp	x8, x23
	b.lo	LBB0_99
LBB0_38:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x0, sp, #16
	bl	_free_ProxyCertInfo
	str	xzr, [sp, #8]
	add	x2, sp, #8
	mov	x0, x27
Lloh10:
	adrp	x1, _asn1_oid_id_x509_ce_subjectAltName@GOTPAGE
Lloh11:
	ldr	x1, [x1, _asn1_oid_id_x509_ce_subjectAltName@GOTPAGEOFF]
	bl	_find_extension
	cbnz	w0, LBB0_96
; %bb.39:                               ;   in Loop: Header=BB0_13 Depth=1
	str	xzr, [sp, #8]
	add	x2, sp, #8
	mov	x0, x27
Lloh12:
	adrp	x1, _asn1_oid_id_x509_ce_issuerAltName@GOTPAGE
Lloh13:
	ldr	x1, [x1, _asn1_oid_id_x509_ce_issuerAltName@GOTPAGEOFF]
	bl	_find_extension
	cbnz	w0, LBB0_97
; %bb.40:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w25, LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x1, x27, #16
	add	x0, sp, #32
	add	x2, sp, #52
	bl	__hx509_name_cmp
	cbnz	w0, LBB0_79
; %bb.42:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [sp, #52]
	cbnz	w8, LBB0_100
LBB0_43:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x0, sp, #32
	bl	_free_Name
	add	x0, x27, #16
	add	x1, sp, #32
	bl	_copy_Name
	cbnz	w0, LBB0_72
; %bb.44:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [sp, #32]
	str	x9, [sp, #8]
	cmp	x9, #2
	b.lo	LBB0_78
; %bb.45:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #40]
	sub	x9, x9, #1
	lsl	x10, x9, #4
	ldr	w10, [x8, x10]
	cmp	w10, #1
	b.gt	LBB0_78
; %bb.46:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x8, x9, lsl #4
	ldr	x0, [x8, #8]
Lloh14:
	adrp	x1, _asn1_oid_id_at_commonName@GOTPAGE
Lloh15:
	ldr	x1, [x1, _asn1_oid_id_at_commonName@GOTPAGEOFF]
	bl	_der_heim_oid_cmp
	cbnz	w0, LBB0_78
; %bb.47:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #40]
	ldr	x9, [sp, #8]
	add	x8, x8, x9, lsl #4
	sub	x0, x8, #16
	bl	_free_RelativeDistinguishedName
	ldr	x8, [sp, #32]
	sub	x8, x8, #1
	str	x8, [sp, #32]
	add	x1, x27, #20
	add	x0, sp, #32
	add	x2, sp, #52
	bl	__hx509_name_cmp
	cbnz	w0, LBB0_79
; %bb.48:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [sp, #52]
	cbnz	w8, LBB0_98
; %bb.49:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w28, #128
	b	LBB0_28
LBB0_50:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	add	x4, sp, #24
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	bl	_hx509_certs_init
	mov	x26, x0
	cbnz	w0, LBB0_103
; %bb.51:
	ldr	x3, [sp, #24]
	b	LBB0_8
LBB0_52:
	cbz	x27, LBB0_58
LBB0_53:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #64]
	add	x8, x8, x27, lsl #3
	ldur	x0, [x8, #-8]
	bl	__hx509_get_cert
	mov	x22, x0
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x22
	bl	_certificate_is_self_signed
	cbnz	w0, LBB0_92
; %bb.54:                               ;   in Loop: Header=BB0_53 Depth=1
	ldr	w8, [sp, #16]
	ldr	x9, [sp, #56]
	cmp	w8, #0
	ccmp	x27, x9, #0, ne
	b.eq	LBB0_56
; %bb.55:                               ;   in Loop: Header=BB0_53 Depth=1
	add	x1, sp, #76
	mov	x0, x19
	mov	x2, x22
	bl	_check_name_constraints
	cbnz	w0, LBB0_92
LBB0_56:                                ;   in Loop: Header=BB0_53 Depth=1
	cmp	x27, #1
	cset	w2, eq
	add	x3, sp, #76
	mov	x0, x19
	mov	x1, x22
	bl	_add_name_constraints
	cbnz	w0, LBB0_92
; %bb.57:                               ;   in Loop: Header=BB0_53 Depth=1
	sub	x27, x27, #1
	cbnz	x27, LBB0_53
LBB0_58:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_81
; %bb.59:
Lloh18:
	adrp	x1, l_.str.10@PAGE
Lloh19:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x4, sp, #16
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	bl	_hx509_certs_init
	mov	x26, x0
	cbnz	w0, LBB0_103
; %bb.60:
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_64
; %bb.61:
	mov	x22, #0
LBB0_62:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [sp, #16]
	ldr	x8, [sp, #64]
	ldr	x2, [x8, x22, lsl #3]
	mov	x0, x19
	bl	_hx509_certs_add
	cbnz	w0, LBB0_68
; %bb.63:                               ;   in Loop: Header=BB0_62 Depth=1
	add	x22, x22, #1
	ldr	x8, [sp, #56]
	cmp	x22, x8
	b.lo	LBB0_62
LBB0_64:
	ldr	x1, [sp, #16]
	mov	x0, x19
	mov	x2, x21
	bl	_hx509_certs_merge
	mov	x26, x0
	cbnz	w0, LBB0_69
; %bb.65:
	mov	x8, #0
LBB0_66:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [sp, #56]
	sub	x9, x9, #1
	cmp	x8, x9
	b.hs	LBB0_80
; %bb.67:                               ;   in Loop: Header=BB0_66 Depth=1
	add	x21, x8, #1
	ldr	x2, [sp, #16]
	ldp	x3, x1, [x20, #8]
	ldr	x9, [sp, #64]
	add	x8, x9, x8, lsl #3
	ldp	x4, x5, [x8]
	mov	x0, x19
	bl	_hx509_revoke_verify
	mov	x8, x21
	cbz	w0, LBB0_66
LBB0_68:
	mov	x26, x0
LBB0_69:
	add	x0, sp, #16
	bl	_hx509_certs_free
	b	LBB0_103
LBB0_70:
Lloh20:
	adrp	x8, _HX509_CERT_USED_BEFORE_TIME@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HX509_CERT_USED_BEFORE_TIME@GOTPAGEOFF]
	b	LBB0_76
LBB0_71:
Lloh22:
	adrp	x8, _HX509_CERT_USED_AFTER_TIME@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HX509_CERT_USED_AFTER_TIME@GOTPAGEOFF]
	b	LBB0_76
LBB0_72:
	mov	x26, x0
	b	LBB0_77
LBB0_73:
	mov	x26, x0
Lloh24:
	adrp	x8, _HX509_ERROR_APPEND@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HX509_ERROR_APPEND@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x3, l_.str.1@PAGE
Lloh28:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_95
LBB0_74:
	mov	x26, x0
Lloh29:
	adrp	x3, l_.str.9@PAGE
Lloh30:
	add	x3, x3, l_.str.9@PAGEOFF
	b	LBB0_101
LBB0_75:
Lloh31:
	adrp	x8, _HX509_PROXY_CERT_NAME_WRONG@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HX509_PROXY_CERT_NAME_WRONG@GOTPAGEOFF]
LBB0_76:
	ldr	w26, [x8]
LBB0_77:
	mov	x0, x19
	bl	_hx509_clear_error_string
	b	LBB0_103
LBB0_78:
Lloh33:
	adrp	x8, _HX509_PROXY_CERT_NAME_WRONG@GOTPAGE
Lloh34:
	ldr	x8, [x8, _HX509_PROXY_CERT_NAME_WRONG@GOTPAGEOFF]
Lloh35:
	ldr	w26, [x8]
Lloh36:
	adrp	x3, l_.str.7@PAGE
Lloh37:
	add	x3, x3, l_.str.7@PAGEOFF
	b	LBB0_101
LBB0_79:
	mov	x26, x0
Lloh38:
	adrp	x3, l_.str.5@PAGE
Lloh39:
	add	x3, x3, l_.str.5@PAGEOFF
	b	LBB0_101
LBB0_80:
	add	x0, sp, #16
	bl	_hx509_certs_free
LBB0_81:
	ldr	x23, [sp, #56]
	cbz	x23, LBB0_93
; %bb.82:
Lloh40:
	adrp	x24, _HX509_VERIFY_CTX_F_NO_BEST_BEFORE_CHECK@GOTPAGE
Lloh41:
	ldr	x24, [x24, _HX509_VERIFY_CTX_F_NO_BEST_BEFORE_CHECK@GOTPAGEOFF]
	b	LBB0_84
LBB0_83:                                ;   in Loop: Header=BB0_84 Depth=1
	mov	w26, #0
	sub	x23, x23, #1
	cbz	x23, LBB0_103
LBB0_84:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #64]
	add	x8, x8, x23, lsl #3
	ldur	x0, [x8, #-8]
	bl	__hx509_get_cert
	mov	x21, x0
	ldr	x8, [sp, #56]
	cmp	x23, x8
	b.ne	LBB0_87
; %bb.85:                               ;   in Loop: Header=BB0_84 Depth=1
	ldr	x8, [sp, #64]
	add	x8, x8, x23, lsl #3
	ldur	x22, [x8, #-8]
	ldr	x1, [x22]
	add	x2, sp, #16
	mov	x0, x19
	bl	_certificate_is_self_signed
	cbnz	w0, LBB0_92
; %bb.86:                               ;   in Loop: Header=BB0_84 Depth=1
	ldr	w8, [sp, #16]
	cbnz	w8, LBB0_88
	b	LBB0_83
LBB0_87:                                ;   in Loop: Header=BB0_84 Depth=1
	ldr	x8, [sp, #64]
	ldr	x22, [x8, x23, lsl #3]
LBB0_88:                                ;   in Loop: Header=BB0_84 Depth=1
	add	x3, x21, #12
	add	x4, x21, #24
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	__hx509_verify_signature_bitstring
	cbnz	w0, LBB0_94
; %bb.89:                               ;   in Loop: Header=BB0_84 Depth=1
	cmp	x23, #1
	b.eq	LBB0_93
; %bb.90:                               ;   in Loop: Header=BB0_84 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_83
; %bb.91:                               ;   in Loop: Header=BB0_84 Depth=1
	add	x0, x21, #4
	bl	__hx509_Time2time_t
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	__hx509_signature_best_before
	cbz	w0, LBB0_83
LBB0_92:
	mov	x26, x0
	b	LBB0_103
LBB0_93:
	mov	w26, #0
	b	LBB0_103
LBB0_94:
	mov	x26, x0
Lloh42:
	adrp	x8, _HX509_ERROR_APPEND@GOTPAGE
Lloh43:
	ldr	x8, [x8, _HX509_ERROR_APPEND@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
Lloh45:
	adrp	x3, l_.str.11@PAGE
Lloh46:
	add	x3, x3, l_.str.11@PAGEOFF
LBB0_95:
	mov	x0, x19
	b	LBB0_102
LBB0_96:
Lloh47:
	adrp	x8, _HX509_PROXY_CERT_INVALID@GOTPAGE
Lloh48:
	ldr	x8, [x8, _HX509_PROXY_CERT_INVALID@GOTPAGEOFF]
Lloh49:
	ldr	w26, [x8]
Lloh50:
	adrp	x3, l_.str.3@PAGE
Lloh51:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_101
LBB0_97:
Lloh52:
	adrp	x8, _HX509_PROXY_CERT_INVALID@GOTPAGE
Lloh53:
	ldr	x8, [x8, _HX509_PROXY_CERT_INVALID@GOTPAGEOFF]
Lloh54:
	ldr	w26, [x8]
Lloh55:
	adrp	x3, l_.str.4@PAGE
Lloh56:
	add	x3, x3, l_.str.4@PAGEOFF
	b	LBB0_101
LBB0_98:
Lloh57:
	adrp	x8, _HX509_PROXY_CERT_NAME_WRONG@GOTPAGE
Lloh58:
	ldr	x8, [x8, _HX509_PROXY_CERT_NAME_WRONG@GOTPAGEOFF]
Lloh59:
	ldr	w26, [x8]
Lloh60:
	adrp	x3, l_.str.8@PAGE
Lloh61:
	add	x3, x3, l_.str.8@PAGEOFF
	b	LBB0_101
LBB0_99:
	add	x0, sp, #16
	bl	_free_ProxyCertInfo
Lloh62:
	adrp	x8, _HX509_PATH_TOO_LONG@GOTPAGE
Lloh63:
	ldr	x8, [x8, _HX509_PATH_TOO_LONG@GOTPAGEOFF]
Lloh64:
	ldr	w26, [x8]
Lloh65:
	adrp	x3, l_.str.2@PAGE
Lloh66:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_101
LBB0_100:
Lloh67:
	adrp	x8, _HX509_PROXY_CERT_NAME_WRONG@GOTPAGE
Lloh68:
	ldr	x8, [x8, _HX509_PROXY_CERT_NAME_WRONG@GOTPAGEOFF]
Lloh69:
	ldr	w26, [x8]
Lloh70:
	adrp	x3, l_.str.6@PAGE
Lloh71:
	add	x3, x3, l_.str.6@PAGEOFF
LBB0_101:
	mov	x0, x19
	mov	w1, #0
LBB0_102:
	mov	x2, x26
	bl	_hx509_set_error_string
LBB0_103:
	add	x0, sp, #24
	bl	_hx509_certs_free
	add	x0, sp, #32
	bl	_free_Name
	add	x0, sp, #76
	bl	_free_name_constraints
	add	x0, sp, #56
	bl	__hx509_path_free
LBB0_104:
	mov	x0, x26
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.comm	_HX509_VERIFY_CTX_F_TIME_SET,4,2 ; @HX509_VERIFY_CTX_F_TIME_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MEMORY:no-TA"

	.comm	_HX509_VERIFY_CTX_F_ALLOW_PROXY_CERTIFICATE,4,2 ; @HX509_VERIFY_CTX_F_ALLOW_PROXY_CERTIFICATE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_HX509_ERROR_APPEND,4,2         ; @HX509_ERROR_APPEND
l_.str.1:                               ; @.str.1
	.asciz	"Key usage missing from CA certificate"

	.comm	_HX509_PATH_TOO_LONG,4,2        ; @HX509_PATH_TOO_LONG
l_.str.2:                               ; @.str.2
	.asciz	"Proxy certificate chain longer then allowed"

	.comm	_asn1_oid_id_x509_ce_subjectAltName,4,2 ; @asn1_oid_id_x509_ce_subjectAltName
	.comm	_HX509_PROXY_CERT_INVALID,4,2   ; @HX509_PROXY_CERT_INVALID
l_.str.3:                               ; @.str.3
	.asciz	"Proxy certificate have explicity forbidden subjectAltName"

	.comm	_asn1_oid_id_x509_ce_issuerAltName,4,2 ; @asn1_oid_id_x509_ce_issuerAltName
l_.str.4:                               ; @.str.4
	.asciz	"Proxy certificate have explicity forbidden issuerAltName"

l_.str.5:                               ; @.str.5
	.asciz	"Out of memory"

	.comm	_HX509_PROXY_CERT_NAME_WRONG,4,2 ; @HX509_PROXY_CERT_NAME_WRONG
l_.str.6:                               ; @.str.6
	.asciz	"Base proxy name not right"

	.comm	_asn1_oid_id_at_commonName,4,2  ; @asn1_oid_id_at_commonName
l_.str.7:                               ; @.str.7
	.asciz	"Proxy name too short or does not have Common name at the top"

l_.str.8:                               ; @.str.8
	.asciz	"Proxy issuer name not as expected"

l_.str.9:                               ; @.str.9
	.asciz	"out of memory"

	.comm	_HX509_CERT_USED_BEFORE_TIME,4,2 ; @HX509_CERT_USED_BEFORE_TIME
	.comm	_HX509_CERT_USED_AFTER_TIME,4,2 ; @HX509_CERT_USED_AFTER_TIME
l_.str.10:                              ; @.str.10
	.asciz	"MEMORY:revoke-certs"

l_.str.11:                              ; @.str.11
	.asciz	"Failed to verify signature of certificate"

	.comm	_HX509_VERIFY_CTX_F_NO_BEST_BEFORE_CHECK,4,2 ; @HX509_VERIFY_CTX_F_NO_BEST_BEFORE_CHECK
.subsections_via_symbols
