	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_ctype_get_cache
_pg_ctype_get_cache:                    ## @pg_ctype_get_cache
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_pg_ctype_cache_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	_pg_regex_collation@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	48(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, 56(%rbx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, (%rbx)
	jne	LBB0_5
## %bb.4:
	addq	$8, %rbx
	jmp	LBB0_44
LBB0_6:
	movl	$64, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_43
## %bb.7:
	movq	%rax, %rbx
	movq	%rax, %r14
	movq	%r15, 56(%rbx)
	movq	_pg_regex_collation@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movabsq	$549755813888, %rax             ## imm = 0x8000000000
	movq	%rax, 8(%rbx)
	movl	$8192, %edi                     ## imm = 0x2000
	callq	_malloc
	movq	%rax, 40(%rbx)
	movabsq	$274877906944, %rax             ## imm = 0x4000000000
	movq	%rax, 16(%rbx)
	movl	$8192, %edi                     ## imm = 0x2000
	callq	_malloc
	movq	%rax, 32(%rbx)
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_38
## %bb.8:
	testq	%rax, %rax
	je	LBB0_38
## %bb.9:
	movl	%r12d, 24(%r14)
	movq	_pg_regex_strategy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r12d, %r12d
	addl	$-128, %eax
	cmpl	$5, %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	ja	LBB0_10
## %bb.11:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	movq	_MAX_SIMPLE_CHR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jns	LBB0_15
	jmp	LBB0_24
LBB0_12:
	movq	_UCHAR_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$-1, 24(%r14)
	testl	%eax, %eax
	js	LBB0_24
LBB0_15:
	movslq	%eax, %r13
	jmp	LBB0_16
LBB0_10:
	xorl	%r13d, %r13d
LBB0_16:
	incq	%r13
	xorl	%r14d, %r14d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=1
	incl	%r12d
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%r14
	cmpq	%r14, %r13
	je	LBB0_22
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	*%r15
	testq	%rax, %rax
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	testl	%r12d, %r12d
	jle	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	%r12d, %eax
	movq	%r14, %rsi
	subq	%rax, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_store_match
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_21
	jmp	LBB0_37
LBB0_22:
	testl	%r12d, %r12d
	jle	LBB0_24
## %bb.23:
	movl	%r12d, %eax
	subq	%rax, %r13
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_store_match
	testl	%eax, %eax
	je	LBB0_37
LBB0_24:
	addq	$8, %rbx
	movl	(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_25
## %bb.26:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	cmpl	12(%r15), %esi
	jge	LBB0_30
## %bb.27:
	movq	40(%r15), %rdi
	shll	$6, %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_37
## %bb.28:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, 40(%r15)
	movl	8(%r15), %eax
	jmp	LBB0_29
LBB0_25:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	40(%r15), %rdi
	callq	_free
	movq	$0, 40(%r15)
	xorl	%eax, %eax
LBB0_29:
	movl	%eax, 12(%r15)
LBB0_30:
	movl	16(%r15), %esi
	testl	%esi, %esi
	je	LBB0_31
## %bb.32:
	cmpl	20(%r15), %esi
	movq	_pg_ctype_cache_list@GOTPCREL(%rip), %r14
	jge	LBB0_36
## %bb.33:
	movq	32(%r15), %rdi
	shll	$7, %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_37
## %bb.34:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, 32(%r15)
	movl	16(%r15), %eax
	jmp	LBB0_35
LBB0_37:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	40(%r14), %rdi
LBB0_38:
	testq	%rdi, %rdi
	je	LBB0_40
## %bb.39:
	callq	_free
LBB0_40:
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_42
## %bb.41:
	callq	_free
LBB0_42:
	movq	%r14, %rdi
	callq	_free
LBB0_43:
	xorl	%ebx, %ebx
LBB0_44:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	32(%r15), %rdi
	callq	_free
	movq	$0, 32(%r15)
	xorl	%eax, %eax
	movq	_pg_ctype_cache_list@GOTPCREL(%rip), %r14
LBB0_35:
	movl	%eax, 20(%r15)
LBB0_36:
	movq	(%r14), %rax
	movq	%rax, 48(%r15)
	movq	%r15, (%r14)
	jmp	LBB0_44
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_pg_ctype_cache_list,8,3        ## @pg_ctype_cache_list
	.comm	_pg_regex_collation,8,3         ## @pg_regex_collation
	.comm	_pg_regex_strategy,4,2          ## @pg_regex_strategy
	.comm	_MAX_SIMPLE_CHR,4,2             ## @MAX_SIMPLE_CHR
	.comm	_UCHAR_MAX,4,2                  ## @UCHAR_MAX
	.no_dead_strip	_pg_ctype_get_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function pg_ctype_get_cache
lCPI0_0:
	.long	0                               ; 0x0
	.long	128                             ; 0x80
lCPI0_1:
	.long	0                               ; 0x0
	.long	64                              ; 0x40
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pg_ctype_get_cache:                    ; @pg_ctype_get_cache
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _pg_ctype_cache_list@GOTPAGE
Lloh1:
	ldr	x24, [x24, _pg_ctype_cache_list@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x20, _pg_regex_collation@GOTPAGE
Lloh3:
	ldr	x20, [x20, _pg_regex_collation@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x9, [x20]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #48]
	cbz	x8, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8, #56]
	cmp	x10, x21
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x8]
	cmp	x10, x9
	b.ne	LBB0_2
; %bb.5:
	add	x20, x8, #8
	b	LBB0_41
LBB0_6:
	mov	w0, #64
	bl	_malloc
	cbz	x0, LBB0_40
; %bb.7:
	mov	x19, x0
	str	x21, [x0, #56]
	ldr	x8, [x20]
	str	x8, [x0]
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	mov	x20, x0
	str	d0, [x20, #8]!
	mov	w0, #8192
	bl	_malloc
	str	x0, [x19, #40]
Lloh6:
	adrp	x8, lCPI0_1@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [x19, #16]
	mov	w0, #8192
	bl	_malloc
	mov	x8, x0
	str	x0, [x19, #32]
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_35
; %bb.8:
	cbz	x8, LBB0_35
; %bb.9:
	str	w22, [x19, #24]
Lloh8:
	adrp	x8, _pg_regex_strategy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pg_regex_strategy@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_14
; %bb.10:
Lloh11:
	adrp	x9, lJTI0_0@PAGE
Lloh12:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_11
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_11:
Lloh13:
	adrp	x8, _MAX_SIMPLE_CHR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MAX_SIMPLE_CHR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tbz	w8, #31, LBB0_13
	b	LBB0_24
LBB0_12:
Lloh16:
	adrp	x8, _UCHAR_MAX@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UCHAR_MAX@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	mov	w9, #-1
	str	w9, [x19, #24]
	tbnz	w8, #31, LBB0_24
LBB0_13:
	sxtw	x8, w8
	b	LBB0_15
LBB0_14:
	mov	x8, #0
LBB0_15:
	mov	w22, #0
	mov	x23, #0
	add	x25, x8, #1
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w22, w22, #1
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x23, x23, #1
	cmp	x25, x23
	b.eq	LBB0_22
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	blr	x21
	cbnz	x0, LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	w22, #1
	b.lt	LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	x1, x23, w22, uxtw
	mov	x0, x19
	mov	x2, x22
	bl	_store_match
	cbz	w0, LBB0_34
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w22, #0
	b	LBB0_17
LBB0_22:
	cmp	w22, #1
	b.lt	LBB0_24
; %bb.23:
	sub	x1, x25, w22, uxtw
	mov	x0, x19
	mov	x2, x22
	bl	_store_match
	cbz	w0, LBB0_34
LBB0_24:
	ldr	w8, [x20]
	cbz	w8, LBB0_28
; %bb.25:
	ldr	w9, [x19, #12]
	cmp	w8, w9
	b.ge	LBB0_30
; %bb.26:
	ldr	x0, [x19, #40]
	lsl	w1, w8, #6
	bl	_realloc
	cbz	x0, LBB0_34
; %bb.27:
	str	x0, [x19, #40]
	ldr	w8, [x19, #8]
	b	LBB0_29
LBB0_28:
	ldr	x0, [x19, #40]
	bl	_free
	mov	w8, #0
	str	xzr, [x19, #40]
LBB0_29:
	str	w8, [x19, #12]
LBB0_30:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_42
; %bb.31:
	ldr	w9, [x19, #20]
	cmp	w8, w9
	b.ge	LBB0_44
; %bb.32:
	ldr	x0, [x19, #32]
	lsl	w1, w8, #7
	bl	_realloc
	cbz	x0, LBB0_34
; %bb.33:
	str	x0, [x19, #32]
	ldr	w8, [x19, #16]
	b	LBB0_43
LBB0_34:
	ldr	x0, [x19, #40]
LBB0_35:
	cbz	x0, LBB0_37
; %bb.36:
	bl	_free
LBB0_37:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_39
; %bb.38:
	bl	_free
LBB0_39:
	mov	x0, x19
	bl	_free
LBB0_40:
	mov	x20, #0
LBB0_41:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_42:
	ldr	x0, [x19, #32]
	bl	_free
	mov	w8, #0
	str	xzr, [x19, #32]
LBB0_43:
	str	w8, [x19, #20]
LBB0_44:
	ldr	x8, [x24]
	str	x8, [x19, #48]
	str	x19, [x24]
	b	LBB0_41
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_12-LBB0_11)>>2
	.byte	(LBB0_12-LBB0_11)>>2
                                        ; -- End function
	.comm	_pg_ctype_cache_list,8,3        ; @pg_ctype_cache_list
	.comm	_pg_regex_collation,8,3         ; @pg_regex_collation
	.comm	_pg_regex_strategy,4,2          ; @pg_regex_strategy
	.comm	_MAX_SIMPLE_CHR,4,2             ; @MAX_SIMPLE_CHR
	.comm	_UCHAR_MAX,4,2                  ; @UCHAR_MAX
	.no_dead_strip	_pg_ctype_get_cache
.subsections_via_symbols
