	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_test_case
_run_test_case:                         ## @run_test_case
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_hash_impls@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_1
## %bb.8:
	movl	8(%rbx), %ecx
	addq	$16, %rax
	movq	_br_sha1_vtable@GOTPCREL(%rip), %rsi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rax), %edx
	addq	$16, %rax
	testl	%edx, %edx
	je	LBB0_2
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	btl	%edx, %ecx
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-8(%rax), %rsi
	jmp	LBB0_11
LBB0_1:
	movq	_br_sha1_vtable@GOTPCREL(%rip), %rsi
LBB0_2:
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rax
	movq	$-32, %rdi
	movq	$-1, %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addq	$32, %rdi
	cmpq	$0, 8(%rax,%r12,8)
	leaq	1(%r12), %r12
	jne	LBB0_3
## %bb.4:
	callq	_xmalloc
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.5:
	xorl	%r14d, %r14d
	movq	_trust_anchors@GOTPCREL(%rip), %r15
	movq	_keys@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_HT_get
	testq	%rax, %rax
	je	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movl	(%r13), %edi
	movq	(%rax), %rsi
	callq	_HT_get
	testq	%rax, %rax
	je	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	16(%rbx), %ecx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, 28(%rdx,%r14,4)
	movl	12(%rbx), %ecx
	movl	%ecx, 24(%rdx,%r14,4)
	movl	8(%rbx), %ecx
	movl	%ecx, 20(%rdx,%r14,4)
	movl	(%rax), %eax
	movl	%eax, 16(%rdx,%r14,4)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	8(%rax,%r14), %rsi
	addq	$8, %r14
	testq	%rsi, %rsi
	jne	LBB0_6
LBB0_18:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	56(%r13), %rax
	movq	$-1, %r15
	movq	$-32, %rdi
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rcx
	addq	$32, %rdi
	cmpq	$0, 8(%rax,%r15,8)
	leaq	1(%r15), %r15
	jne	LBB0_19
## %bb.20:
	callq	_xmalloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%r15, %r15
	je	LBB0_23
## %bb.21:
	xorl	%r14d, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r13), %rax
	movq	(%rax,%r14,8), %rdi
	movq	%rbx, %rsi
	callq	_read_file
	movq	%rax, 8(%rbx)
	incq	%r14
	addq	$32, %rbx
	cmpq	%r14, %r15
	jne	LBB0_22
LBB0_23:
	movq	24(%r13), %rsi
	testq	%rsi, %rsi
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	je	LBB0_24
## %bb.40:
	movq	_keys@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HT_get
	movq	%rax, %rcx
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_25
## %bb.41:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%r13), %rdx
	jmp	LBB0_14
LBB0_24:
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
LBB0_25:
	leaq	-80(%rbp), %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_br_x509_minimal_init
	movq	_hash_impls@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_30
## %bb.26:
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r15
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	16(%rax,%rbx), %esi
	addq	$16, %rbx
	testl	%esi, %esi
	je	LBB0_30
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %ecx
	btl	%esi, %ecx
	jae	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	8(%rax,%rbx), %rdx
	movq	%r15, %rdi
	callq	_br_x509_minimal_set_hash
	movq	(%r14), %rax
	jmp	LBB0_29
LBB0_30:
	xorl	%eax, %eax
	callq	_br_rsa_pkcs1_vrfy_get_default
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_br_x509_minimal_set_rsa
	xorl	%eax, %eax
	callq	_br_ec_get_default
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_br_ecdsa_vrfy_asn1_get_default
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_br_x509_minimal_set_ecdsa
	movl	44(%r13), %edx
	movl	48(%r13), %esi
	movq	%r12, %rdi
	callq	_br_x509_minimal_set_time
	movq	-80(%rbp), %rdi
	leaq	L_.memset_pattern.7(%rip), %rbx
	movl	$8, %edx
	movq	%rbx, %rsi
	callq	_memset_pattern16
	movq	-72(%rbp), %rdi
	movl	$8, %edx
	movq	%rbx, %rsi
	callq	_memset_pattern16
	leaq	-64(%rbp), %r12
	movq	-64(%rbp), %rax
	movl	40(%r13), %esi
	movq	%r12, %rdi
	callq	*40(%rax)
	movq	-120(%rbp), %r14                ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_36
