	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_get_version
_x509_get_version:                      ## @x509_get_version
	.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
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_ASN1_CONTEXT_SPECIFIC@GOTPCREL(%rip), %rax
	movq	_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-28(%rbp), %rdx
	callq	_asn1_get_tag
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	(%rax), %rcx
	movq	_SVN_ERR_ASN1_UNEXPECTED_TAG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.2:
	movq	%rax, %rdi
	callq	_svn_error_clear
	movl	$0, (%r14)
LBB0_3:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_5
LBB0_6:
	movslq	-28(%rbp), %r15
	addq	(%rbx), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_asn1_get_int
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:
	cmpq	%r15, (%rbx)
	je	LBB0_3
## %bb.9:
	movq	_SVN_ERR_ASN1_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_svn_error_create
LBB0_7:
	movq	_SVN_ERR_X509_CERT_INVALID_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_svn_error_create
	jmp	LBB0_5
LBB0_4:
	movq	%rax, %rdi
	callq	_svn_error_trace
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_CONTEXT_SPECIFIC,4,2      ## @ASN1_CONTEXT_SPECIFIC
	.comm	_ASN1_CONSTRUCTED,4,2           ## @ASN1_CONSTRUCTED
	.comm	_SVN_ERR_ASN1_UNEXPECTED_TAG,8,3 ## @SVN_ERR_ASN1_UNEXPECTED_TAG
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_SVN_ERR_X509_CERT_INVALID_VERSION,4,2 ## @SVN_ERR_X509_CERT_INVALID_VERSION
	.comm	_SVN_ERR_ASN1_LENGTH_MISMATCH,4,2 ## @SVN_ERR_ASN1_LENGTH_MISMATCH
	.no_dead_strip	_x509_get_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_get_version
_x509_get_version:                      ; @x509_get_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _ASN1_CONTEXT_SPECIFIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_CONTEXT_SPECIFIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ASN1_CONSTRUCTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ASN1_CONSTRUCTED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x2, sp, #12
	bl	_asn1_get_tag
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _SVN_ERR_ASN1_UNEXPECTED_TAG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SVN_ERR_ASN1_UNEXPECTED_TAG@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.2:
	bl	_svn_error_clear
	str	wzr, [x19]
LBB0_3:
Lloh9:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	b	LBB0_9
LBB0_4:
	ldr	x8, [x20]
	ldrsw	x9, [sp, #12]
	add	x21, x8, x9
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_asn1_get_int
	cbnz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x20]
	cmp	x8, x21
	b.eq	LBB0_3
; %bb.6:
Lloh12:
	adrp	x8, _SVN_ERR_ASN1_LENGTH_MISMATCH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SVN_ERR_ASN1_LENGTH_MISMATCH@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, #0
	bl	_svn_error_create
LBB0_7:
	mov	x1, x0
Lloh15:
	adrp	x8, _SVN_ERR_X509_CERT_INVALID_VERSION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_ERR_X509_CERT_INVALID_VERSION@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x2, #0
	bl	_svn_error_create
	b	LBB0_9
LBB0_8:
	bl	_svn_error_trace
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_CONTEXT_SPECIFIC,4,2      ; @ASN1_CONTEXT_SPECIFIC
	.comm	_ASN1_CONSTRUCTED,4,2           ; @ASN1_CONSTRUCTED
	.comm	_SVN_ERR_ASN1_UNEXPECTED_TAG,8,3 ; @SVN_ERR_ASN1_UNEXPECTED_TAG
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_SVN_ERR_X509_CERT_INVALID_VERSION,4,2 ; @SVN_ERR_X509_CERT_INVALID_VERSION
	.comm	_SVN_ERR_ASN1_LENGTH_MISMATCH,4,2 ; @SVN_ERR_ASN1_LENGTH_MISMATCH
	.no_dead_strip	_x509_get_version
.subsections_via_symbols
