	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_reg_getcharacters           ## -- Begin function pg_reg_getcharacters
	.p2align	4, 0x90
_pg_reg_getcharacters:                  ## @pg_reg_getcharacters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movl	%esi, %r15d
	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
	testl	%r15d, %r15d
	jle	LBB0_13
## %bb.4:
	testl	%r12d, %r12d
	jle	LBB0_13
## %bb.5:
	movq	8(%rbx), %rdx
	cmpl	%r15d, (%rdx)
	jl	LBB0_13
## %bb.6:
	movq	16(%rdx), %rax
	movl	%r15d, %ecx
	movq	_PSEUDO@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rax,%rcx,4)
	jne	LBB0_13
## %bb.7:
	movq	_CHR_MIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MAX_SIMPLE_CHR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jle	LBB0_8
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	8(%rdx), %rdx
	incq	%rcx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rax
	addq	$4, %rdx
	cmpq	%rax, %rcx
	je	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, (%rdx)
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, (%r14)
	decl	%r12d
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	$4, %r14
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_REMAGIC,8,3                    ## @REMAGIC
	.comm	_PSEUDO,4,2                     ## @PSEUDO
	.comm	_CHR_MIN,8,3                    ## @CHR_MIN
	.comm	_MAX_SIMPLE_CHR,8,3             ## @MAX_SIMPLE_CHR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_reg_getcharacters           ; -- Begin function pg_reg_getcharacters
	.p2align	2
_pg_reg_getcharacters:                  ; @pg_reg_getcharacters
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x22]
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	w21, #1
	b.lt	LBB0_11
; %bb.3:
	cmp	w19, #1
	b.lt	LBB0_11
; %bb.4:
	ldr	x9, [x22, #8]
	ldr	w8, [x9]
	cmp	w8, w21
	b.lt	LBB0_11
; %bb.5:
	ldr	x8, [x9, #16]
	ldr	w8, [x8, w21, uxtw #2]
Lloh3:
	adrp	x10, _PSEUDO@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PSEUDO@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w8
	b.ne	LBB0_11
; %bb.6:
Lloh6:
	adrp	x8, _CHR_MIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHR_MIN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x10, _MAX_SIMPLE_CHR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MAX_SIMPLE_CHR@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x10
	b.gt	LBB0_11
; %bb.7:
	ldr	x9, [x9, #8]
	add	x10, x10, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, #1
	add	x9, x9, #4
	cmp	x10, x8
	b.eq	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cmp	w11, w21
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	str	w8, [x20], #4
	subs	w19, w19, #1
	b.ne	LBB0_8
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REMAGIC,8,3                    ; @REMAGIC
	.comm	_PSEUDO,4,2                     ; @PSEUDO
	.comm	_CHR_MIN,8,3                    ; @CHR_MIN
	.comm	_MAX_SIMPLE_CHR,8,3             ; @MAX_SIMPLE_CHR
.subsections_via_symbols
