	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_uid
_add_uid:                               ## @add_uid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TOP_MAX_UIDS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	_ps@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %esi
	cmpl	$-1, %esi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%edi, %esi
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_3
## %bb.7:
	movq	%rcx, %rdx
	jmp	LBB0_8
LBB0_1:
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_5:
	movl	%edi, (%rax,%rdx,4)
LBB0_8:
	xorl	%eax, %eax
	cmpq	%rcx, %rdx
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOP_MAX_UIDS,8,3               ## @TOP_MAX_UIDS
	.comm	_ps,8,3                         ## @ps
	.no_dead_strip	_add_uid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_uid
_add_uid:                               ; @add_uid
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TOP_MAX_UIDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOP_MAX_UIDS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x9, #0
Lloh3:
	adrp	x10, _ps@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ps@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x9, lsl #2]
	cmn	w11, #1
	ccmp	w11, w0, #4, ne
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.4:
	mov	x9, x8
	b	LBB0_7
LBB0_5:
	mov	x9, #0
	b	LBB0_7
LBB0_6:
	str	w0, [x10, x9, lsl #2]
LBB0_7:
	cmp	x9, x8
	cset	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TOP_MAX_UIDS,8,3               ; @TOP_MAX_UIDS
	.comm	_ps,8,3                         ; @ps
	.no_dead_strip	_add_uid
.subsections_via_symbols
