	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_key
_init_key:                              ## @init_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_xlocale_release@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_locale_info_key@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_pthread_key_create
	movl	(%rbx), %edi
	movl	$42, %esi
	callq	_pthread_setspecific
	movl	(%rbx), %edi
	callq	_pthread_getspecific
	cmpq	$42, %rax
	je	LBB0_1
## %bb.2:
	movq	_fake_tls@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_3
LBB0_1:
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_pthread_setspecific
LBB0_3:
	movq	___has_thread_locale@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___detect_path_locale           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_locale_info_key,4,2            ## @locale_info_key
	.comm	_xlocale_release,4,2            ## @xlocale_release
	.comm	_fake_tls,4,2                   ## @fake_tls
	.comm	___has_thread_locale,4,2        ## @__has_thread_locale
	.no_dead_strip	_init_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_key
_init_key:                              ; @init_key
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _xlocale_release@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xlocale_release@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x19, _locale_info_key@GOTPAGE
Lloh4:
	ldr	x19, [x19, _locale_info_key@GOTPAGEOFF]
	mov	x0, x19
	bl	_pthread_key_create
	ldr	w0, [x19]
	mov	w1, #42
	bl	_pthread_setspecific
	ldr	w0, [x19]
	bl	_pthread_getspecific
	cmp	x0, #42
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _fake_tls@GOTPAGE
Lloh6:
	ldr	x8, [x8, _fake_tls@GOTPAGEOFF]
	mov	w9, #1
Lloh7:
	str	w9, [x8]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19]
	mov	x1, #0
	bl	_pthread_setspecific
LBB0_3:
Lloh8:
	adrp	x8, ___has_thread_locale@GOTPAGE
Lloh9:
	ldr	x8, [x8, ___has_thread_locale@GOTPAGEOFF]
	mov	w9, #1
Lloh10:
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___detect_path_locale
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_locale_info_key,4,2            ; @locale_info_key
	.comm	_xlocale_release,4,2            ; @xlocale_release
	.comm	_fake_tls,4,2                   ; @fake_tls
	.comm	___has_thread_locale,4,2        ; @__has_thread_locale
	.no_dead_strip	_init_key
.subsections_via_symbols
