	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn1_get_int
_asn1_get_int:                          ## @asn1_get_int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_ASN1_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-20(%rbp), %rdx
	callq	_asn1_get_tag
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-20(%rbp), %eax
	cmpl	$4, %eax
	jg	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	cmpb	$0, (%rcx)
	js	LBB0_2
## %bb.3:
	movl	$0, (%r14)
	leal	-1(%rax), %edi
	movl	%edi, -20(%rbp)
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	movzbl	(%rcx), %esi
	movl	%esi, (%r14)
	leaq	1(%rcx), %rdx
	movq	%rdx, (%rbx)
	leal	-2(%rax), %edx
	movl	%edx, -20(%rbp)
	testl	%edi, %edi
	je	LBB0_8
## %bb.5:
	shll	$8, %esi
	movzbl	1(%rcx), %edi
	orl	%esi, %edi
	movl	%edi, (%r14)
	leaq	2(%rcx), %rsi
	movq	%rsi, (%rbx)
	leal	-3(%rax), %esi
	movl	%esi, -20(%rbp)
	testl	%edx, %edx
	je	LBB0_8
## %bb.6:
	shll	$8, %edi
	movzbl	2(%rcx), %edx
	orl	%edi, %edx
	movl	%edx, (%r14)
	leaq	3(%rcx), %rdi
	movq	%rdi, (%rbx)
	leal	-4(%rax), %edi
	movl	%edi, -20(%rbp)
	testl	%esi, %esi
	je	LBB0_8
## %bb.7:
	shll	$8, %edx
	movzbl	3(%rcx), %esi
	orl	%edx, %esi
	movl	%esi, (%r14)
	addq	$4, %rcx
	movq	%rcx, (%rbx)
	addl	$-5, %eax
	movl	%eax, -20(%rbp)
LBB0_8:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_SVN_ERR_ASN1_INVALID_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_svn_error_create
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_INTEGER,4,2               ## @ASN1_INTEGER
	.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_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn1_get_int
_asn1_get_int:                          ; @asn1_get_int
	.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
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _ASN1_INTEGER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_INTEGER@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x2, sp, #12
	bl	_asn1_get_tag
	bl	_SVN_ERR
	ldr	w8, [sp, #12]
	subs	w10, w8, #4
	b.gt	LBB0_8
; %bb.1:
	ldr	x9, [x19]
	ldrsb	w11, [x9]
	tbnz	w11, #31, LBB0_8
; %bb.2:
	str	wzr, [x20]
	subs	w12, w8, #1
	str	w12, [sp, #12]
	b.lt	LBB0_7
; %bb.3:
	mov	x11, x9
	ldrb	w13, [x11], #1
	str	w13, [x20]
	str	x11, [x19]
	sub	w11, w8, #2
	str	w11, [sp, #12]
	cbz	w12, LBB0_7
; %bb.4:
	ldrb	w12, [x9, #1]
	bfi	w12, w13, #8, #8
	str	w12, [x20]
	add	x13, x9, #2
	str	x13, [x19]
	sub	w13, w8, #3
	str	w13, [sp, #12]
	cbz	w11, LBB0_7
; %bb.5:
	ldrb	w11, [x9, #2]
	bfi	w11, w12, #8, #16
	str	w11, [x20]
	add	x12, x9, #3
	str	x12, [x19]
	str	w10, [sp, #12]
	cbz	w13, LBB0_7
; %bb.6:
	ldrb	w10, [x9, #3]
	bfi	w10, w11, #8, #24
	str	w10, [x20]
	add	x9, x9, #4
	str	x9, [x19]
	sub	w8, w8, #5
	str	w8, [sp, #12]
LBB0_7:
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	b	LBB0_9
LBB0_8:
Lloh6:
	adrp	x8, _SVN_ERR_ASN1_INVALID_LENGTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_ERR_ASN1_INVALID_LENGTH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, #0
	bl	_svn_error_create
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_INTEGER,4,2               ; @ASN1_INTEGER
	.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_int
.subsections_via_symbols
