	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_conv_uid                       ## -- Begin function conv_uid
	.p2align	4, 0x90
_conv_uid:                              ## @conv_uid
	.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
	movl	%edi, %ebx
	movq	_UG_MODE@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_NOTIFY_MODE@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	_RECOMMEND_MODE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	orq	(%rcx), %rax
	setne	%dil
	callq	_assert
	movq	_ug_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	xorl	%ebx, %eax
	subl	%ecx, %eax
	cmpq	$0, (%r14)
	cmovel	%ebx, %eax
	movl	$-1, %ecx
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movq	_log_split_mod@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movq	_log_split_min@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_3
## %bb.2:
	movq	_MAX_USERS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movl	$-1, %ecx
	cmovll	%eax, %ecx
LBB0_3:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UG_MODE,8,3                    ## @UG_MODE
	.comm	_NOTIFY_MODE,8,3                ## @NOTIFY_MODE
	.comm	_RECOMMEND_MODE,8,3             ## @RECOMMEND_MODE
	.comm	_ug_mode,4,2                    ## @ug_mode
	.comm	_log_split_mod,4,2              ## @log_split_mod
	.comm	_log_split_min,4,2              ## @log_split_min
	.comm	_MAX_USERS,4,2                  ## @MAX_USERS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_conv_uid                       ; -- Begin function conv_uid
	.p2align	2
_conv_uid:                              ; @conv_uid
	.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
Lloh0:
	adrp	x20, _UG_MODE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _UG_MODE@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _NOTIFY_MODE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NOTIFY_MODE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh5:
	adrp	x9, _RECOMMEND_MODE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RECOMMEND_MODE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	orr	x8, x8, x9
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _ug_mode@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ug_mode@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	eor	w10, w9, w19
	sub	w9, w10, w9
	cmp	x8, #0
	csel	w9, w19, w9, eq
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
Lloh11:
	adrp	x8, _log_split_mod@GOTPAGE
Lloh12:
	ldr	x8, [x8, _log_split_mod@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x8]
	sdiv	w8, w9, w10
	msub	w9, w8, w10, w9
Lloh14:
	adrp	x10, _log_split_min@GOTPAGE
Lloh15:
	ldr	x10, [x10, _log_split_min@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_3
; %bb.2:
Lloh17:
	adrp	x9, _MAX_USERS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MAX_USERS@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	csinv	w0, w8, wzr, lt
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_UG_MODE,8,3                    ; @UG_MODE
	.comm	_NOTIFY_MODE,8,3                ; @NOTIFY_MODE
	.comm	_RECOMMEND_MODE,8,3             ; @RECOMMEND_MODE
	.comm	_ug_mode,4,2                    ; @ug_mode
	.comm	_log_split_mod,4,2              ; @log_split_mod
	.comm	_log_split_min,4,2              ; @log_split_min
	.comm	_MAX_USERS,4,2                  ; @MAX_USERS
.subsections_via_symbols
