	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn1_get_len
_asn1_get_len:                          ## @asn1_get_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r9
	movq	%rsi, %rcx
	subq	%r9, %rcx
	testq	%rcx, %rcx
	jle	LBB0_1
## %bb.3:
	movzbl	(%r9), %eax
	testb	$-128, %al
	jne	LBB0_7
## %bb.4:
	leaq	1(%r9), %rcx
	movq	%rcx, (%rdi)
	movzbl	(%r9), %r8d
	movl	%r8d, (%rdx)
	jmp	LBB0_5
LBB0_7:
	andl	$127, %eax
	cmpl	$2, %eax
	je	LBB0_12
## %bb.8:
	cmpl	$1, %eax
	jne	LBB0_14
## %bb.9:
	cmpq	$1, %rcx
	jbe	LBB0_1
## %bb.10:
	movzbl	1(%r9), %r8d
	movl	%r8d, (%rdx)
	addq	$2, %r9
	jmp	LBB0_11
LBB0_12:
	cmpq	$2, %rcx
	jbe	LBB0_1
## %bb.13:
	movzwl	1(%r9), %eax
	rolw	$8, %ax
	movzwl	%ax, %r8d
	movl	%r8d, (%rdx)
	addq	$3, %r9
LBB0_11:
	movq	%r9, (%rdi)
	movq	%r9, %rcx
LBB0_5:
	movl	%r8d, %eax
	subq	%rcx, %rsi
	cmpq	%rax, %rsi
	jge	LBB0_6
LBB0_1:
	movq	_SVN_ERR_ASN1_OUT_OF_DATA@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	popq	%rbp
	jmp	_svn_error_create               ## TAILCALL
LBB0_6:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_14:
	movq	_SVN_ERR_ASN1_INVALID_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_ASN1_OUT_OF_DATA,4,2   ## @SVN_ERR_ASN1_OUT_OF_DATA
	.comm	_SVN_ERR_ASN1_INVALID_LENGTH,4,2 ## @SVN_ERR_ASN1_INVALID_LENGTH
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_asn1_get_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn1_get_len
_asn1_get_len:                          ; @asn1_get_len
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	sub	x9, x1, x8
	cmp	x9, #0
	b.le	LBB0_11
; %bb.1:
	ldrb	w10, [x8]
	tbnz	w10, #7, LBB0_3
; %bb.2:
	add	x10, x8, #1
	str	x10, [x0]
	ldrb	w9, [x8]
	str	w9, [x2]
	b	LBB0_10
LBB0_3:
	and	w10, w10, #0x7f
	cmp	w10, #2
	b.eq	LBB0_7
; %bb.4:
	cmp	w10, #1
	b.ne	LBB0_14
; %bb.5:
	cmp	x9, #1
	b.ls	LBB0_11
; %bb.6:
	ldrb	w9, [x8, #1]
	str	w9, [x2]
	add	x10, x8, #2
	b	LBB0_9
LBB0_7:
	cmp	x9, #2
	b.ls	LBB0_11
; %bb.8:
	ldurh	w9, [x8, #1]
	rev16	w9, w9
	str	w9, [x2]
	add	x10, x8, #3
LBB0_9:
	str	x10, [x0]
LBB0_10:
	sub	x8, x1, x10
	cmp	x8, w9, uxtw
	b.ge	LBB0_13
LBB0_11:
Lloh0:
	adrp	x8, _SVN_ERR_ASN1_OUT_OF_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_ASN1_OUT_OF_DATA@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, #0
	b	_svn_error_create
LBB0_13:
Lloh2:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	ret
LBB0_14:
Lloh5:
	adrp	x8, _SVN_ERR_ASN1_INVALID_LENGTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_ERR_ASN1_INVALID_LENGTH@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_ASN1_OUT_OF_DATA,4,2   ; @SVN_ERR_ASN1_OUT_OF_DATA
	.comm	_SVN_ERR_ASN1_INVALID_LENGTH,4,2 ; @SVN_ERR_ASN1_INVALID_LENGTH
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_asn1_get_len
.subsections_via_symbols
