	.file	"extr_init.c_add_session.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"insert %d: %s"
	.text
	.p2align 4
	.type	add_session, @function
add_session:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 72
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rdi
	lea	rax, 8[rsp]
	lea	rdx, 32[rsp]
	lea	rsi, 16[rsp]
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rcx
	xor	ecx, ecx
	mov	QWORD PTR 40[rsp], rax
	mov	rax, QWORD PTR session_db[rip]
	mov	QWORD PTR 24[rsp], rdi
	mov	DWORD PTR 16[rsp], 8
	mov	rdi, rax
	mov	DWORD PTR 32[rsp], 8
	call	[QWORD PTR [rax]]
	test	rax, rax
	jne	.L9
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	lea	rdi, .LC0[rip]
	mov	edx, eax
	mov	rax, QWORD PTR 8[rsp]
	mov	rsi, QWORD PTR [rax]
	call	emergency@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	add_session, .-add_session
	.comm	session_db,8,8
	.comm	errno,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_init.c_add_session.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"insert %d: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_session, %function
add_session:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #4
	push	{r4, lr}
	ldr	r2, .L11
	sub	sp, sp, #32
	ldr	r2, [r2]
	add	r1, sp, r3
	ldr	ip, .L11+4
	ldr	r4, [r2]
	str	r0, [sp, #4]
	str	r0, [sp, #16]
	str	r3, [sp, #12]
	str	r3, [sp, #20]
	str	r1, [sp, #24]
	mov	r0, r2
	mov	r3, #0
	add	r2, sp, #20
	add	r1, sp, #12
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	blx	r4
	cmp	r0, #0
	bne	.L9
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #32
	@ sp needed
	pop	{r4, pc}
.L9:
	ldr	r3, .L11+8
	ldr	r2, [sp, #4]
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	strerror
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L11+12
	bl	emergency
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	session_db
	.word	.LC1
	.word	errno
	.word	.LC0
	.size	add_session, .-add_session
	.comm	session_db,4,4
	.comm	errno,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
