	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_generic_charinc
_pg_generic_charinc:                    ## @pg_generic_charinc
	.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
	movq	%rdi, %r15
	movslq	%esi, %rbx
	movq	_pg_wchar_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_GetDatabaseEncoding
	movq	(%r12,%rax,8), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%r15,%rbx), %eax
	cmpb	$-1, %al
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	incb	%al
	movb	%al, -1(%r15,%rbx)
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	*%r12
	cmpl	%ebx, %eax
	jne	LBB0_1
## %bb.3:
	movl	$1, %r14d
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pg_wchar_table,8,3             ## @pg_wchar_table
	.no_dead_strip	_pg_generic_charinc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pg_generic_charinc
_pg_generic_charinc:                    ; @pg_generic_charinc
	.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, x1
	mov	x20, x0
	add	x21, x0, w1, sxtw
Lloh0:
	adrp	x8, _pg_wchar_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pg_wchar_table@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	bl	_GetDatabaseEncoding
	ldr	x22, [x22, x0, lsl #3]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w8, [x21, #-1]
	cmp	w8, #255
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w8, w8, #1
	sturb	w8, [x21, #-1]
	mov	x0, x20
	mov	x1, x19
	blr	x22
	cmp	w0, w19
	b.ne	LBB0_1
; %bb.3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_pg_wchar_table,8,3             ; @pg_wchar_table
	.no_dead_strip	_pg_generic_charinc
.subsections_via_symbols
