	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_len
_get_len:                               ## @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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	leaq	-44(%rbp), %rsi
	callq	_ber_getc
	movl	$-1, %r15d
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.1:
	movl	-44(%rbp), %ebx
	movq	_BER_TAG_MORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	je	LBB0_2
## %bb.3:
	notl	%eax
	andl	%eax, %ebx
	cmpl	$5, %ebx
	jb	LBB0_6
LBB0_4:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movl	%ebx, (%r14)
	movl	$1, %r15d
	jmp	LBB0_14
LBB0_6:
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.7:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leal	1(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	incl	%ebx
	xorl	%r14d, %r14d
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ber_getc
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	shll	$8, %r14d
	orl	-44(%rbp), %r14d
	decl	%ebx
	cmpl	$1, %ebx
	jg	LBB0_8
## %bb.10:
	testl	%r14d, %r14d
	js	LBB0_4
## %bb.11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_12
## %bb.13:
	movl	%r14d, (%rax)
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_14
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_14:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BER_TAG_MORE,4,2               ## @BER_TAG_MORE
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_errno,4,2                      ## @errno
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_get_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_len
_get_len:                               ; @get_len
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	add	x1, sp, #12
	bl	_ber_getc
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.1:
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _BER_TAG_MORE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BER_TAG_MORE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	bic	w8, w8, w9
	cmp	w8, #5
	b.lo	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _ERANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
	b	LBB0_13
LBB0_4:
	str	w8, [x19]
	mov	w20, #1
	b	LBB0_15
LBB0_5:
	cbz	w8, LBB0_12
; %bb.6:
	mov	w22, #0
	add	w20, w8, #1
	mov	x23, x20
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x21
	bl	_ber_getc
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #12]
	orr	w22, w8, w22, lsl #8
	sub	w23, w23, #1
	cmp	w23, #1
	b.gt	LBB0_7
; %bb.9:
	tbnz	w22, #31, LBB0_3
; %bb.10:
	cbz	w22, LBB0_12
; %bb.11:
	str	w22, [x19]
	b	LBB0_15
LBB0_12:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _errno@GOTPAGE
Lloh8:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
LBB0_14:
	mov	w20, #-1
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BER_TAG_MORE,4,2               ; @BER_TAG_MORE
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_get_len
.subsections_via_symbols
