	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_get_object_local_id_type_id ## -- Begin function user_get_object_local_id_type_id
	.p2align	4, 0x90
_user_get_object_local_id_type_id:      ## @user_get_object_local_id_type_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edx
	testl	%edx, %edx
	je	LBB0_9
## %bb.1:
	cmpl	$1, %edx
	jle	LBB0_2
## %bb.3:
	incl	%edx
	movq	8(%r14), %rcx
	movl	$1, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %eax
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	leal	1(%rax), %edi
	cmpl	%edx, %edi
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rax,%rdx), %edi
	sarl	%edi
	movslq	%edi, %rbx
	cmpq	%rsi, (%rcx,%rbx,8)
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %edx
	jmp	LBB0_7
LBB0_2:
	movq	8(%r14), %rcx
	movl	$1, %eax
LBB0_8:
	movslq	%eax, %rdx
	cmpq	%rsi, (%rcx,%rdx,8)
	je	LBB0_12
LBB0_9:
	leaq	16(%r14), %rdi
	callq	_ltbl_get_to
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	addl	(%r14), %eax
	jmp	LBB0_12
LBB0_10:
	xorl	%eax, %eax
LBB0_12:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_get_object_local_id_type_id ; -- Begin function user_get_object_local_id_type_id
	.p2align	2
_user_get_object_local_id_type_id:      ; @user_get_object_local_id_type_id
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.1:
	cmp	w8, #1
	b.le	LBB0_4
; %bb.2:
	add	w9, w8, #1
	ldr	x8, [x19, #8]
	mov	w0, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w10, w0, w9
	asr	w10, w10, #1
	ldr	x11, [x8, w10, sxtw #3]
	cmp	x11, x1
	csel	w9, w10, w9, gt
	csel	w0, w0, w10, gt
	add	w10, w0, #1
	cmp	w10, w9
	b.lt	LBB0_3
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19, #8]
	mov	w0, #1
LBB0_5:
	ldr	x8, [x8, w0, sxtw #3]
	cmp	x8, x1
	b.eq	LBB0_8
LBB0_6:
	add	x0, x19, #16
	bl	_ltbl_get_to
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w8, [x19]
	add	w0, w8, w0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
