	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_name_extraction
_test_name_extraction:                  ## @test_name_extraction
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	leaq	L_.str.1(%rip), %rdi
	leaq	-72(%rbp), %rsi
	callq	_read_file
	movq	%rax, %r14
	movq	_br_sha256_vtable@GOTPCREL(%rip), %rsi
	leaq	-56(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_br_x509_minimal_init
	movq	_hash_impls@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rax,%rbx), %edx
	movq	%r12, %rdi
	callq	_br_x509_minimal_set_hash
	movq	(%r15), %rax
	movl	8(%rax,%rbx), %esi
	addq	$8, %rbx
	testl	%esi, %esi
	jne	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	callq	_br_rsa_pkcs1_vrfy_get_default
	leaq	-56(%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
	movq	_DEFAULT_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	callq	_string_to_time
	movl	-64(%rbp), %esi
	movl	-60(%rbp), %edx
	movq	%r12, %rdi
	callq	_br_x509_minimal_set_time
	xorl	%edi, %edi
	callq	_xmalloc
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_br_x509_minimal_set_name_elements
	movq	-56(%rbp), %rdi
	leaq	L_.memset_pattern.11(%rip), %rbx
	movl	$8, %edx
	movq	%rbx, %rsi
	callq	_memset_pattern16
	movq	-48(%rbp), %rdi
	movl	$8, %edx
	movq	%rbx, %rsi
	callq	_memset_pattern16
	leaq	-40(%rbp), %rbx
	movq	-40(%rbp), %rax
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*32(%rax)
	movq	-40(%rbp), %rax
	movq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*24(%rax)
	movq	-40(%rbp), %rax
	movq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*16(%rax)
	movq	-40(%rbp), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	-40(%rbp), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	_BR_ERR_X509_NOT_TRUSTED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.4:
	movq	-56(%rbp), %rcx
	movl	$2, %eax
	cmpl	$-1480555522, 4(%rcx)           ## imm = 0xA7C083FE
	jne	LBB0_6
## %bb.5:
	movl	$1, %eax
	cmpl	$-1480555522, (%rcx)            ## imm = 0xA7C083FE
	je	LBB0_8
LBB0_6:
	movq	_max_dp_usage@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jae	LBB0_8
## %bb.7:
	movq	%rax, (%rcx)
LBB0_8:
	movq	-48(%rbp), %rcx
	movl	$2, %eax
	cmpl	$-1480555522, 4(%rcx)           ## imm = 0xA7C083FE
	jne	LBB0_10
## %bb.9:
	movl	$1, %eax
	cmpl	$-1480555522, (%rcx)            ## imm = 0xA7C083FE
	je	LBB0_12
LBB0_10:
	movq	_max_rp_usage@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jae	LBB0_12
## %bb.11:
	movq	%rax, (%rcx)
LBB0_12:
	movq	%r14, %rdi
	callq	_xfree
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_free_name_elements
	leaq	L_str(%rip), %rdi
	callq	_puts
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	callq	_fprintf
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Name extraction: "

	.comm	_stdout,4,2                     ## @stdout
L_.str.1:                               ## @.str.1
	.asciz	"names.crt"

	.comm	_br_sha256_vtable,4,2           ## @br_sha256_vtable
	.comm	_hash_impls,8,3                 ## @hash_impls
	.comm	_DEFAULT_TIME,4,2               ## @DEFAULT_TIME
	.comm	_names_ref,8,3                  ## @names_ref
	.comm	_BR_ERR_X509_NOT_TRUSTED,4,2    ## @BR_ERR_X509_NOT_TRUSTED
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"wrong status: %u\n"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.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.11
L_.memset_pattern.11:
	.long	2814411774                      ## 0xa7c083fe
	.long	2814411774                      ## 0xa7c083fe
	.long	2814411774                      ## 0xa7c083fe
	.long	2814411774                      ## 0xa7c083fe

	.no_dead_strip	_test_name_extraction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_name_extraction
_test_name_extraction:                  ; @test_name_extraction
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
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	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #40
	bl	_read_file
	mov	x19, x0
Lloh7:
	adrp	x1, _br_sha256_vtable@GOTPAGE
Lloh8:
	ldr	x1, [x1, _br_sha256_vtable@GOTPAGEOFF]
	add	x22, sp, #16
	add	x0, sp, #16
	mov	x2, #0
	mov	w3, #0
	bl	_br_x509_minimal_init
Lloh9:
	adrp	x20, _hash_impls@GOTPAGE
Lloh10:
	ldr	x20, [x20, _hash_impls@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w1, [x8]
	cbz	w1, LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x21
	ldr	w2, [x8, #4]
	add	x0, sp, #16
	bl	_br_x509_minimal_set_hash
	ldr	x8, [x20]
	add	x9, x8, x21
	ldr	w1, [x9, #8]
	add	x21, x21, #8
	cbnz	w1, LBB0_2
LBB0_3:
	bl	_br_rsa_pkcs1_vrfy_get_default
	mov	x1, x0
	add	x0, sp, #16
	bl	_br_x509_minimal_set_rsa
	bl	_br_ec_get_default
	mov	x20, x0
	bl	_br_ecdsa_vrfy_asn1_get_default
	mov	x2, x0
	add	x0, sp, #16
	mov	x1, x20
	bl	_br_x509_minimal_set_ecdsa
Lloh11:
	adrp	x8, _DEFAULT_TIME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DEFAULT_TIME@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_string_to_time
	ldp	w2, w1, [sp, #8]
	add	x0, sp, #16
	bl	_br_x509_minimal_set_time
	mov	w0, #0
	bl	_xmalloc
	mov	x20, x0
	add	x0, sp, #16
	mov	x1, x20
	mov	x2, #0
	bl	_br_x509_minimal_set_name_elements
	ldr	x0, [sp, #16]
Lloh14:
	adrp	x21, l_.memset_pattern.11@PAGE
Lloh15:
	add	x21, x21, l_.memset_pattern.11@PAGEOFF
	mov	x1, x21
	mov	w2, #8
	bl	_memset_pattern16
	ldr	x0, [sp, #24]
	mov	x1, x21
	mov	w2, #8
	bl	_memset_pattern16
	add	x21, x22, #16
	ldr	x8, [sp, #32]
	ldr	x8, [x8, #32]
	mov	x0, x21
	mov	x1, #0
	blr	x8
	ldp	x8, x1, [sp, #32]
	ldr	x8, [x8, #24]
	mov	x0, x21
	blr	x8
	ldp	x8, x2, [sp, #32]
	ldr	x8, [x8, #16]
	mov	x0, x21
	mov	x1, x19
	blr	x8
	ldr	x8, [sp, #32]
	ldr	x8, [x8, #8]
	mov	x0, x21
	blr	x8
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
	mov	x0, x21
	blr	x8
Lloh16:
	adrp	x8, _BR_ERR_X509_NOT_TRUSTED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BR_ERR_X509_NOT_TRUSTED@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.4:
	mov	w8, #33790
	movk	w8, #42944, lsl #16
	ldr	x9, [sp, #16]
	ldr	w10, [x9, #4]
	cmp	w10, w8
	b.ne	LBB0_7
; %bb.5:
	ldr	w9, [x9]
	cmp	w9, w8
	b.eq	LBB0_10
; %bb.6:
	mov	w9, #1
	b	LBB0_8
LBB0_7:
	mov	w9, #2
LBB0_8:
Lloh19:
	adrp	x10, _max_dp_usage@GOTPAGE
Lloh20:
	ldr	x10, [x10, _max_dp_usage@GOTPAGEOFF]
	ldr	x11, [x10]
	cmp	x11, x9
	b.hs	LBB0_10
; %bb.9:
	str	x9, [x10]
LBB0_10:
	ldr	x9, [sp, #24]
	ldr	w10, [x9, #4]
	cmp	w10, w8
	b.ne	LBB0_13
; %bb.11:
	ldr	w9, [x9]
	cmp	w9, w8
	b.eq	LBB0_16
; %bb.12:
	mov	w8, #1
	b	LBB0_14
LBB0_13:
	mov	w8, #2
LBB0_14:
Lloh21:
	adrp	x9, _max_rp_usage@GOTPAGE
Lloh22:
	ldr	x9, [x9, _max_rp_usage@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x10, x8
	b.hs	LBB0_16
; %bb.15:
	str	x8, [x9]
LBB0_16:
	mov	x0, x19
	bl	_xfree
	mov	x0, x20
	mov	x1, #0
	bl	_free_name_elements
Lloh23:
	adrp	x0, l_str@PAGE
Lloh24:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
	mov	x2, x0
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
Lloh30:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Name extraction: "

	.comm	_stdout,4,2                     ; @stdout
l_.str.1:                               ; @.str.1
	.asciz	"names.crt"

	.comm	_br_sha256_vtable,4,2           ; @br_sha256_vtable
	.comm	_hash_impls,8,3                 ; @hash_impls
	.comm	_DEFAULT_TIME,4,2               ; @DEFAULT_TIME
	.comm	_names_ref,8,3                  ; @names_ref
	.comm	_BR_ERR_X509_NOT_TRUSTED,4,2    ; @BR_ERR_X509_NOT_TRUSTED
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"wrong status: %u\n"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.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.11
l_.memset_pattern.11:
	.long	2814411774                      ; 0xa7c083fe
	.long	2814411774                      ; 0xa7c083fe
	.long	2814411774                      ; 0xa7c083fe
	.long	2814411774                      ; 0xa7c083fe

	.no_dead_strip	_test_name_extraction
.subsections_via_symbols
