	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_gettext_charset
_init_gettext_charset:                  ## @init_gettext_charset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_LC_CTYPE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_setlocale
	xorl	%eax, %eax
	callq	_locale_charset
	movq	_charset@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_bind_textdomain_codeset
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rdx
	movl	$13, %esi
	callq	_test_vsnprintf
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_setlocale                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LC_CTYPE,4,2                   ## @LC_CTYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_charset,4,2                    ## @charset
L_.str.1:                               ## @.str.1
	.asciz	"%.*s"

L_.str.2:                               ## @.str.2
	.asciz	"David_K\345gedal"

L_.str.3:                               ## @.str.3
	.asciz	"C"

	.no_dead_strip	_init_gettext_charset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_gettext_charset
_init_gettext_charset:                  ; @init_gettext_charset
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _LC_CTYPE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LC_CTYPE@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_setlocale
	bl	_locale_charset
	mov	x1, x0
Lloh4:
	adrp	x8, _charset@GOTPAGE
Lloh5:
	ldr	x8, [x8, _charset@GOTPAGEOFF]
Lloh6:
	str	w0, [x8]
	mov	x0, x19
	bl	_bind_textdomain_codeset
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #13
	bl	_test_vsnprintf
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x20]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_setlocale
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_LC_CTYPE,4,2                   ; @LC_CTYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_charset,4,2                    ; @charset
l_.str.1:                               ; @.str.1
	.asciz	"%.*s"

l_.str.2:                               ; @.str.2
	.asciz	"David_K\345gedal"

l_.str.3:                               ; @.str.3
	.asciz	"C"

	.no_dead_strip	_init_gettext_charset
.subsections_via_symbols
