	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function R_GetTag
_R_GetTag:                              ## @R_GetTag
	.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
	movl	8(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %r15
	movslq	4(%rdi), %rcx
	leaq	(%rdi,%rcx,4), %rcx
	movl	(%rdi), %edx
	leal	-1(%rdx), %edi
	cmpl	%esi, %edx
	cmovgl	%esi, %edi
	imull	%eax, %edi
	movslq	%edi, %rax
	leaq	(%rcx,%rax,4), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	addq	$4, %r12
	cmpl	8(%r15), %ebx
	jl	LBB0_2
LBB0_4:
	xorl	%r12d, %r12d
LBB0_5:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_R_GetTag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function R_GetTag
_R_GetTag:                              ; @R_GetTag
	.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
	ldr	w8, [x0, #8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	mov	w22, #0
	ldp	w10, w9, [x0]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x9, x0, x9, lsl #2
	sub	w11, w10, #1
	cmp	w10, w1
	csel	w10, w1, w11, gt
	mul	w8, w10, w8
	add	x21, x9, w8, sxtw #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, x19
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w22, w22, #1
	add	x21, x21, #4
	ldr	w8, [x20, #8]
	cmp	w22, w8
	b.lt	LBB0_2
LBB0_4:
	mov	x21, #0
LBB0_5:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_R_GetTag
.subsections_via_symbols
