	.file	"extr_gettext.c_get_preferred_languages.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"LANGUAGE"
.LC1:
	.string	"C"
.LC2:
	.string	"POSIX"
	.text
	.p2align 4
	.globl	get_preferred_languages
	.type	get_preferred_languages, @function
get_preferred_languages:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdi, .LC0[rip]
	call	getenv@PLT
	test	rax, rax
	je	.L2
	cmp	BYTE PTR [rax], 0
	mov	r12, rax
	jne	.L1
.L2:
	mov	edi, DWORD PTR LC_MESSAGES[rip]
	xor	esi, esi
	call	setlocale@PLT
	mov	r12, rax
	test	rax, rax
	je	.L5
	cmp	BYTE PTR [rax], 0
	je	.L5
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	rax, rax
	je	.L5
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	jne	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	xor	r12d, r12d
.L1:
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_preferred_languages, .-get_preferred_languages
	.comm	LC_MESSAGES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_gettext.c_get_preferred_languages.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"LANGUAGE\000"
	.align	2
.LC1:
	.ascii	"POSIX\000"
	.text
	.align	2
	.global	get_preferred_languages
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_preferred_languages, %function
get_preferred_languages:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r0, .L17
	bl	getenv
	subs	r4, r0, #0
	beq	.L2
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L1
.L2:
	ldr	r3, .L17+4
	mov	r1, #0
	ldr	r0, [r3]
	bl	setlocale
	subs	r4, r0, #0
	beq	.L1
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	cmp	r3, #67
	bne	.L8
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
.L6:
	mov	r4, r3
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L8:
	mov	r0, r4
	ldr	r1, .L17+8
	bl	strcmp
	cmp	r0, #0
	moveq	r4, #0
	mov	r0, r4
	pop	{r4, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	LC_MESSAGES
	.word	.LC1
	.size	get_preferred_languages, .-get_preferred_languages
	.comm	LC_MESSAGES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
