	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function currentlocale
_currentlocale:                         ## @currentlocale
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_current_locale_string@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_current_categories@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	8(%rax), %rsi
	callq	_strcpy
	movq	__LC_LAST@GOTPCREL(%rip), %r13
	cmpl	$3, (%r13)
	jl	LBB0_7
## %bb.1:
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	8(%rax), %rdi
	movq	(%rax,%rbx,8), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
	jmp	LBB0_7
LBB0_4:
	cmpl	$3, (%r13)
	jl	LBB0_7
## %bb.5:
	movl	$2, %ebx
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	%r14, %rsi
	callq	_strcat
	movq	(%r15), %rdi
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	callq	_strcat
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movq	(%r15), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_locale_string,8,3      ## @current_locale_string
	.comm	_current_categories,8,3         ## @current_categories
	.comm	__LC_LAST,4,2                   ## @_LC_LAST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

	.no_dead_strip	_currentlocale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function currentlocale
_currentlocale:                         ; @currentlocale
	.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	x20, _current_locale_string@GOTPAGE
Lloh1:
	ldr	x20, [x20, _current_locale_string@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh2:
	adrp	x21, _current_categories@GOTPAGE
Lloh3:
	ldr	x21, [x21, _current_categories@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x1, [x8, #8]
	bl	_strcpy
Lloh4:
	adrp	x22, __LC_LAST@GOTPAGE
Lloh5:
	ldr	x22, [x22, __LC_LAST@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #3
	b.lt	LBB0_7
; %bb.1:
	mov	w19, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x0, [x8, #8]
	ldr	x1, [x8, x19, lsl #3]
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x22]
	cmp	x19, x8
	b.lt	LBB0_2
	b	LBB0_7
LBB0_4:
	ldr	w8, [x22]
	cmp	w8, #3
	b.lt	LBB0_7
; %bb.5:
	mov	w23, #2
Lloh6:
	adrp	x19, l_.str@PAGE
Lloh7:
	add	x19, x19, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	mov	x1, x19
	bl	_strcat
	ldr	x0, [x20]
	ldr	x8, [x21]
	ldr	x1, [x8, x23, lsl #3]
	bl	_strcat
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_6
LBB0_7:
	ldr	x0, [x20]
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_current_locale_string,8,3      ; @current_locale_string
	.comm	_current_categories,8,3         ; @current_categories
	.comm	__LC_LAST,4,2                   ; @_LC_LAST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

	.no_dead_strip	_currentlocale
.subsections_via_symbols
