	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_asn1_count_objects
_r_asn1_count_objects:                  ## @r_asn1_count_objects
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	testl	%esi, %esi
	je	LBB0_11
## %bb.2:
	jle	LBB0_3
## %bb.4:
	movq	%rdi, %r14
	movslq	%esi, %rax
	leaq	(%rdi,%rax,4), %r13
	xorl	%r15d, %r15d
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rsi
	subq	%rbx, %rsi
	shrq	$2, %rsi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%edx, %edx
	callq	_asn1_parse_header
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r12), %rax
	cmpq	%rax, %rbx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	(%r12), %rcx
	leaq	(%rax,%rcx,4), %rbx
	incl	%r15d
	movq	%r12, %rdi
	callq	_R_FREE
	cmpq	%r14, %rbx
	jb	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r13, %rbx
	jb	LBB0_5
	jmp	LBB0_10
LBB0_7:
	movq	%r12, %rdi
	callq	_R_FREE
	jmp	LBB0_10
LBB0_3:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
LBB0_10:
	movq	%r12, %rdi
	callq	_R_FREE
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_r_asn1_count_objects
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_asn1_count_objects
_r_asn1_count_objects:                  ; @r_asn1_count_objects
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w19, #0
	cbz	x0, LBB0_10
; %bb.1:
	cbz	w1, LBB0_10
; %bb.2:
	cmp	w1, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x20, x0
	mov	w19, #0
	add	x23, x0, w1, sxtw #2
	mov	x22, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x8, x23, x22
	lsr	x1, x8, #2
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #0
	bl	_asn1_parse_header
	mov	x21, x0
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	cmp	x22, x8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x9, [x21]
	add	x22, x8, x9, lsl #2
	add	w19, w19, #1
	mov	x0, x21
	bl	_R_FREE
	cmp	x22, x20
	ccmp	x22, x23, #2, hs
	b.lo	LBB0_4
	b	LBB0_9
LBB0_7:
	mov	x0, x21
	bl	_R_FREE
	b	LBB0_9
LBB0_8:
	mov	w19, #0
	mov	x21, #0
LBB0_9:
	mov	x0, x21
	bl	_R_FREE
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_r_asn1_count_objects
.subsections_via_symbols
