	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gettext_width                  ## -- Begin function gettext_width
	.p2align	4, 0x90
_gettext_width:                         ## @gettext_width
	.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	%rdi, %rbx
	movl	_gettext_width.is_utf8(%rip), %eax
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_is_utf8_locale
	movl	%eax, _gettext_width.is_utf8(%rip)
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%rbp
	jmp	_utf8_strwidth                  ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%rbp
	jmp	_strlen                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @gettext_width.is_utf8
_gettext_width.is_utf8:
	.long	4294967295                      ## 0xffffffff

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gettext_width                  ; -- Begin function gettext_width
	.p2align	2
_gettext_width:                         ; @gettext_width
	.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
	adrp	x20, _gettext_width.is_utf8@PAGE
	ldr	w0, [x20, _gettext_width.is_utf8@PAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	cbz	w0, LBB0_4
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_utf8_strwidth
LBB0_3:
	bl	_is_utf8_locale
	str	w0, [x20, _gettext_width.is_utf8@PAGEOFF]
	cbnz	w0, LBB0_2
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_strlen
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @gettext_width.is_utf8
_gettext_width.is_utf8:
	.long	4294967295                      ; 0xffffffff

.subsections_via_symbols
