	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_local_id_by_random_tag     ## -- Begin function get_local_id_by_random_tag
	.p2align	4, 0x90
_get_local_id_by_random_tag:            ## @get_local_id_by_random_tag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_get_user
	movq	%rax, %rcx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.1:
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.2:
	movq	_MAX_INS_TAGS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, %edx
	jle	LBB0_8
## %bb.3:
	movq	(%rcx), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rcx,8), %rsi
	cmpl	%ebx, (%rsi)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_4
## %bb.6:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_7:
	movl	4(%rsi), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INS_TAGS,4,2               ## @MAX_INS_TAGS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_local_id_by_random_tag     ; -- Begin function get_local_id_by_random_tag
	.p2align	2
_get_local_id_by_random_tag:            ; @get_local_id_by_random_tag
	.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, x1
	bl	_get_user
	mov	x8, x0
	mov	w0, #0
	cmp	w19, #1
	b.lt	LBB0_8
; %bb.1:
	cbz	x8, LBB0_8
; %bb.2:
Lloh0:
	adrp	x9, _MAX_INS_TAGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_INS_TAGS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	x8, [x8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	ldr	w11, [x10]
	cmp	w11, w19
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #8
	subs	x9, x9, #1
	b.ne	LBB0_4
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	ldr	w0, [x10, #4]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INS_TAGS,4,2               ; @MAX_INS_TAGS
.subsections_via_symbols
