	.file	"extr_dirs.c_config_GetSysPath.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"locale"
.LC1:
	.string	"%s/%s"
	.text
	.p2align 4
	.globl	config_GetSysPath
	.type	config_GetSysPath, @function
config_GetSysPath:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	edi, 131
	je	.L2
	jg	.L3
	xor	r12d, r12d
	cmp	edi, 128
	je	.L4
	sub	edi, 129
	cmp	edi, 1
	jbe	.L20
.L5:
	xor	eax, eax
	xor	r12d, r12d
	call	vlc_assert_unreachable@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	test	r13, r13
	je	.L1
	xor	edi, edi
	test	r12, r12
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L21
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	edi, 132
	jne	.L5
	lea	rsi, .LC0[rip]
	mov	edi, 131
	call	config_GetSysPath
	mov	r12, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L20:
	call	config_GetLibDir@PLT
	mov	r12, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, rsp
	mov	rcx, r13
	lea	rsi, .LC1[rip]
	mov	rdx, r12
	call	asprintf@PLT
	xor	edi, edi
	cmp	eax, -1
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L8
	mov	QWORD PTR [rsp], 0
.L8:
	mov	rdi, r12
	call	free@PLT
	mov	r12, QWORD PTR [rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	call	config_GetDataDir@PLT
	mov	r12, rax
	jmp	.L4
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	config_GetSysPath, .-config_GetSysPath
	.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_dirs.c_config_GetSysPath.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"locale\000"
	.align	2
.LC1:
	.ascii	"%s/%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	config_GetSysPath
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_GetSysPath, %function
config_GetSysPath:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L21
	sub	sp, sp, #8
	sub	r0, r0, #128
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	cmp	r0, #4
	ldrls	pc, [pc, r0, asl #2]
	b	.L2
.L4:
	.word	.L11
	.word	.L6
	.word	.L6
	.word	.L5
	.word	.L3
.L6:
	bl	config_GetLibDir
	mov	r4, r0
.L7:
	cmp	r5, #0
	beq	.L1
	clz	r0, r4
	lsr	r0, r0, #5
	bl	unlikely
	subs	r6, r0, #0
	bne	.L1
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L21+4
	mov	r0, sp
	bl	asprintf
	cmn	r0, #1
	movne	r0, #0
	moveq	r0, #1
	bl	unlikely
	cmp	r0, #0
	mov	r0, r4
	strne	r6, [sp]
	bl	free
	ldr	r4, [sp]
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	mov	r4, #0
	b	.L7
.L3:
	mov	r0, #131
	ldr	r1, .L21+8
	bl	config_GetSysPath
	mov	r4, r0
	b	.L7
.L5:
	bl	config_GetDataDir
	mov	r4, r0
	b	.L7
.L20:
	bl	__stack_chk_fail
.L2:
	bl	vlc_assert_unreachable
	mov	r4, #0
	b	.L7
.L22:
	.align	2
.L21:
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	config_GetSysPath, .-config_GetSysPath
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
