	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___collate_load_tables_l        ## -- Begin function __collate_load_tables_l
	.p2align	4, 0x90
___collate_load_tables_l:               ## @__collate_load_tables_l
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	$1, (%rsi)
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	movq	__LDP_CACHE@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_41
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_41
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_41
## %bb.3:
	movq	__PathLocale@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rcx
	callq	_asprintf
	movq	__LDP_ERROR@GOTPCREL(%rip), %r12
	cmpl	$-1, %eax
	je	LBB0_41
## %bb.4:
	movq	-56(%rbp), %rdi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	__open
	movl	%eax, %ebx
	movq	-56(%rbp), %rdi
	callq	_free
	testl	%ebx, %ebx
	js	LBB0_41
## %bb.5:
	leaq	-48(%rbp), %rsi
	movl	%ebx, %edi
	callq	__fstat
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	movslq	-48(%rbp), %rsi
	movq	_COLLATE_STR_LEN@GOTPCREL(%rip), %r13
	movslq	(%r13), %rax
	addq	$8, %rax
	cmpq	%rsi, %rax
	jbe	LBB0_9
## %bb.8:
	movl	%ebx, %edi
	callq	__close
	jmp	LBB0_28
LBB0_6:
	movl	%ebx, %edi
	callq	__close
	jmp	LBB0_41
LBB0_9:
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_mmap
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	__close
	testq	%r14, %r14
	je	LBB0_41
## %bb.10:
	movq	_COLLATE_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
LBB0_27:
	callq	_munmap
LBB0_28:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_41:
	movl	(%r12), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movslq	(%r13), %rax
	movl	(%r14,%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_11
## %bb.13:
	movq	_COLL_WEIGHTS_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jge	LBB0_11
## %bb.14:
	leaq	(%r14,%rax), %rdx
	movl	4(%rdx), %r10d
	testl	%r10d, %r10d
	js	LBB0_11
## %bb.15:
	leaq	(%r14,%rax), %r9
	addq	$24, %r9
	movq	_UCHAR_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %r11
	incq	%r11
	movl	8(%rdx), %r8d
	leal	(%r11,%r10), %ecx
	addl	%r8d, %ecx
	shll	$2, %ecx
	movq	16(%rdx), %rsi
	cmpl	$8, %ebx
	jae	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_17:
	movl	%ebx, %eax
	andl	$-8, %eax
	movd	%ecx, %xmm0
	leaq	-8(%rax), %rcx
	movq	%rcx, %r13
	shrq	$3, %r13
	incq	%r13
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.19:
	movq	%r13, %rcx
	andq	$-2, %rcx
	pxor	%xmm2, %xmm2
	xorl	%edi, %edi
	movdqa	%xmm0, %xmm3
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rdi,4), %xmm4
	movdqu	16(%rsi,%rdi,4), %xmm5
	movdqu	32(%rsi,%rdi,4), %xmm0
	movdqu	48(%rsi,%rdi,4), %xmm1
	pslld	$2, %xmm4
	paddd	%xmm3, %xmm4
	pslld	$2, %xmm5
	paddd	%xmm2, %xmm5
	pslld	$2, %xmm0
	paddd	%xmm4, %xmm0
	pslld	$2, %xmm1
	paddd	%xmm5, %xmm1
	addq	$16, %rdi
	movdqa	%xmm0, %xmm3
	movdqa	%xmm1, %xmm2
	addq	$-2, %rcx
	jne	LBB0_20
	jmp	LBB0_21
LBB0_18:
	pxor	%xmm1, %xmm1
	xorl	%edi, %edi
LBB0_21:
	testb	$1, %r13b
	je	LBB0_23
## %bb.22:
	movdqu	(%rsi,%rdi,4), %xmm2
	movdqu	16(%rsi,%rdi,4), %xmm3
	pslld	$2, %xmm2
	paddd	%xmm2, %xmm0
	pslld	$2, %xmm3
	paddd	%xmm3, %xmm1
LBB0_23:
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %ecx
	cmpq	%rbx, %rax
	je	LBB0_25
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %edi
	leal	(%rcx,%rdi,4), %ecx
	incq	%rax
	cmpq	%rax, %rbx
	jne	LBB0_24
LBB0_25:
	movslq	%ecx, %rax
	movslq	-48(%rbp), %rsi
	movq	%r14, %rcx
	subq	%r9, %rcx
	addq	%rsi, %rcx
	cmpq	%rax, %rcx
	jne	LBB0_26
## %bb.29:
	leaq	(,%r10,4), %rcx
	movq	%rdx, 40(%r15)
	movq	%r9, 32(%r15)
	leaq	(%r9,%r11,4), %rax
	xorl	%esi, %esi
	jmp	LBB0_30
