	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_x509_parse_cert            ## -- Begin function svn_x509_parse_cert
	.p2align	4, 0x90
_svn_x509_parse_cert:                   ## @svn_x509_parse_cert
	.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
	movq	%r8, %r12
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movq	%r8, %rdi
	movl	$48, %esi
	callq	_apr_pcalloc
	movq	%rax, %r14
	movq	%r13, -56(%rbp)
	movl	%r15d, -44(%rbp)
	movslq	%r15d, %rbx
	addq	%r13, %rbx
	movq	_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	movq	_ASN1_SEQUENCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-56(%rbp), %rdi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_asn1_get_tag
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movslq	-44(%rbp), %rax
	movq	%rbx, %rcx
	subq	-56(%rbp), %rcx
	cmpq	%rax, %rcx
	jne	LBB0_3
## %bb.4:
	movq	_ASN1_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	-56(%rbp), %rdi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_asn1_get_tag
	testq	%rax, %rax
	jne	LBB0_1
## %bb.5:
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movslq	-44(%rbp), %r15
	addq	-56(%rbp), %r15
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %r13
	movq	%r14, %rdx
	callq	_x509_get_version
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	44(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_x509_get_serial
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	28(%r14), %rax
	movq	%rbx, %rdi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movq	%rax, %r15
	movq	%rax, %rdx
	callq	_x509_get_alg
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r14), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	cmpl	$3, %eax
	jl	LBB0_9
## %bb.6:
	movq	_SVN_ERR_X509_CERT_UNKNOWN_VERSION@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edi
	xorl	%esi, %esi
	jmp	LBB0_8
LBB0_9:
	movq	_ASN1_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	-56(%rbp), %rdi
	leaq	-44(%rbp), %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_asn1_get_tag
	testq	%rax, %rax
	jne	LBB0_1
## %bb.10:
	movslq	-44(%rbp), %rsi
	addq	-56(%rbp), %rsi
	leaq	12(%r14), %rdx
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %rcx
	callq	_x509_get_name
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	8(%r14), %rdi
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	leaq	4(%r14), %rsi
	movq	%r13, %rdx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %r8
	callq	_x509_get_dates
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_ASN1_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_asn1_get_tag
	testq	%rax, %rax
	jne	LBB0_1
## %bb.11:
	movslq	-44(%rbp), %rsi
	addq	-56(%rbp), %rsi
	movq	-104(%rbp), %r12                ## 8-byte Reload
	leaq	16(%r12), %r14
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	callq	_x509_get_name
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_ASN1_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_asn1_get_tag
	testq	%rax, %rax
	jne	LBB0_1
## %bb.12:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movslq	-44(%rbp), %rax
	addq	%rax, -56(%rbp)
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$3, %esi
	movl	$8, %edx
	callq	_apr_array_make
	movl	%eax, 32(%r12)
	leaq	40(%r12), %rdx
	leaq	-56(%rbp), %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_x509_get_uid
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	36(%r12), %rdx
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	movl	$2, %ecx
	callq	_x509_get_uid
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	32(%r12), %edi
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdx
	callq	_x509_get_ext
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	%r14, -56(%rbp)
	je	LBB0_13
LBB0_3:
	movq	_SVN_ERR_ASN1_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_svn_error_create
LBB0_1:
	movq	_SVN_ERR_X509_CERT_INVALID_FORMAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
LBB0_8:
	xorl	%edx, %edx
	callq	_svn_error_create
LBB0_17:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r13, %r14
	leaq	24(%r12), %rbx
	leaq	-56(%rbp), %rdi
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_x509_get_alg
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_oids_equal
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	movq	%r12, %rdx
	addq	$20, %rdx
	leaq	-56(%rbp), %rdi
	movq	%r13, %rsi
	callq	_x509_get_sig
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	%r13, -56(%rbp)
	jne	LBB0_3
