	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_reg_getnumcharacters        ## -- Begin function pg_reg_getnumcharacters
	.p2align	4, 0x90
_pg_reg_getnumcharacters:               ## @pg_reg_getnumcharacters
	.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	%esi, %r14d
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movq	_REMAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_assert
	movl	$-1, %eax
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.4:
	movq	8(%rbx), %rcx
	cmpl	%r14d, (%rcx)
	jl	LBB0_8
## %bb.5:
	movq	8(%rcx), %rcx
	movl	%r14d, %edx
	leaq	(%rdx,%rdx,2), %rdx
	movq	_PSEUDO@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rcx,%rdx,8)
	jne	LBB0_8
## %bb.6:
	cmpq	$0, 8(%rcx,%rdx,8)
	jne	LBB0_8
## %bb.7:
	movl	16(%rcx,%rdx,8), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REMAGIC,8,3                    ## @REMAGIC
	.comm	_PSEUDO,4,2                     ## @PSEUDO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_reg_getnumcharacters        ; -- Begin function pg_reg_getnumcharacters
	.p2align	2
_pg_reg_getnumcharacters:               ; @pg_reg_getnumcharacters
	.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
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _REMAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REMAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
LBB0_2:
	bl	_assert
	cmp	w19, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	cmp	w9, w19
	b.lt	LBB0_6
; %bb.4:
	ldr	x8, [x8, #8]
	mov	w9, #24
	umull	x9, w19, w9
	ldr	w9, [x8, x9]
Lloh3:
	adrp	x10, _PSEUDO@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PSEUDO@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_6
; %bb.5:
	mov	w9, w19
	mov	w10, #24
	madd	x10, x9, x10, x8
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_8
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	w0, [x8, #16]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_REMAGIC,8,3                    ; @REMAGIC
	.comm	_PSEUDO,4,2                     ; @PSEUDO
.subsections_via_symbols
