	.file	"extr_credential-cache--daemon.c_init_socket_directory.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unable to create directories for '%s'"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"unable to mkdir '%s'"
	.text
	.p2align 4
	.type	init_socket_directory, @function
init_socket_directory:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	xstrdup@PLT
	mov	rdi, rax
	mov	r12, rax
	call	dirname@PLT
	lea	rsi, 4[rsp]
	mov	rdi, rax
	mov	rbp, rax
	call	stat@PLT
	test	eax, eax
	jne	.L2
	test	BYTE PTR 4[rsp], 63
	jne	.L10
.L4:
	mov	rdi, rbp
	call	chdir@PLT
	mov	rdi, r12
	call	free@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR permissions_advice[rip]
	call	_@PLT
	mov	rsi, rbp
	mov	edi, eax
	call	die@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, rbp
	call	safe_create_leading_directories_const@PLT
	test	rax, rax
	js	.L12
.L5:
	mov	esi, 448
	mov	rdi, rbp
	call	mkdir@PLT
	test	rax, rax
	jns	.L4
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	call	die_errno@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	die_errno@PLT
	jmp	.L5
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	init_socket_directory, .-init_socket_directory
	.comm	permissions_advice,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_credential-cache--daemon.c_init_socket_directory.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unable to create directories for '%s'\000"
	.align	2
.LC1:
	.ascii	"unable to mkdir '%s'\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_socket_directory, %function
init_socket_directory:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L13
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	xstrdup
	mov	r5, r0
	bl	dirname
	mov	r1, sp
	mov	r4, r0
	bl	stat
	cmp	r0, #0
	bne	.L2
	ldr	r3, [sp]
	tst	r3, #63
	bne	.L10
.L4:
	mov	r0, r4
	bl	chdir
	mov	r0, r5
	bl	free
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L10:
	ldr	r3, .L13+4
	ldr	r0, [r3]
	bl	_
	mov	r1, r4
	bl	die
	b	.L4
.L2:
	mov	r0, r4
	bl	safe_create_leading_directories_const
	cmp	r0, #0
	blt	.L12
.L5:
	mov	r1, #448
	mov	r0, r4
	bl	mkdir
	cmp	r0, #0
	bge	.L4
	mov	r1, r4
	ldr	r0, .L13+8
	bl	die_errno
	b	.L4
.L12:
	mov	r1, r4
	ldr	r0, .L13+12
	bl	die_errno
	b	.L5
.L11:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	permissions_advice
	.word	.LC1
	.word	.LC0
	.size	init_socket_directory, .-init_socket_directory
	.comm	permissions_advice,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