## %bb.16:
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_apr_pcalloc
	movq	%rax, %r15
	leaq	16(%rax), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_x509_name_to_certinfo
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	12(%r15), %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_x509_name_to_certinfo
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	8(%r12), %eax
	movl	%eax, 8(%r15)
	movl	4(%r12), %eax
	movl	%eax, 4(%r15)
	movq	_svn_checksum_sha1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movq	%rbx, %r8
	callq	_svn_checksum
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_x509parse_get_hostnames
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	%r15, (%rax)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_17
LBB0_14:
	movq	_SVN_ERR_X509_CERT_SIG_MISMATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_CONSTRUCTED,4,2           ## @ASN1_CONSTRUCTED
	.comm	_ASN1_SEQUENCE,4,2              ## @ASN1_SEQUENCE
	.comm	_SVN_ERR_X509_CERT_INVALID_FORMAT,4,2 ## @SVN_ERR_X509_CERT_INVALID_FORMAT
	.comm	_SVN_ERR_ASN1_LENGTH_MISMATCH,4,2 ## @SVN_ERR_ASN1_LENGTH_MISMATCH
	.comm	_SVN_ERR_X509_CERT_UNKNOWN_VERSION,4,2 ## @SVN_ERR_X509_CERT_UNKNOWN_VERSION
	.comm	_SVN_ERR_X509_CERT_SIG_MISMATCH,4,2 ## @SVN_ERR_X509_CERT_SIG_MISMATCH
	.comm	_svn_checksum_sha1,4,2          ## @svn_checksum_sha1
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_x509_parse_cert            ; -- Begin function svn_x509_parse_cert
	.p2align	2
_svn_x509_parse_cert:                   ; @svn_x509_parse_cert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
	mov	x0, x4
	mov	w1, #48
	bl	_apr_pcalloc
	mov	x22, x0
	str	x24, [sp, #32]
	str	w23, [sp, #44]
Lloh0:
	adrp	x26, _ASN1_CONSTRUCTED@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ASN1_CONSTRUCTED@GOTPAGEOFF]
	add	x25, x24, w23, sxtw
	ldr	w8, [x26]
Lloh2:
	adrp	x28, _ASN1_SEQUENCE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _ASN1_SEQUENCE@GOTPAGEOFF]
	ldr	w9, [x28]
	orr	w3, w9, w8
	add	x0, sp, #32
	add	x2, sp, #44
	mov	x1, x25
	bl	_asn1_get_tag
	cbnz	x0, LBB0_11
