	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___part_load_locale             ## -- Begin function __part_load_locale
	.p2align	4, 0x90
___part_load_locale:                    ## @__part_load_locale
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -84(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
LBB0_5:
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	__PathLocale@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_strcpy
	leaq	L_.str.3(%rip), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_strcat
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strcat
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_strcat
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_strcat
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r12, %rdi
	callq	__open
	movq	__LDP_ERROR@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	js	LBB0_17
## %bb.6:
	movl	%eax, %r14d
	leaq	-80(%rbp), %rsi
	movl	%eax, %edi
	callq	__fstat
	testq	%rax, %rax
	jne	LBB0_23
## %bb.7:
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	%rax, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_21
## %bb.9:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_strcpy
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addq	%r12, %rsi
	movq	-80(%rbp), %rbx
	movl	%r14d, %edi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	callq	__read
	cmpq	-80(%rbp), %rax
	jne	LBB0_14
## %bb.10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	%rdi, %rbx
	cmpb	$10, -1(%rbx)
	jne	LBB0_13
## %bb.11:
	movq	%rbx, %rsi
	callq	_split_lines
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %ebx
	cmpl	%ecx, %eax
	jge	LBB0_24
## %bb.12:
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %ebx
	cmpl	%ecx, %eax
	jge	LBB0_24
LBB0_13:
	movq	_EFTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_14:
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_23
LBB0_15:
	movl	$0, (%r13)
LBB0_16:
	movq	__LDP_CACHE@GOTPCREL(%rip), %r15
LBB0_17:
	movl	(%r15), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_32
## %bb.18:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movl	$1, (%r13)
	jmp	LBB0_16
LBB0_20:
	movq	_EFTYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_21:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_23:
	movq	_errno@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movl	%r14d, %edi
	callq	__close
	movl	%ebx, (%r12)
	jmp	LBB0_17
LBB0_24:
	movl	%r14d, %edi
	callq	__close
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.25:
	callq	_free
LBB0_26:
	movq	16(%rbp), %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_29
## %bb.27:
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	xorl	%ebx, %ebx
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_strlen
	addq	%rax, %r12
	incq	%r12
	movq	%r12, (%r14,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_28
LBB0_29:
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%ecx, %edx
	jge	LBB0_31
## %bb.30:
	movslq	%edx, %rax
	leaq	(%r14,%rax,8), %rdi
	notl	%edx
	addl	%ecx, %edx
	leaq	8(,%rdx,8), %rsi
	callq	___bzero
LBB0_31:
	movl	$1, (%r13)
	movq	__LDP_LOADED@GOTPCREL(%rip), %r15
	jmp	LBB0_17
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.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
	.comm	__PathLocale,8,3                ## @_PathLocale
L_.str.3:                               ## @.str.3
	.asciz	"/"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.comm	__LDP_ERROR,4,2                 ## @_LDP_ERROR
	.comm	_EFTYPE,4,2                     ## @EFTYPE
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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	___part_load_locale             ; -- Begin function __part_load_locale
	.p2align	2
___part_load_locale:                    ; @__part_load_locale
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x21, x6
	mov	x23, x5
	mov	x20, x4
	mov	x25, x3
	mov	x22, x2
	mov	x19, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x26, x9, x8
	mov	sp, x26
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.1:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.2:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_15
; %bb.3:
	ldr	x1, [x22]
	cbz	x1, LBB0_5
; %bb.4:
	mov	x0, x24
	bl	_strcmp
	cbz	x0, LBB0_19
LBB0_5:
	mov	x0, x24
	bl	_strlen
	mov	x27, x0
Lloh14:
	adrp	x8, __PathLocale@GOTPAGE
Lloh15:
	ldr	x8, [x8, __PathLocale@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	mov	x0, x26
	bl	_strcpy
Lloh17:
	adrp	x28, l_.str.3@PAGE
Lloh18:
	add	x28, x28, l_.str.3@PAGEOFF
	mov	x0, x26
	mov	x1, x28
	bl	_strcat
	mov	x0, x26
	mov	x1, x24
	bl	_strcat
	mov	x0, x26
	mov	x1, x28
	bl	_strcat
	mov	x0, x26
	mov	x1, x25
	bl	_strcat
Lloh19:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh23:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x26
	bl	__open
	tbnz	w0, #31, LBB0_24
; %bb.6:
	mov	x26, x0
	sub	x1, x29, #96
	bl	__fstat
Lloh25:
	adrp	x28, _errno@GOTPAGE
Lloh26:
	ldr	x28, [x28, _errno@GOTPAGEOFF]
	cbnz	x0, LBB0_23
; %bb.7:
	ldur	x8, [x29, #-96]
	cbz	x8, LBB0_20
; %bb.8:
	add	x27, x27, #1
	add	x0, x8, x27
	bl	_malloc
	cbz	x0, LBB0_21
; %bb.9:
	mov	x25, x0
	mov	x1, x24
	bl	_strcpy
	add	x24, x25, x27
	ldur	x27, [x29, #-96]
	mov	x0, x26
	mov	x1, x24
	mov	x2, x27
	bl	__read
	ldur	x8, [x29, #-96]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.10:
	add	x1, x24, x27
	ldurb	w8, [x1, #-1]
	cmp	w8, #10
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x24
	bl	_split_lines
	mov	x24, x20
	cmp	w0, w20
	b.ge	LBB0_25
; %bb.12:
	mov	x24, x23
	cmp	w0, w23
	b.ge	LBB0_25
LBB0_13:
Lloh27:
	adrp	x8, _EFTYPE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EFTYPE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x28]
LBB0_14:
	mov	x0, x25
	bl	_free
	b	LBB0_23
LBB0_15:
	str	wzr, [x19]
LBB0_16:
Lloh30:
	adrp	x8, __LDP_CACHE@GOTPAGE
Lloh31:
	ldr	x8, [x8, __LDP_CACHE@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	ldur	x8, [x29, #-88]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.18:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_16
LBB0_20:
Lloh35:
	adrp	x8, _EFTYPE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EFTYPE@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh37:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	str	w8, [x28]
LBB0_23:
	ldr	w19, [x28]
	mov	x0, x26
	bl	__close
	str	w19, [x28]
LBB0_24:
Lloh39:
	adrp	x8, __LDP_ERROR@GOTPAGE
Lloh40:
	ldr	x8, [x8, __LDP_ERROR@GOTPAGEOFF]
	b	LBB0_17
LBB0_25:
	mov	x0, x26
	bl	__close
	ldr	x0, [x22]
	cbz	x0, LBB0_27
; %bb.26:
	bl	_free
LBB0_27:
	str	x25, [x22]
	cmp	w24, #1
	b.lt	LBB0_30
; %bb.28:
	mov	w22, w24
	mov	x23, x21
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_strlen
	add	x8, x0, x25
	add	x25, x8, #1
	str	x25, [x23], #8
	subs	x22, x22, #1
	b.ne	LBB0_29
LBB0_30:
	cmp	w24, w20
	b.ge	LBB0_32
; %bb.31:
	add	x0, x21, w24, sxtw #3
	mvn	w8, w24
	add	w8, w8, w20
	lsl	x8, x8, #3
	add	x1, x8, #8
	bl	_bzero
LBB0_32:
	mov	w8, #1
	str	w8, [x19]
Lloh41:
	adrp	x8, __LDP_LOADED@GOTPAGE
Lloh42:
	ldr	x8, [x8, __LDP_LOADED@GOTPAGEOFF]
	b	LBB0_17
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.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
	.comm	__PathLocale,8,3                ; @_PathLocale
l_.str.3:                               ; @.str.3
	.asciz	"/"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.comm	__LDP_ERROR,4,2                 ; @_LDP_ERROR
	.comm	_EFTYPE,4,2                     ; @EFTYPE
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	__LDP_LOADED,4,2                ; @_LDP_LOADED
.subsections_via_symbols
