	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-28(%rbp), %rdi
	callq	_hx509_context_init
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%r14d, %edx
	callq	_errx
LBB0_2:
	movl	-28(%rbp), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_test_name
	movq	%rax, %rbx
	addl	%r14d, %ebx
	movl	-28(%rbp), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_test_name
	movq	%rax, %r14
	addl	%ebx, %r14d
	movl	-28(%rbp), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_test_name
	movq	%rax, %rbx
	addl	%r14d, %ebx
	movl	-28(%rbp), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_test_name_fail
	movq	%rax, %r14
	addl	%ebx, %r14d
	movl	-28(%rbp), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_test_name_fail
	movq	%rax, %rbx
	addl	%r14d, %ebx
	movl	-28(%rbp), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_test_name_fail
	movq	%rax, %r14
	addl	%ebx, %r14d
	movl	-28(%rbp), %edi
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.8(%rip), %rdx
	callq	_test_expand
	movq	%rax, %rbx
	addl	%r14d, %ebx
	movl	-28(%rbp), %edi
	leaq	L_.str.9(%rip), %rsi
	leaq	L_.str.10(%rip), %rdx
	callq	_test_expand
	movq	%rax, %r14
	addl	%ebx, %r14d
	movl	-28(%rbp), %edi
	leaq	L_.str.11(%rip), %rsi
	leaq	L_.str.12(%rip), %rdx
	callq	_test_expand
	movq	%rax, %rbx
	addl	%r14d, %ebx
	movl	-28(%rbp), %edi
	leaq	L_.str.13(%rip), %rsi
	leaq	L_.str.14(%rip), %rdx
	callq	_test_expand
	movq	%rax, %r14
	addl	%ebx, %r14d
	movl	-28(%rbp), %edi
	leaq	L_.str.15(%rip), %rsi
	leaq	L_.str.16(%rip), %rdx
	callq	_test_expand
	movq	%rax, %r15
	addl	%r14d, %r15d
	movl	-28(%rbp), %edi
	leaq	L_.str.17(%rip), %rsi
	leaq	L_.str.18(%rip), %rdx
	callq	_test_expand
	movq	%rax, %r14
	addl	%r15d, %r14d
	movl	-28(%rbp), %edi
	callq	_test_compare
	movq	%rax, %rbx
	addl	%r14d, %ebx
	leaq	-28(%rbp), %rdi
	callq	_hx509_context_free
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hx509_context_init failed with %d"

L_.str.1:                               ## @.str.1
	.asciz	"CN=foo,C=SE"

L_.str.2:                               ## @.str.2
	.asciz	"CN=foo,CN=kaka,CN=FOO,DC=ad1,C=SE"

L_.str.3:                               ## @.str.3
	.asciz	"1.2.3.4=foo,C=SE"

L_.str.4:                               ## @.str.4
	.asciz	"="

L_.str.5:                               ## @.str.5
	.asciz	"CN=foo,=foo"

L_.str.6:                               ## @.str.6
	.asciz	"CN=foo,really-unknown-type=foo"

L_.str.7:                               ## @.str.7
	.asciz	"UID=${uid},C=SE"

L_.str.8:                               ## @.str.8
	.asciz	"UID=lha,C=SE"

L_.str.9:                               ## @.str.9
	.asciz	"UID=foo${uid},C=SE"

L_.str.10:                              ## @.str.10
	.asciz	"UID=foolha,C=SE"

L_.str.11:                              ## @.str.11
	.asciz	"UID=${uid}bar,C=SE"

L_.str.12:                              ## @.str.12
	.asciz	"UID=lhabar,C=SE"

L_.str.13:                              ## @.str.13
	.asciz	"UID=f${uid}b,C=SE"

L_.str.14:                              ## @.str.14
	.asciz	"UID=flhab,C=SE"

L_.str.15:                              ## @.str.15
	.asciz	"UID=${uid}${uid},C=SE"

L_.str.16:                              ## @.str.16
	.asciz	"UID=lhalha,C=SE"