; %bb.1:
	ldrsw	x8, [sp, #44]
	ldr	x9, [sp, #32]
	sub	x9, x25, x9
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.2:
	ldr	w8, [x26]
	ldr	w9, [x28]
	orr	w3, w9, w8
	add	x0, sp, #32
	add	x2, sp, #44
	mov	x1, x25
	bl	_asn1_get_tag
	cbnz	x0, LBB0_11
; %bb.3:
	ldr	x8, [sp, #32]
	ldrsw	x9, [sp, #44]
	add	x27, x8, x9
	add	x0, sp, #32
	mov	x1, x27
	mov	x2, x22
	bl	_x509_get_version
	bl	_SVN_ERR
	add	x2, x22, #44
	add	x0, sp, #32
	mov	x1, x27
	bl	_x509_get_serial
	bl	_SVN_ERR
	add	x2, x22, #28
	add	x0, sp, #32
	mov	x1, x27
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
	bl	_x509_get_alg
	bl	_SVN_ERR
	ldr	w8, [x22]
	add	w9, w8, #1
	str	w9, [x22]
	cmp	w8, #3
	b.lt	LBB0_6
; %bb.4:
Lloh4:
	adrp	x8, _SVN_ERR_X509_CERT_UNKNOWN_VERSION@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SVN_ERR_X509_CERT_UNKNOWN_VERSION@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	mov	x1, #0
	b	LBB0_12
LBB0_6:
	ldr	w8, [x26]
	ldr	w9, [x28]
	orr	w3, w9, w8
	add	x0, sp, #32
	add	x2, sp, #44
	mov	x1, x27
	bl	_asn1_get_tag
	cbnz	x0, LBB0_11
; %bb.7:
	ldr	x8, [sp, #32]
	ldrsw	x9, [sp, #44]
	add	x1, x8, x9
	add	x2, x22, #12
	add	x0, sp, #32
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	mov	x3, x19
	bl	_x509_get_name
	bl	_SVN_ERR
	add	x0, x22, #8
	add	x1, x22, #4
	add	x2, sp, #32
	mov	x3, x27
	mov	x4, x19
	bl	_x509_get_dates
	bl	_SVN_ERR
	ldr	w8, [x26]
	ldr	w9, [x28]
	orr	w3, w9, w8
	add	x0, sp, #32
	add	x2, sp, #44
	mov	x1, x27
	bl	_asn1_get_tag
	cbnz	x0, LBB0_11
; %bb.8:
	ldr	x8, [sp, #32]
	ldrsw	x9, [sp, #44]
	add	x1, x8, x9
	add	x2, x22, #16
	add	x0, sp, #32
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x3, x19
	bl	_x509_get_name
	bl	_SVN_ERR
	ldr	w8, [x26]
	ldr	w9, [x28]
	orr	w3, w9, w8
	add	x0, sp, #32
	add	x2, sp, #44
	mov	x1, x27
	bl	_asn1_get_tag
	cbnz	x0, LBB0_11
; %bb.9:
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
	ldrsw	x8, [sp, #44]
	ldr	x9, [sp, #32]
	add	x8, x9, x8
	str	x8, [sp, #32]
	mov	x0, x19
	mov	w1, #3
	mov	w2, #8
	bl	_apr_array_make
	str	w0, [x22, #32]
	add	x2, x22, #40
	add	x0, sp, #32
	mov	x1, x27
	mov	w3, #1
	bl	_x509_get_uid
	bl	_SVN_ERR
	add	x2, x22, #36
	add	x0, sp, #32
	mov	x1, x27
	mov	w3, #2
	bl	_x509_get_uid
	bl	_SVN_ERR
	ldr	w0, [x22, #32]
	add	x1, sp, #32
	mov	x2, x27
	bl	_x509_get_ext
	bl	_SVN_ERR
	ldr	x8, [sp, #32]
	cmp	x8, x27
	b.eq	LBB0_14
LBB0_10:
Lloh6:
	adrp	x8, _SVN_ERR_ASN1_LENGTH_MISMATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_ERR_ASN1_LENGTH_MISMATCH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, #0
	bl	_svn_error_create
LBB0_11:
	mov	x1, x0
Lloh9:
	adrp	x8, _SVN_ERR_X509_CERT_INVALID_FORMAT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_ERR_X509_CERT_INVALID_FORMAT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_12:
	mov	x2, #0
	bl	_svn_error_create
LBB0_13:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_14:
	add	x27, x22, #24
	add	x0, sp, #32
	mov	x1, x25
	mov	x2, x27
	bl	_x509_get_alg
	bl	_SVN_ERR
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x27
	bl	_oids_equal
	cbz	w0, LBB0_17
; %bb.15:
	add	x2, x22, #20
	add	x0, sp, #32
	mov	x1, x25
	bl	_x509_get_sig
	bl	_SVN_ERR
	ldr	x8, [sp, #32]
	cmp	x8, x25
	b.ne	LBB0_10
; %bb.16:
	mov	x0, x21
	mov	w1, #20
	bl	_apr_pcalloc
	mov	x25, x0
	add	x0, x0, #16
	mov	x1, x26
	mov	x2, x19
	mov	x3, x21
	bl	_x509_name_to_certinfo
	bl	_SVN_ERR
	add	x0, x25, #12
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x19
	mov	x3, x21
	bl	_x509_name_to_certinfo
	bl	_SVN_ERR
	ldur	d0, [x22, #4]
	stur	d0, [x25, #4]
Lloh12:
	adrp	x8, _svn_checksum_sha1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _svn_checksum_sha1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x25
	mov	x2, x24
	mov	x3, x23
	mov	x4, x21
	bl	_svn_checksum
	bl	_SVN_ERR
	mov	x0, x25
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_x509parse_get_hostnames
	str	x25, [x20]
Lloh15:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
	b	LBB0_13
LBB0_17:
Lloh18:
	adrp	x8, _SVN_ERR_X509_CERT_SIG_MISMATCH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SVN_ERR_X509_CERT_SIG_MISMATCH@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_CONSTRUCTED,4,2           ; @ASN1_CONSTRUCTED
	.comm	_ASN1_SEQUENCE,4,2              ; @ASN1_SEQUENCE
	.comm	_SVN_ERR_X509_CERT_INVALID_FORMAT,4,2 ; @SVN_ERR_X509_CERT_INVALID_FORMAT
	.comm	_SVN_ERR_ASN1_LENGTH_MISMATCH,4,2 ; @SVN_ERR_ASN1_LENGTH_MISMATCH
	.comm	_SVN_ERR_X509_CERT_UNKNOWN_VERSION,4,2 ; @SVN_ERR_X509_CERT_UNKNOWN_VERSION
	.comm	_SVN_ERR_X509_CERT_SIG_MISMATCH,4,2 ; @SVN_ERR_X509_CERT_SIG_MISMATCH
	.comm	_svn_checksum_sha1,4,2          ; @svn_checksum_sha1
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
