	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setlocales
_setlocales:                            ## @setlocales
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_locale@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_lc_ctype@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.2:
	movq	%rax, (%r14)
	movq	%rax, %rsi
LBB0_3:
	movq	_lc_collate@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	%rax, (%rcx)
LBB0_5:
	movq	_lc_numeric@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_7
## %bb.6:
	movq	%rax, (%rcx)
LBB0_7:
	movq	_lc_time@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_9
## %bb.8:
	movq	%rax, (%rcx)
LBB0_9:
	movq	_lc_monetary@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_11
## %bb.10:
	movq	%rax, (%rcx)
LBB0_11:
	movq	_lc_messages@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_13
## %bb.12:
	movq	%rax, (%rcx)
LBB0_13:
	movq	_LC_CTYPE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	-40(%rbp), %r12
	movq	%r12, %rdx
	callq	_check_locale_name
	movq	-40(%rbp), %rax
	movq	%rax, (%r14)
	movq	_LC_COLLATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_lc_collate@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r12, %rdx
	callq	_check_locale_name
	movq	-40(%rbp), %rax
	movq	%rax, (%rbx)
	movq	_LC_NUMERIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_lc_numeric@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r12, %rdx
	callq	_check_locale_name
	movq	-40(%rbp), %rax
	movq	%rax, (%rbx)
	movq	_LC_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_lc_time@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r12, %rdx
	callq	_check_locale_name
	movq	-40(%rbp), %rax
	movq	%rax, (%rbx)
	movq	_LC_MONETARY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_lc_monetary@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r12, %rdx
	callq	_check_locale_name
	movq	-40(%rbp), %rax
	movq	%rax, (%rbx)
	movl	(%r15), %edi
	movq	_lc_messages@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r12, %rdx
	callq	_check_locale_name
	movq	-40(%rbp), %rax
	movq	%rax, (%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_locale,8,3                     ## @locale
	.comm	_lc_ctype,8,3                   ## @lc_ctype
	.comm	_lc_collate,8,3                 ## @lc_collate
	.comm	_lc_numeric,8,3                 ## @lc_numeric
	.comm	_lc_time,8,3                    ## @lc_time
	.comm	_lc_monetary,8,3                ## @lc_monetary
	.comm	_lc_messages,8,3                ## @lc_messages
	.comm	_LC_CTYPE,4,2                   ## @LC_CTYPE
	.comm	_LC_COLLATE,4,2                 ## @LC_COLLATE
	.comm	_LC_NUMERIC,4,2                 ## @LC_NUMERIC
	.comm	_LC_TIME,4,2                    ## @LC_TIME
	.comm	_LC_MONETARY,4,2                ## @LC_MONETARY
	.comm	_LC_MESSAGES,4,2                ## @LC_MESSAGES
	.no_dead_strip	_setlocales
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setlocales
_setlocales:                            ; @setlocales
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
Lloh0:
	adrp	x8, _locale@GOTPAGE
Lloh1:
	ldr	x8, [x8, _locale@GOTPAGEOFF]
Lloh2:
	adrp	x24, _lc_ctype@GOTPAGE
Lloh3:
	ldr	x24, [x24, _lc_ctype@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x1, [x24]
Lloh5:
	adrp	x23, _lc_collate@GOTPAGE
Lloh6:
	ldr	x23, [x23, _lc_collate@GOTPAGEOFF]
Lloh7:
	adrp	x22, _lc_numeric@GOTPAGE
Lloh8:
	ldr	x22, [x22, _lc_numeric@GOTPAGEOFF]
Lloh9:
	adrp	x21, _lc_time@GOTPAGE
Lloh10:
	ldr	x21, [x21, _lc_time@GOTPAGEOFF]
Lloh11:
	adrp	x20, _lc_monetary@GOTPAGE
Lloh12:
	ldr	x20, [x20, _lc_monetary@GOTPAGEOFF]
Lloh13:
	adrp	x19, _lc_messages@GOTPAGE
Lloh14:
	ldr	x19, [x19, _lc_messages@GOTPAGEOFF]
	cbz	x8, LBB0_7
; %bb.1:
	cbz	x1, LBB0_8
; %bb.2:
	ldr	x9, [x23]
	cbz	x9, LBB0_9
LBB0_3:
	ldr	x9, [x22]
	cbz	x9, LBB0_10
LBB0_4:
	ldr	x9, [x21]
	cbz	x9, LBB0_11
LBB0_5:
	ldr	x9, [x20]
	cbz	x9, LBB0_12
LBB0_6:
	ldr	x9, [x19]
	cbz	x9, LBB0_13
LBB0_7:
Lloh15:
	adrp	x25, _LC_CTYPE@GOTPAGE
Lloh16:
	ldr	x25, [x25, _LC_CTYPE@GOTPAGEOFF]
	ldr	w0, [x25]
	add	x2, sp, #8
	bl	_check_locale_name
	ldr	x8, [sp, #8]
	str	x8, [x24]
Lloh17:
	adrp	x8, _LC_COLLATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LC_COLLATE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	x1, [x23]
	add	x2, sp, #8
	bl	_check_locale_name
	ldr	x8, [sp, #8]
	str	x8, [x23]
Lloh20:
	adrp	x8, _LC_NUMERIC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LC_NUMERIC@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	x1, [x22]
	add	x2, sp, #8
	bl	_check_locale_name
	ldr	x8, [sp, #8]
	str	x8, [x22]
Lloh23:
	adrp	x8, _LC_TIME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LC_TIME@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	x1, [x21]
	add	x2, sp, #8
	bl	_check_locale_name
	ldr	x8, [sp, #8]
	str	x8, [x21]
Lloh26:
	adrp	x8, _LC_MONETARY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LC_MONETARY@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldr	x1, [x20]
	add	x2, sp, #8
	bl	_check_locale_name
	ldr	x8, [sp, #8]
	str	x8, [x20]
	ldr	w0, [x25]
	ldr	x1, [x19]
	add	x2, sp, #8
	bl	_check_locale_name
	ldr	x8, [sp, #8]
	str	x8, [x19]
	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
	add	sp, sp, #96
	ret
LBB0_8:
	str	x8, [x24]
	mov	x1, x8
	ldr	x9, [x23]
	cbnz	x9, LBB0_3
LBB0_9:
	str	x8, [x23]
	ldr	x9, [x22]
	cbnz	x9, LBB0_4
LBB0_10:
	str	x8, [x22]
	ldr	x9, [x21]
	cbnz	x9, LBB0_5
LBB0_11:
	str	x8, [x21]
	ldr	x9, [x20]
	cbnz	x9, LBB0_6
LBB0_12:
	str	x8, [x20]
	ldr	x9, [x19]
	cbnz	x9, LBB0_7
LBB0_13:
	str	x8, [x19]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_locale,8,3                     ; @locale
	.comm	_lc_ctype,8,3                   ; @lc_ctype
	.comm	_lc_collate,8,3                 ; @lc_collate
	.comm	_lc_numeric,8,3                 ; @lc_numeric
	.comm	_lc_time,8,3                    ; @lc_time
	.comm	_lc_monetary,8,3                ; @lc_monetary
	.comm	_lc_messages,8,3                ; @lc_messages
	.comm	_LC_CTYPE,4,2                   ; @LC_CTYPE
	.comm	_LC_COLLATE,4,2                 ; @LC_COLLATE
	.comm	_LC_NUMERIC,4,2                 ; @LC_NUMERIC
	.comm	_LC_TIME,4,2                    ; @LC_TIME
	.comm	_LC_MONETARY,4,2                ; @LC_MONETARY
	.comm	_LC_MESSAGES,4,2                ; @LC_MESSAGES
	.no_dead_strip	_setlocales
.subsections_via_symbols