## %bb.31:
	xorl	%r15d, %r15d
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	-64(%rbp), %rax
	movq	%r13, %rdi
	callq	*16(%rax)
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	movq	-120(%rbp), %r14                ## 8-byte Reload
	cmpq	%r15, %r14
	movq	%r13, %r12
	je	LBB0_36
LBB0_32:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
	movq	-64(%rbp), %rax
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	shlq	$5, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r15), %rsi
	movq	%r12, %rdi
	callq	*32(%rax)
	movq	(%rbx,%r15), %rbx
	testq	%rbx, %rbx
	movq	%r12, %r13
	movl	$100, %ecx
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %r14
	addq	%rax, %r15
	addq	$8, %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_32 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	subq	%r12, %rbx
	cmpq	$100, %rbx
	cmovaeq	%rcx, %rbx
	movq	-64(%rbp), %rax
	movq	%r12, %rsi
	shlq	$5, %rsi
	addq	(%r15), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	*24(%rax)
	movl	$100, %ecx
	addq	%rbx, %r12
	movq	(%r14), %rbx
	cmpq	%r12, %rbx
	ja	LBB0_34
	jmp	LBB0_35
LBB0_36:
	movq	-64(%rbp), %rax
	movq	%r12, %rdi
	callq	*(%rax)
	movl	%eax, %ebx
	movq	-64(%rbp), %rax
	leaq	-100(%rbp), %rsi
	movq	%r12, %rdi
	callq	*8(%rax)
	testq	%rax, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_42
## %bb.37:
	movl	-100(%rbp), %ecx
	orl	(%rax), %ecx
	movl	32(%rdi), %edx
	movl	%ecx, %esi
	notl	%esi
	testl	%esi, %edx
	jne	LBB0_38
LBB0_42:
	movl	36(%rdi), %ecx
	cmpl	%ecx, %ebx
	jne	LBB0_43
## %bb.44:
	movq	_BR_ERR_X509_NOT_TRUSTED@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %ebx
	cmoveq	%rdx, %rax
	movq	%rax, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_eqpkey
	testl	%eax, %eax
	je	LBB0_57
## %bb.45:
	movq	-80(%rbp), %rcx
	movl	$2, %eax
	cmpl	$-1480555522, 4(%rcx)           ## imm = 0xA7C083FE
	jne	LBB0_47
## %bb.46:
	movl	$1, %eax
	cmpl	$-1480555522, (%rcx)            ## imm = 0xA7C083FE
	je	LBB0_49
LBB0_47:
	movq	_max_dp_usage@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jae	LBB0_49
## %bb.48:
	movq	%rax, (%rcx)
LBB0_49:
	movq	-72(%rbp), %rcx
	movl	$2, %eax
	cmpl	$-1480555522, 4(%rcx)           ## imm = 0xA7C083FE
	jne	LBB0_51
## %bb.50:
	movl	$1, %eax
	cmpl	$-1480555522, (%rcx)            ## imm = 0xA7C083FE
	je	LBB0_53
LBB0_51:
	movq	_max_rp_usage@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jae	LBB0_53
## %bb.52:
	movq	%rax, (%rcx)
LBB0_53:
	testq	%r14, %r14
	je	LBB0_56
## %bb.54:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_xfree
	addq	$32, %rbx
	decq	%r14
	jne	LBB0_55
LBB0_56:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_xfree
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_xfree
	leaq	L_str(%rip), %rdi
	callq	_puts
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax,%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_15
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
LBB0_14:
	leaq	L_.str.2(%rip), %rsi
LBB0_15:
	xorl	%eax, %eax
	callq	_fprintf
LBB0_16:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_43:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edx
	jmp	LBB0_39
LBB0_57:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_16
LBB0_38:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_39:
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_br_sha1_vtable,4,2             ## @br_sha1_vtable
	.comm	_hash_impls,8,3                 ## @hash_impls
	.comm	_trust_anchors,4,2              ## @trust_anchors
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"no such trust anchor: '%s'\n"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_keys,4,2                       ## @keys
L_.str.2:                               ## @.str.2
	.asciz	"no such public key: '%s'\n"

L_.str.3:                               ## @.str.3
	.asciz	"wrong key type + usage (expected 0x%02X, got 0x%02X)\n"

