	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___set_thread_rune_locale       ## -- Begin function __set_thread_rune_locale
	.p2align	4, 0x90
___set_thread_rune_locale:              ## @__set_thread_rune_locale
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_LC_GLOBAL_LOCALE@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	je	LBB0_3
## %bb.4:
	callq	_XLOCALE_CTYPE
	movq	(%rax), %rax
	jmp	LBB0_5
LBB0_1:
	movq	__DefaultRuneLocale@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movq	__ThreadRuneLocale@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__DefaultRuneLocale,4,2         ## @_DefaultRuneLocale
	.comm	__ThreadRuneLocale,8,3          ## @_ThreadRuneLocale
	.comm	_LC_GLOBAL_LOCALE,8,3           ## @LC_GLOBAL_LOCALE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___set_thread_rune_locale       ; -- Begin function __set_thread_rune_locale
	.p2align	2
___set_thread_rune_locale:              ; @__set_thread_rune_locale
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _LC_GLOBAL_LOCALE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LC_GLOBAL_LOCALE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_4
; %bb.2:
	bl	_XLOCALE_CTYPE
	ldr	x8, [x0]
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, __DefaultRuneLocale@GOTPAGE
Lloh4:
	ldr	x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	x8, #0
LBB0_5:
Lloh5:
	adrp	x9, __ThreadRuneLocale@GOTPAGE
Lloh6:
	ldr	x9, [x9, __ThreadRuneLocale@GOTPAGEOFF]
Lloh7:
	str	x8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	__DefaultRuneLocale,4,2         ; @_DefaultRuneLocale
	.comm	__ThreadRuneLocale,8,3          ; @_ThreadRuneLocale
	.comm	_LC_GLOBAL_LOCALE,8,3           ; @LC_GLOBAL_LOCALE
.subsections_via_symbols
