	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn_get_real_integer
_asn_get_real_integer:                  ## @asn_get_real_integer
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	cmpl	%esi, (%rdi)
	jge	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_asn_error
	movq	_ASN_ERR_EOBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_2:
	movq	%rdx, %r14
	movl	%esi, %r15d
	testl	%esi, %esi
	je	LBB0_3
## %bb.4:
	cmpl	$9, %r15d
	jl	LBB0_6
## %bb.5:
	movq	_ASN_ERR_RANGE@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	jmp	LBB0_13
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_asn_error
	movl	$0, (%r14)
	movq	_ASN_ERR_BADLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_6:
	movq	_ASN_ERR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$2, %r15d
	jl	LBB0_13
## %bb.7:
	movq	8(%r12), %rcx
	movl	(%rcx), %edx
	cmpl	$255, %edx
	je	LBB0_10
## %bb.8:
	testl	%edx, %edx
	jne	LBB0_13
## %bb.9:
	testb	$-128, 4(%rcx)
	je	LBB0_11
LBB0_13:
	movq	8(%r12), %r9
	movsbl	(%r9), %r8d
	sarl	$7, %r8d
	cmpl	$1, %r15d
	jne	LBB0_15
## %bb.14:
	xorl	%edi, %edi
                                        ## implicit-def: $esi
	testb	$1, %r15b
	jne	LBB0_19
	jmp	LBB0_20
LBB0_15:
	movl	%r15d, %edi
	andl	$-2, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9), %ecx
	xorl	%r8d, %ecx
	movl	(%r12), %ebx
	leal	-1(%rbx), %edx
	movl	%edx, (%r12)
	shll	$16, %esi
	shll	$8, %ecx
	movl	4(%r9), %edx
	xorl	%r8d, %edx
	orl	%edx, %esi
	orl	%ecx, %esi
	addl	$-2, %ebx
	movl	%ebx, (%r12)
	addq	$8, %r9
	addl	$-2, %edi
	jne	LBB0_16
## %bb.17:
	movl	%esi, %edi
	shll	$8, %edi
	testb	$1, %r15b
	je	LBB0_20
LBB0_19:
	movl	(%r9), %esi
	xorl	%r8d, %esi
	orl	%edi, %esi
	decl	(%r12)
	addq	$4, %r9
LBB0_20:
	movq	%r9, 8(%r12)
	xorl	%r8d, %esi
	movl	%esi, (%r14)
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	testb	$-128, 4(%rcx)
	je	LBB0_13
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_asn_error
	movq	_ASN_ERR_BADLEN@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"truncated integer"

	.comm	_ASN_ERR_EOBUF,4,2              ## @ASN_ERR_EOBUF
L_.str.1:                               ## @.str.1
	.asciz	"zero-length integer"

	.comm	_ASN_ERR_BADLEN,4,2             ## @ASN_ERR_BADLEN
	.comm	_ASN_ERR_OK,4,2                 ## @ASN_ERR_OK
	.comm	_ASN_ERR_RANGE,4,2              ## @ASN_ERR_RANGE
L_.str.2:                               ## @.str.2
	.asciz	"non-minimal integer"

	.no_dead_strip	_asn_get_real_integer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn_get_real_integer
_asn_get_real_integer:                  ; @asn_get_real_integer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_asn_error
Lloh2:
	adrp	x8, _ASN_ERR_EOBUF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ASN_ERR_EOBUF@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_14
LBB0_2:
	mov	x19, x2
	mov	x21, x1
	cbz	w1, LBB0_6
; %bb.3:
	cmp	w21, #9
	b.lt	LBB0_7
; %bb.4:
Lloh5:
	adrp	x8, _ASN_ERR_RANGE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ASN_ERR_RANGE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_6:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_asn_error
	str	wzr, [x19]
Lloh9:
	adrp	x8, _ASN_ERR_BADLEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ASN_ERR_BADLEN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_14
LBB0_7:
Lloh12:
	adrp	x8, _ASN_ERR_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ASN_ERR_OK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	cmp	w21, #2
	b.lt	LBB0_11
; %bb.8:
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	cmp	w9, #255
	b.eq	LBB0_15
; %bb.9:
	cbnz	w9, LBB0_11
; %bb.10:
	ldrb	w8, [x8, #4]
	tbz	w8, #7, LBB0_16
LBB0_11:
	mov	w8, #0
	ldr	x9, [x20, #8]
	ldr	w10, [x9]
	sub	w11, w21, #1
	add	x11, x11, #1
	sbfx	w10, w10, #7, #1
	mov	x12, x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x12], #4
	eor	w13, w13, w10
	orr	w8, w13, w8, lsl #8
	ldr	w13, [x20]
	sub	w13, w13, #1
	str	w13, [x20]
	sub	w21, w21, #1
	cbnz	w21, LBB0_12
; %bb.13:
	add	x9, x9, x11, lsl #2
	str	x9, [x20, #8]
	eor	w8, w8, w10
	str	w8, [x19]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldrb	w8, [x8, #4]
	tbz	w8, #7, LBB0_11
LBB0_16:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_asn_error
Lloh17:
	adrp	x8, _ASN_ERR_BADLEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ASN_ERR_BADLEN@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"truncated integer"

	.comm	_ASN_ERR_EOBUF,4,2              ; @ASN_ERR_EOBUF
l_.str.1:                               ; @.str.1
	.asciz	"zero-length integer"

	.comm	_ASN_ERR_BADLEN,4,2             ; @ASN_ERR_BADLEN
	.comm	_ASN_ERR_OK,4,2                 ; @ASN_ERR_OK
	.comm	_ASN_ERR_RANGE,4,2              ; @ASN_ERR_RANGE
l_.str.2:                               ; @.str.2
	.asciz	"non-minimal integer"

	.no_dead_strip	_asn_get_real_integer
.subsections_via_symbols