LBB0_32:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	$0, (%rdi,%rsi,8)
LBB0_33:                                ##   in Loop: Header=BB0_30 Depth=1
	incq	%rsi
	cmpq	%rsi, %rbx
	je	LBB0_34
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rdx), %rdi
	cmpl	$0, (%rdi,%rsi,4)
	movq	24(%r15), %rdi
	jle	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%rax, (%rdi,%rsi,8)
	movq	16(%rdx), %rdi
	movslq	(%rdi,%rsi,4), %rdi
	leaq	(%rax,%rdi,4), %rax
	jmp	LBB0_33
LBB0_26:
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_27
LBB0_34:
	testl	%r10d, %r10d
	jle	LBB0_36
## %bb.35:
	movq	%rax, 16(%r15)
	addq	%rcx, %rax
	jmp	LBB0_37
LBB0_36:
	movq	$0, 16(%r15)
LBB0_37:
	testl	%r8d, %r8d
	jle	LBB0_39
## %bb.38:
	movq	%rax, 8(%r15)
	jmp	LBB0_40
LBB0_39:
	movq	$0, 8(%r15)
LBB0_40:
	movl	$0, (%r15)
	movq	__LDP_LOADED@GOTPCREL(%rip), %r12
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"C"

L_.str.1:                               ## @.str.1
	.asciz	"POSIX"

L_.str.2:                               ## @.str.2
	.asciz	"C."

	.comm	__LDP_CACHE,4,2                 ## @_LDP_CACHE
L_.str.3:                               ## @.str.3
	.asciz	"%s/%s/LC_COLLATE"

	.comm	__PathLocale,4,2                ## @_PathLocale
	.comm	__LDP_ERROR,4,2                 ## @_LDP_ERROR
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_COLLATE_STR_LEN,4,2            ## @COLLATE_STR_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.comm	_COLLATE_VERSION,8,3            ## @COLLATE_VERSION
	.comm	_COLL_WEIGHTS_MAX,4,2           ## @COLL_WEIGHTS_MAX
	.comm	_UCHAR_MAX,4,2                  ## @UCHAR_MAX
	.comm	__LDP_LOADED,4,2                ## @_LDP_LOADED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___collate_load_tables_l        ; -- Begin function __collate_load_tables_l
	.p2align	2
___collate_load_tables_l:               ; @__collate_load_tables_l
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	w8, #1
	str	w8, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_8
; %bb.3:
Lloh6:
	adrp	x8, __PathLocale@GOTPAGE