L_.str.4:                               ## @.str.4
	.asciz	"wrong status (got %d, expected %d)\n"

	.comm	_BR_ERR_X509_NOT_TRUSTED,4,2    ## @BR_ERR_X509_NOT_TRUSTED
L_.str.5:                               ## @.str.5
	.asciz	"wrong EE public key\n"

	.comm	_max_dp_usage,8,3               ## @max_dp_usage
	.comm	_max_rp_usage,8,3               ## @max_rp_usage
L_str:                                  ## @str
	.asciz	"OK"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern.7
L_.memset_pattern.7:
	.long	2814411774                      ## 0xa7c083fe
	.long	2814411774                      ## 0xa7c083fe
	.long	2814411774                      ## 0xa7c083fe
	.long	2814411774                      ## 0xa7c083fe

	.no_dead_strip	_run_test_case
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_test_case
_run_test_case:                         ; @run_test_case
	.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	x20, x0
	ldr	x8, [x0]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh2:
	adrp	x8, _stdout@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_fflush
Lloh5:
	adrp	x27, _hash_impls@GOTPAGE
Lloh6:
	ldr	x27, [x27, _hash_impls@GOTPAGEOFF]
	ldr	x9, [x27]
	ldr	w10, [x9]
	cbz	w10, LBB0_5
