	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nlos2_initialize
_nlos2_initialize:                      ## @nlos2_initialize
	.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
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	movq	__nlos2_libdir@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	__nlos2_localealiaspath@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_4:
	movq	__nlos2_localedir@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_5
LBB0_1:
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	movq	_LIBDIR@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_strlen
	cltq
	leaq	(%rbx,%rax), %rdi
	incq	%rdi
	callq	_malloc
	movq	%rax, (%r15)
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	addq	(%r15), %rbx
	movq	(%r12), %r15
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	__nlos2_localealiaspath@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	movq	_LOCALE_ALIAS_PATH@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_strlen
	cltq
	leaq	(%rbx,%rax), %rdi
	incq	%rdi
	callq	_malloc
	movq	%rax, (%r15)
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	addq	(%r15), %rbx
	movq	(%r12), %r15
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	__nlos2_localedir@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	movq	_LOCALEDIR@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_strlen
	cltq
	leaq	(%rbx,%rax), %rdi
	incq	%rdi
	callq	_malloc
	movq	%rax, (%r15)
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	addq	(%r15), %rbx
	movq	(%r12), %r14
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movq	(%r15), %rax
LBB0_5:
	movq	%rax, %rdi
	callq	_strlen
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_8
## %bb.6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_libintl_nl_default_dirname@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__nlos2_localedir@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strcpy                         ## TAILCALL
LBB0_3:
	movq	_LIBDIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_LOCALE_ALIAS_PATH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	__nlos2_localealiaspath@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_LOCALEDIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UNIXROOT"

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

	.comm	__nlos2_libdir,8,3              ## @_nlos2_libdir
	.comm	_LIBDIR,8,3                     ## @LIBDIR
	.comm	__nlos2_localealiaspath,8,3     ## @_nlos2_localealiaspath
	.comm	_LOCALE_ALIAS_PATH,8,3          ## @LOCALE_ALIAS_PATH
	.comm	__nlos2_localedir,8,3           ## @_nlos2_localedir
	.comm	_LOCALEDIR,8,3                  ## @LOCALEDIR
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_libintl_nl_default_dirname,4,2 ## @libintl_nl_default_dirname
	.section	__DATA,__mod_init_func,mod_init_funcs
	.p2align	3
	.quad	_nlos2_initialize
	.no_dead_strip	_nlos2_initialize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nlos2_initialize
_nlos2_initialize:                      ; @nlos2_initialize
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x19, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
Lloh4:
	adrp	x21, __nlos2_libdir@GOTPAGE
Lloh5:
	ldr	x21, [x21, __nlos2_libdir@GOTPAGEOFF]
	str	x0, [x21]
Lloh6:
	adrp	x22, __nlos2_localedir@GOTPAGE
Lloh7:
	ldr	x22, [x22, __nlos2_localedir@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, __nlos2_localealiaspath@GOTPAGE
Lloh9:
	ldr	x8, [x8, __nlos2_localealiaspath@GOTPAGEOFF]
Lloh10:
	str	x0, [x8]
LBB0_2:
	str	x0, [x22]
	b	LBB0_5
LBB0_3:
	cbz	x19, LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
	sxtw	x23, w20
Lloh11:
	adrp	x24, _LIBDIR@GOTPAGE
Lloh12:
	ldr	x24, [x24, _LIBDIR@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_strlen
	add	x8, x23, w0, sxtw
	add	x0, x8, #1
	bl	_malloc
	str	x0, [x21]
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [x21]
	add	x20, x8, x23
	ldr	x21, [x24]
	mov	x0, x21
	bl	_strlen
	add	w2, w0, #1
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
Lloh13:
	adrp	x21, __nlos2_localealiaspath@GOTPAGE
Lloh14:
	ldr	x21, [x21, __nlos2_localealiaspath@GOTPAGEOFF]
	str	xzr, [x21]
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
	sxtw	x23, w20
Lloh15:
	adrp	x24, _LOCALE_ALIAS_PATH@GOTPAGE
Lloh16:
	ldr	x24, [x24, _LOCALE_ALIAS_PATH@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_strlen
	add	x8, x23, w0, sxtw
	add	x0, x8, #1
	bl	_malloc
	str	x0, [x21]
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [x21]
	add	x20, x8, x23
	ldr	x21, [x24]
	mov	x0, x21
	bl	_strlen
	add	w2, w0, #1
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
	str	xzr, [x22]
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
	sxtw	x21, w20
Lloh17:
	adrp	x23, _LOCALEDIR@GOTPAGE
Lloh18:
	ldr	x23, [x23, _LOCALEDIR@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_strlen
	add	x8, x21, w0, sxtw
	add	x0, x8, #1
	bl	_malloc
	str	x0, [x22]
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [x22]
	add	x19, x8, x21
	ldr	x20, [x23]
	mov	x0, x20
	bl	_strlen
	add	w2, w0, #1
	mov	x0, x19
	mov	x1, x20
	bl	_memcpy
	ldr	x0, [x22]
LBB0_5:
	bl	_strlen
Lloh19:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_7
; %bb.6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh22:
	adrp	x8, _libintl_nl_default_dirname@GOTPAGE
Lloh23:
	ldr	x8, [x8, _libintl_nl_default_dirname@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	x1, [x22]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_strcpy
LBB0_8:
Lloh25:
	adrp	x8, _LIBDIR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LIBDIR@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	str	x8, [x21]
Lloh28:
	adrp	x8, _LOCALE_ALIAS_PATH@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LOCALE_ALIAS_PATH@GOTPAGEOFF]
Lloh30:
	adrp	x9, __nlos2_localealiaspath@GOTPAGE
Lloh31:
	ldr	x9, [x9, __nlos2_localealiaspath@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
Lloh33:
	str	x8, [x9]
Lloh34:
	adrp	x8, _LOCALEDIR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _LOCALEDIR@GOTPAGEOFF]
Lloh36:
	ldr	x0, [x8]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh32
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UNIXROOT"

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

	.comm	__nlos2_libdir,8,3              ; @_nlos2_libdir
	.comm	_LIBDIR,8,3                     ; @LIBDIR
	.comm	__nlos2_localealiaspath,8,3     ; @_nlos2_localealiaspath
	.comm	_LOCALE_ALIAS_PATH,8,3          ; @LOCALE_ALIAS_PATH
	.comm	__nlos2_localedir,8,3           ; @_nlos2_localedir
	.comm	_LOCALEDIR,8,3                  ; @LOCALEDIR
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_libintl_nl_default_dirname,4,2 ; @libintl_nl_default_dirname
	.section	__DATA,__mod_init_func,mod_init_funcs
	.p2align	3
	.quad	_nlos2_initialize
	.no_dead_strip	_nlos2_initialize
.subsections_via_symbols