L_.str.17:                              ## @.str.17
	.asciz	"UID=${uid}{uid},C=SE"

L_.str.18:                              ## @.str.18
	.asciz	"UID=lha{uid},C=SE"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x0, sp, #12
	bl	_hx509_context_init
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_2:
	ldr	w0, [sp, #12]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_test_name
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_test_name
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_test_name
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_test_name_fail
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_test_name_fail
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_test_name_fail
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh16:
	adrp	x2, l_.str.8@PAGE
Lloh17:
	add	x2, x2, l_.str.8@PAGEOFF
	bl	_test_expand
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
Lloh20:
	adrp	x2, l_.str.10@PAGE
Lloh21:
	add	x2, x2, l_.str.10@PAGEOFF
	bl	_test_expand
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
Lloh24:
	adrp	x2, l_.str.12@PAGE
Lloh25:
	add	x2, x2, l_.str.12@PAGEOFF
	bl	_test_expand
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh26:
	adrp	x1, l_.str.13@PAGE
Lloh27:
	add	x1, x1, l_.str.13@PAGEOFF
Lloh28:
	adrp	x2, l_.str.14@PAGE
Lloh29:
	add	x2, x2, l_.str.14@PAGEOFF
	bl	_test_expand
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh30:
	adrp	x1, l_.str.15@PAGE
Lloh31:
	add	x1, x1, l_.str.15@PAGEOFF
Lloh32:
	adrp	x2, l_.str.16@PAGE
Lloh33:
	add	x2, x2, l_.str.16@PAGEOFF
	bl	_test_expand
	add	w19, w19, w0
	ldr	w0, [sp, #12]
Lloh34:
	adrp	x1, l_.str.17@PAGE
Lloh35:
	add	x1, x1, l_.str.17@PAGEOFF
Lloh36:
	adrp	x2, l_.str.18@PAGE
Lloh37:
	add	x2, x2, l_.str.18@PAGEOFF
	bl	_test_expand
	add	w19, w19, w0
	ldr	w0, [sp, #12]
	bl	_test_compare
	add	w19, w19, w0
	add	x0, sp, #12
	bl	_hx509_context_free
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hx509_context_init failed with %d"

l_.str.1:                               ; @.str.1
	.asciz	"CN=foo,C=SE"

l_.str.2:                               ; @.str.2
	.asciz	"CN=foo,CN=kaka,CN=FOO,DC=ad1,C=SE"

l_.str.3:                               ; @.str.3
	.asciz	"1.2.3.4=foo,C=SE"

l_.str.4:                               ; @.str.4
	.asciz	"="

l_.str.5:                               ; @.str.5
	.asciz	"CN=foo,=foo"

l_.str.6:                               ; @.str.6
	.asciz	"CN=foo,really-unknown-type=foo"

l_.str.7:                               ; @.str.7
	.asciz	"UID=${uid},C=SE"

l_.str.8:                               ; @.str.8
	.asciz	"UID=lha,C=SE"

l_.str.9:                               ; @.str.9
	.asciz	"UID=foo${uid},C=SE"

l_.str.10:                              ; @.str.10
	.asciz	"UID=foolha,C=SE"

l_.str.11:                              ; @.str.11
	.asciz	"UID=${uid}bar,C=SE"

l_.str.12:                              ; @.str.12
	.asciz	"UID=lhabar,C=SE"

l_.str.13:                              ; @.str.13
	.asciz	"UID=f${uid}b,C=SE"

l_.str.14:                              ; @.str.14
	.asciz	"UID=flhab,C=SE"

l_.str.15:                              ; @.str.15
	.asciz	"UID=${uid}${uid},C=SE"

l_.str.16:                              ; @.str.16
	.asciz	"UID=lhalha,C=SE"

l_.str.17:                              ; @.str.17
	.asciz	"UID=${uid}{uid},C=SE"

l_.str.18:                              ; @.str.18
	.asciz	"UID=lha{uid},C=SE"

.subsections_via_symbols
