	.file	"extr_args.c_set_profile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"HOME"
.LC1:
	.string	"%s/%s"
.LC2:
	.string	"%s"
.LC3:
	.string	"r"
.LC4:
	.string	"Command line"
	.text
	.p2align 4
	.globl	set_profile
	.type	set_profile, @function
set_profile:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 16
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR PATH_MAX[rip]
	mov	rcx, rsp
	mov	r12, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L21:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L21
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L22
.L4:
	mov	r13, rsp
	test	rdi, rdi
	je	.L23
	lea	rcx, 2[rdi]
	lea	rdx, .LC2[rip]
	mov	esi, r12d
	xor	eax, eax
	mov	rdi, rsp
	call	snprintf@PLT
.L6:
	lea	rsi, .LC3[rip]
	mov	rdi, r13
	mov	QWORD PTR option_source[rip], r13
	call	fopen@PLT
	mov	r12, rax
	test	rax, rax
	je	.L7
	mov	rdi, rax
	call	scan_profile@PLT
	mov	rdi, r12
	call	fclose@PLT
.L7:
	lea	rdi, prof.1938[rip]
	lea	rsi, .LC3[rip]
	mov	QWORD PTR option_source[rip], rdi
	call	fopen@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
	mov	rdi, rax
	call	scan_profile@PLT
	mov	rdi, r12
	call	fclose@PLT
.L8:
	lea	rax, .LC4[rip]
	mov	QWORD PTR option_source[rip], rax
	mov	rax, QWORD PTR -24[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	getenv@PLT
	lea	r8, prof.1938[rip]
	mov	esi, r12d
	mov	rdi, rsp
	mov	rcx, rax
	lea	rdx, .LC1[rip]
	xor	eax, eax
	call	snprintf@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	set_profile, .-set_profile
	.data
	.align 8
	.type	prof.1938, @object
	.size	prof.1938, 12
prof.1938:
	.string	".indent.pro"
	.comm	option_source,8,8
	.comm	PATH_MAX,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_args.c_set_profile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"HOME\000"
	.align	2
.LC1:
	.ascii	"%s/%s\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"Command line\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	set_profile
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_profile, %function
set_profile:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #20
	ldr	r3, .L17
	cmp	r0, #0
	ldr	r5, [r3]
	ldr	r3, .L17+4
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	add	r3, r5, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	add	r4, sp, #8
	beq	.L15
	add	r3, r0, #2
	mov	r1, r5
	mov	r0, r4
	ldr	r2, .L17+8
	bl	snprintf
	ldr	r6, .L17+12
.L3:
	ldr	r5, .L17+16
	mov	r0, r4
	ldr	r1, .L17+20
	str	r4, [r5]
	bl	fopen
	subs	r4, r0, #0
	beq	.L4
	bl	scan_profile
	mov	r0, r4
	bl	fclose
.L4:
	ldr	r1, .L17+20
	ldr	r0, .L17+12
	str	r6, [r5]
	bl	fopen
	subs	r4, r0, #0
	beq	.L5
	bl	scan_profile
	mov	r0, r4
	bl	fclose
.L5:
	ldr	r3, .L17+24
	str	r3, [r5]
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L15:
	ldr	r0, .L17+28
	bl	getenv
	ldr	r6, .L17+12
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	ldr	r2, .L17+32
	str	r6, [sp]
	bl	snprintf
	b	.L3
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	PATH_MAX
	.word	.LC5
	.word	.LC2
	.word	.LANCHOR0
	.word	option_source
	.word	.LC3
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.size	set_profile, .-set_profile
	.comm	option_source,4,4
	.comm	PATH_MAX,4,4
	.data
	.align	2
	.set	.LANCHOR0,. + 0
	.type	prof.4222, %object
	.size	prof.4222, 12
prof.4222:
	.ascii	".indent.pro\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
