	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_GetLengthIndefinite
_CRYPT_GetLengthIndefinite:             ## @CRYPT_GetLengthIndefinite
	.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
	cmpl	$1, %esi
	jg	LBB0_3
LBB0_1:
	movq	_CRYPT_E_ASN1_CORRUPT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	cmpl	$127, %edi
	jg	LBB0_7
## %bb.4:
	cmpl	%r15d, %edi
	jge	LBB0_5
## %bb.6:
	movl	%edi, (%r14)
	jmp	LBB0_24
LBB0_7:
	cmpl	$128, %edi
	jne	LBB0_9
## %bb.8:
	movq	_CMSG_INDEFINITE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_24:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_9:
	callq	_GET_LEN_BYTES
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$6, %eax
	jb	LBB0_11
## %bb.10:
	movq	_CRYPT_E_ASN1_LARGE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	leal	2(%rax), %ecx
	cmpl	%r15d, %ecx
	ja	LBB0_1
## %bb.12:
	movl	%eax, %edx
	decl	%edx
	je	LBB0_13
## %bb.14:
	addq	$8, %rbx
	leal	-2(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_16
## %bb.15:
	xorl	%ecx, %ecx
	jmp	LBB0_19
LBB0_13:
	xorl	%ecx, %ecx
	jmp	LBB0_22
LBB0_16:
	movl	%edx, %ecx
	andl	$-4, %ecx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	addq	$16, %rbx
	addl	$-4, %ecx
	jne	LBB0_17
## %bb.18:
	movl	-16(%rbx), %esi
	movl	-12(%rbx), %ecx
	shll	$16, %esi
	shll	$8, %ecx
	orl	%esi, %ecx
	orl	-8(%rbx), %ecx
	shll	$8, %ecx
	orl	-4(%rbx), %ecx
LBB0_19:
	testb	$3, %dl
	je	LBB0_22
## %bb.20:
	decb	%al
	movzbl	%al, %eax
	andl	$3, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	shll	$8, %ecx
	orl	(%rbx,%rdx,4), %ecx
	incq	%rdx
	cmpl	%edx, %eax
	jne	LBB0_21
LBB0_22:
	cmpl	%r15d, %ecx
	jge	LBB0_5
## %bb.23:
	movl	%ecx, (%r14)
	jmp	LBB0_24
LBB0_5:
	movq	_CRYPT_E_ASN1_EOD@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edi
	callq	_SetLastError
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPT_E_ASN1_CORRUPT,4,2       ## @CRYPT_E_ASN1_CORRUPT
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_CRYPT_E_ASN1_EOD,4,2           ## @CRYPT_E_ASN1_EOD
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_CMSG_INDEFINITE_LENGTH,4,2     ## @CMSG_INDEFINITE_LENGTH
	.comm	_CRYPT_E_ASN1_LARGE,4,2         ## @CRYPT_E_ASN1_LARGE
	.no_dead_strip	_CRYPT_GetLengthIndefinite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_GetLengthIndefinite
_CRYPT_GetLengthIndefinite:             ; @CRYPT_GetLengthIndefinite
	.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
	cmp	w1, #1
	b.gt	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _CRYPT_E_ASN1_CORRUPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPT_E_ASN1_CORRUPT@GOTPAGEOFF]
	b	LBB0_17
LBB0_2:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0, #4]
	cmp	w0, #127
	b.gt	LBB0_5
; %bb.3:
	cmp	w0, w20
	b.ge	LBB0_16
; %bb.4:
	str	w0, [x19]
	b	LBB0_8
LBB0_5:
	cmp	w0, #128
	b.ne	LBB0_9
; %bb.6:
Lloh2:
	adrp	x8, _CMSG_INDEFINITE_LENGTH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CMSG_INDEFINITE_LENGTH@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
LBB0_7:
	str	w8, [x19]
LBB0_8:
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_18
LBB0_9:
	bl	_GET_LEN_BYTES
	cmp	w0, #6
	b.lo	LBB0_11
; %bb.10:
Lloh7:
	adrp	x8, _CRYPT_E_ASN1_LARGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CRYPT_E_ASN1_LARGE@GOTPAGEOFF]
	b	LBB0_17
LBB0_11:
	add	w8, w0, #2
	cmp	w8, w20
	b.hi	LBB0_1
; %bb.12:
	mov	w8, #0
	subs	w9, w0, #1
	b.eq	LBB0_15
; %bb.13:
	add	x10, x21, #8
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	orr	w8, w11, w8, lsl #8
	subs	w9, w9, #1
	b.ne	LBB0_14
LBB0_15:
	cmp	w8, w20
	b.lt	LBB0_7
LBB0_16:
Lloh9:
	adrp	x8, _CRYPT_E_ASN1_EOD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CRYPT_E_ASN1_EOD@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPT_E_ASN1_CORRUPT,4,2       ; @CRYPT_E_ASN1_CORRUPT
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_CRYPT_E_ASN1_EOD,4,2           ; @CRYPT_E_ASN1_EOD
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_CMSG_INDEFINITE_LENGTH,4,2     ; @CMSG_INDEFINITE_LENGTH
	.comm	_CRYPT_E_ASN1_LARGE,4,2         ; @CRYPT_E_ASN1_LARGE
	.no_dead_strip	_CRYPT_GetLengthIndefinite
.subsections_via_symbols