; %bb.1:
	ldr	w8, [x20, #8]
	add	x9, x9, #16
Lloh7:
	adrp	x23, _br_sha1_vtable@GOTPAGE
Lloh8:
	ldr	x23, [x23, _br_sha1_vtable@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x9], #16
	cbz	w10, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w10, w8, w10
	tbz	w10, #0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x23, [x9, #-8]
	b	LBB0_2
LBB0_5:
Lloh9:
	adrp	x23, _br_sha1_vtable@GOTPAGE
Lloh10:
	ldr	x23, [x23, _br_sha1_vtable@GOTPAGEOFF]
LBB0_6:
	mov	x22, #0
	ldr	x8, [x20, #16]
	mov	x0, #-32
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, x22, lsl #3]
	add	x22, x22, #1
	add	x0, x0, #32
	cbnz	x9, LBB0_7
; %bb.8:
	bl	_xmalloc
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	ldr	x8, [x20, #16]
	ldr	x1, [x8]
Lloh11:
	adrp	x28, _keys@GOTPAGE
Lloh12:
	ldr	x28, [x28, _keys@GOTPAGEOFF]
	cbz	x1, LBB0_13
; %bb.9:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x25, x8, #28
	mov	w24, #8
Lloh13:
	adrp	x26, _trust_anchors@GOTPAGE
Lloh14:
	ldr	x26, [x26, _trust_anchors@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x26]
	bl	_HT_get
	cbz	x0, LBB0_53
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x21, x0
	ldr	w0, [x28]
	ldr	x1, [x21]
	bl	_HT_get
	cbz	x0, LBB0_54
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x21, #16]
	str	w8, [x25]
	ldr	d0, [x21, #8]
	stur	d0, [x25, #-8]
	ldr	w8, [x0]
	stur	w8, [x25, #-12]
	ldr	x8, [x20, #16]
	ldr	x1, [x8, x24]
	add	x24, x24, #8
	add	x25, x25, #32
	cbnz	x1, LBB0_10
LBB0_13:
	mov	x25, #0
	sub	x24, x22, #1
	ldr	x8, [x20, #56]
	mov	x0, #-32
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, x25, lsl #3]
	add	x25, x25, #1
	add	x0, x0, #32
	cbnz	x9, LBB0_14
; %bb.15:
	bl	_xmalloc
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	subs	x26, x25, #1
	b.eq	LBB0_18
; %bb.16:
	mov	x19, #0
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #56]
	ldr	x0, [x8, x19, lsl #3]
	mov	x1, x22
	bl	_read_file
	str	x0, [x22, #8]
	add	x19, x19, #1
	add	x22, x22, #32
	cmp	x26, x19
	b.ne	LBB0_17
LBB0_18:
	ldr	x1, [x20, #24]
	cbz	x1, LBB0_21
; %bb.19:
	ldr	w0, [x28]
	bl	_HT_get
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	cbnz	x0, LBB0_22
; %bb.20:
Lloh15:
	adrp	x8, _stderr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	x8, [x20, #24]
	b	LBB0_55
LBB0_21:
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
LBB0_22:
	add	x28, sp, #56
	add	x0, sp, #56
	mov	x1, x23
	ldr	x2, [sp, #32]                   ; 8-byte Folded Reload
	mov	x3, x24
	bl	_br_x509_minimal_init
	ldr	x8, [x27]
	ldr	w1, [x8]
	cbz	w1, LBB0_27
; %bb.23:
	mov	x19, #0
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x9, x8, x19
	ldr	w1, [x9, #16]
	add	x19, x19, #16
	cbz	w1, LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20, #8]
	lsr	w9, w9, w1
	tbz	w9, #0, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	add	x8, x8, x19
	ldr	x2, [x8, #8]
	add	x0, sp, #56
	bl	_br_x509_minimal_set_hash
	ldr	x8, [x27]
	b	LBB0_24
LBB0_27:
	bl	_br_rsa_pkcs1_vrfy_get_default
	mov	x1, x0
	add	x0, sp, #56
	bl	_br_x509_minimal_set_rsa
	bl	_br_ec_get_default
	mov	x23, x0
	bl	_br_ecdsa_vrfy_asn1_get_default
	mov	x2, x0
	add	x0, sp, #56
	mov	x1, x23
	bl	_br_x509_minimal_set_ecdsa
	ldp	w2, w1, [x20, #44]
	add	x0, sp, #56
	bl	_br_x509_minimal_set_time
	ldr	x0, [sp, #56]
Lloh18:
	adrp	x23, l_.memset_pattern.7@PAGE
Lloh19:
	add	x23, x23, l_.memset_pattern.7@PAGEOFF
	mov	x1, x23
	mov	w2, #8
	bl	_memset_pattern16
	ldr	x0, [sp, #64]
	mov	x1, x23
	mov	w2, #8
	bl	_memset_pattern16
	add	x23, x28, #16
	ldr	x8, [sp, #72]
	ldr	x8, [x8, #40]
	ldr	w1, [x20, #40]
	mov	x0, x23
	blr	x8
	cmp	x25, #1
	b.ne	LBB0_35
LBB0_28:
	ldr	x8, [sp, #72]
	ldr	x8, [x8]
	mov	x0, x23
	blr	x8
	mov	x24, x0
	ldr	x8, [sp, #72]
	ldr	x8, [x8, #8]
	add	x1, sp, #52
	mov	x0, x23
	blr	x8
	cbz	x0, LBB0_30
; %bb.29:
	ldr	w8, [x0]
	ldr	w9, [sp, #52]
	orr	w9, w9, w8
	ldr	w8, [x20, #32]
	bics	wzr, w8, w9
	b.ne	LBB0_59
LBB0_30:
	ldr	w8, [x20, #36]
	cmp	w24, w8
	b.ne	LBB0_57
; %bb.31:
Lloh20:
	adrp	x8, _BR_ERR_X509_NOT_TRUSTED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BR_ERR_X509_NOT_TRUSTED@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w24, w8
	csel	x0, xzr, x0, eq
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	bl	_eqpkey
	cbz	w0, LBB0_58
; %bb.32:
	mov	w8, #33790
	movk	w8, #42944, lsl #16
	ldr	x9, [sp, #56]
	ldr	w10, [x9, #4]
	cmp	w10, w8
	b.ne	LBB0_40
; %bb.33:
	ldr	w9, [x9]
	cmp	w9, w8
	b.eq	LBB0_43
; %bb.34:
	mov	w9, #1
	b	LBB0_41
LBB0_35:
	mov	x27, #0
	mov	w28, #100
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=1
	ldr	x8, [sp, #72]
	ldr	x8, [x8, #16]
	mov	x0, x23
	blr	x8
	add	x27, x27, #1
	cmp	x26, x27
	b.eq	LBB0_28
LBB0_37:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_39 Depth 2
	ldr	x8, [sp, #72]
	ldr	x8, [x8, #32]
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	add	x19, x9, x27, lsl #5
	ldr	x1, [x19]
	mov	x0, x23
	blr	x8
	ldr	x8, [x19]
	cbz	x8, LBB0_36
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=1
	mov	x22, #0
	add	x21, x19, #8
LBB0_39:                                ;   Parent Loop BB0_37 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x8, x8, x22
	cmp	x8, #100
	csel	x24, x8, x28, lo
	ldr	x8, [sp, #72]
	ldr	x8, [x8, #24]
	ldr	x9, [x21]
	add	x1, x9, x22, lsl #5
	mov	x0, x23
	mov	x2, x24
	blr	x8
	ldr	x8, [x19]
	add	x22, x24, x22
	cmp	x8, x22
	b.hi	LBB0_39
	b	LBB0_36
LBB0_40:
	mov	w9, #2
LBB0_41:
Lloh23:
	adrp	x10, _max_dp_usage@GOTPAGE
Lloh24:
	ldr	x10, [x10, _max_dp_usage@GOTPAGEOFF]
	ldr	x11, [x10]
	cmp	x11, x9
	b.hs	LBB0_43
; %bb.42:
	str	x9, [x10]
LBB0_43:
	ldr	x9, [sp, #64]
	ldr	w10, [x9, #4]
	cmp	w10, w8
	b.ne	LBB0_46
; %bb.44:
	ldr	w9, [x9]
	cmp	w9, w8
	b.eq	LBB0_49
; %bb.45:
	mov	w8, #1
	b	LBB0_47
LBB0_46:
	mov	w8, #2
LBB0_47:
Lloh25:
	adrp	x9, _max_rp_usage@GOTPAGE
Lloh26:
	ldr	x9, [x9, _max_rp_usage@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x10, x8
	b.hs	LBB0_49
; %bb.48:
	str	x8, [x9]
LBB0_49:
	cmp	x25, #1
	b.eq	LBB0_52
; %bb.50:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x19, x8, #8
LBB0_51:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19], #32
	bl	_xfree
	subs	x26, x26, #1
	b.ne	LBB0_51
LBB0_52:
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_xfree
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_xfree
Lloh27:
	adrp	x0, l_str@PAGE
Lloh28:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	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
LBB0_53:
Lloh29:
	adrp	x8, _stderr@GOTPAGE
Lloh30:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldr	x8, [x20, #16]
	add	x8, x8, x24
	ldur	x8, [x8, #-8]
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_56
LBB0_54:
Lloh34:
	adrp	x8, _stderr@GOTPAGE
Lloh35:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	x8, [x21]
LBB0_55:
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_56:
	bl	_fprintf
Lloh39:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_exit
LBB0_57:
Lloh42:
	adrp	x9, _stderr@GOTPAGE
Lloh43:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x9]
	stp	x24, x8, [sp]
Lloh45:
	adrp	x1, l_.str.4@PAGE
Lloh46:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_56
LBB0_58:
Lloh47:
	adrp	x8, _stderr@GOTPAGE
Lloh48:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x1, l_.str.5@PAGE
Lloh51:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_56
LBB0_59:
Lloh52:
	adrp	x10, _stderr@GOTPAGE
Lloh53:
	ldr	x10, [x10, _stderr@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x10]
	stp	x8, x9, [sp]
Lloh55:
	adrp	x1, l_.str.3@PAGE
Lloh56:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_56
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, 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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_br_sha1_vtable,4,2             ; @br_sha1_vtable
	.comm	_hash_impls,8,3                 ; @hash_impls
	.comm	_trust_anchors,4,2              ; @trust_anchors
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"no such trust anchor: '%s'\n"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_keys,4,2                       ; @keys
l_.str.2:                               ; @.str.2
	.asciz	"no such public key: '%s'\n"

l_.str.3:                               ; @.str.3
	.asciz	"wrong key type + usage (expected 0x%02X, got 0x%02X)\n"

l_.str.4:                               ; @.str.4
	.asciz	"wrong status (got %d, expected %d)\n"

	.comm	_BR_ERR_X509_NOT_TRUSTED,4,2    ; @BR_ERR_X509_NOT_TRUSTED
l_.str.5:                               ; @.str.5
	.asciz	"wrong EE public key\n"

	.comm	_max_dp_usage,8,3               ; @max_dp_usage
	.comm	_max_rp_usage,8,3               ; @max_rp_usage
l_str:                                  ; @str
	.asciz	"OK"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern.7
l_.memset_pattern.7:
	.long	2814411774                      ; 0xa7c083fe
	.long	2814411774                      ; 0xa7c083fe
	.long	2814411774                      ; 0xa7c083fe
	.long	2814411774                      ; 0xa7c083fe

	.no_dead_strip	_run_test_case
.subsections_via_symbols