Lloh7:
	ldr	x8, [x8, __PathLocale@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	x3, x20
	bl	_asprintf
	cmn	w0, #1
	b.eq	LBB0_19
; %bb.4:
	ldr	x0, [sp, #8]
Lloh11:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	__open
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_free
	tbnz	w21, #31, LBB0_19
; %bb.5:
	mov	x1, sp
	mov	x0, x21
	bl	__fstat
	tbnz	x0, #63, LBB0_9
; %bb.6:
	ldrsw	x1, [sp]
Lloh14:
	adrp	x22, _COLLATE_STR_LEN@GOTPAGE
Lloh15:
	ldr	x22, [x22, _COLLATE_STR_LEN@GOTPAGEOFF]
	ldrsw	x8, [x22]
	add	x8, x8, #8
	cmp	x8, x1
	b.ls	LBB0_10
; %bb.7:
	mov	x0, x21
	bl	__close
	b	LBB0_18
LBB0_8:
Lloh16:
	adrp	x8, __LDP_CACHE@GOTPAGE
Lloh17:
	ldr	x8, [x8, __LDP_CACHE@GOTPAGEOFF]
	b	LBB0_20
LBB0_9:
	mov	x0, x21
	bl	__close
	b	LBB0_19
LBB0_10:
Lloh18:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x8, _MAP_PRIVATE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MAP_PRIVATE@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	mov	x0, #0
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x4, x21
	mov	w5, #0
	bl	_mmap
	mov	x20, x0
	mov	x0, x21
	bl	__close
	cbz	x20, LBB0_19
; %bb.11:
Lloh24:
	adrp	x8, _COLLATE_VERSION@GOTPAGE
Lloh25:
	ldr	x8, [x8, _COLLATE_VERSION@GOTPAGEOFF]
Lloh26:
	ldr	x1, [x8]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_strncmp
	cbnz	x0, LBB0_16
; %bb.12:
	ldrsw	x8, [x22]
	add	x8, x20, x8
	mov	x12, x8
	ldr	w9, [x12], #24
Lloh27:
	adrp	x10, _COLL_WEIGHTS_MAX@GOTPAGE
Lloh28:
	ldr	x10, [x10, _COLL_WEIGHTS_MAX@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	cmp	w9, #1
	ccmp	w9, w10, #0, ge
	b.ge	LBB0_16
; %bb.13:
	ldr	w11, [x8, #4]
	tbnz	w11, #31, LBB0_16
; %bb.14:
Lloh30:
	adrp	x10, _UCHAR_MAX@GOTPAGE
Lloh31:
	ldr	x10, [x10, _UCHAR_MAX@GOTPAGEOFF]
Lloh32:
	ldrsw	x10, [x10]
	add	x13, x10, #1
	ldr	w10, [x8, #8]
	add	w14, w13, w11
	add	w14, w14, w10
	lsl	w16, w14, #2
	ldr	x14, [x8, #16]
	cmp	w9, #16
	b.hs	LBB0_21
; %bb.15:
	mov	x15, #0
	b	LBB0_24
LBB0_16:
	ldr	w1, [sp]
	mov	x0, x20
LBB0_17:
	bl	_munmap
LBB0_18:
Lloh33:
	adrp	x8, _EINVAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _errno@GOTPAGE
Lloh37:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh38:
	str	w8, [x9]
LBB0_19:
Lloh39:
	adrp	x8, __LDP_ERROR@GOTPAGE
Lloh40:
	ldr	x8, [x8, __LDP_ERROR@GOTPAGEOFF]
LBB0_20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_21:
	and	x15, x9, #0xfffffff0
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w16
	add	x16, x14, #32
	mov	x17, x15
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x16, #-32]
	ldp	q6, q7, [x16], #64
	shl.4s	v4, v4, #2
	shl.4s	v5, v5, #2
	shl.4s	v6, v6, #2
	shl.4s	v7, v7, #2
	add.4s	v1, v4, v1
	add.4s	v0, v5, v0
	add.4s	v2, v6, v2
	add.4s	v3, v7, v3
	subs	x17, x17, #16
	b.ne	LBB0_22
; %bb.23:
	add.4s	v0, v0, v1
	add.4s	v0, v2, v0
	add.4s	v0, v3, v0
	addv.4s	s0, v0
	fmov	w16, s0
	cmp	x15, x9
	b.eq	LBB0_26
LBB0_24:
	add	x14, x14, x15, lsl #2
	sub	x15, x9, x15
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w17, [x14], #4
	add	w16, w16, w17, lsl #2
	subs	x15, x15, #1
	b.ne	LBB0_25
LBB0_26:
	ldrsw	x1, [sp]
	sub	x14, x20, x12
	add	x14, x14, x1
	cmp	x14, w16, sxtw
	b.ne	LBB0_32
; %bb.27:
	mov	x15, #0
	lsl	x14, x11, #2
	stp	x12, x8, [x19, #32]
	add	x12, x12, x13, lsl #2
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=1
	str	xzr, [x13, x15, lsl #3]
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	x15, x15, #1
	cmp	x9, x15
	b.eq	LBB0_33
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x8, #16]
	ldr	w16, [x13, x15, lsl #2]
	ldr	x13, [x19, #24]
	cmp	w16, #1
	b.lt	LBB0_28
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	str	x12, [x13, x15, lsl #3]
	ldr	x13, [x8, #16]
	ldrsw	x13, [x13, x15, lsl #2]
	add	x12, x12, x13, lsl #2
	b	LBB0_29
LBB0_32:
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	b	LBB0_17
LBB0_33:
	cmp	w11, #1
	b.lt	LBB0_35
; %bb.34:
	str	x12, [x19, #16]
	add	x12, x12, x14
	b	LBB0_36
LBB0_35:
	str	xzr, [x19, #16]
LBB0_36:
	cmp	w10, #1
	b.lt	LBB0_38
; %bb.37:
	str	x12, [x19, #8]
	b	LBB0_39
LBB0_38:
	str	xzr, [x19, #8]
LBB0_39:
	str	wzr, [x19]
Lloh41:
	adrp	x8, __LDP_LOADED@GOTPAGE
Lloh42:
	ldr	x8, [x8, __LDP_LOADED@GOTPAGEOFF]
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"C"

l_.str.1:                               ; @.str.1
	.asciz	"POSIX"

l_.str.2:                               ; @.str.2
	.asciz	"C."

	.comm	__LDP_CACHE,4,2                 ; @_LDP_CACHE
l_.str.3:                               ; @.str.3
	.asciz	"%s/%s/LC_COLLATE"

	.comm	__PathLocale,4,2                ; @_PathLocale
	.comm	__LDP_ERROR,4,2                 ; @_LDP_ERROR
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_COLLATE_STR_LEN,4,2            ; @COLLATE_STR_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.comm	_COLLATE_VERSION,8,3            ; @COLLATE_VERSION
	.comm	_COLL_WEIGHTS_MAX,4,2           ; @COLL_WEIGHTS_MAX
	.comm	_UCHAR_MAX,4,2                  ; @UCHAR_MAX
	.comm	__LDP_LOADED,4,2                ; @_LDP_LOADED
.subsections_via_symbols
