	.file	"extr_ipath_file_ops.c_ipath_user_add.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to set up user support: error %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"ipath"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Could not create wildcard minor: error %d\n"
	.section	.rodata.str1.1
.LC3:
	.string	"ipath%d"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"Could not create user minor %d, %s\n"
	.text
	.p2align 4
	.globl	ipath_user_add
	.type	ipath_user_add, @function
ipath_user_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	lea	rdi, user_count[rip]
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	atomic_inc_return@PLT
	cmp	eax, 1
	jne	.L2
	xor	eax, eax
	call	user_init@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L9
	lea	r8, wildcard_dev[rip]
	lea	rcx, wildcard_cdev[rip]
	xor	edi, edi
	lea	rdx, ipath_file_ops[rip]
	lea	rsi, .LC1[rip]
	call	init_cdev@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L10
	mov	esi, 1
	lea	rdi, user_setup[rip]
	call	atomic_set@PLT
.L2:
	mov	ecx, DWORD PTR 0[rbp]
	lea	r13, 14[rsp]
	mov	esi, 10
	lea	rdx, .LC3[rip]
	mov	rdi, r13
	call	snprintf@PLT
	mov	eax, DWORD PTR 0[rbp]
	lea	rcx, 8[rbp]
	lea	r8, 4[rbp]
	lea	rdx, ipath_file_ops[rip]
	mov	rsi, r13
	lea	edi, 1[rax]
	call	init_cdev@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L11
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	neg	edx
	call	ipath_dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
.L4:
	endbr64
	mov	eax, DWORD PTR 0[rbp]
	mov	rcx, r13
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	lea	edx, 1[rax]
	xor	eax, eax
	call	ipath_dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	neg	edx
	call	ipath_dev_err@PLT
	xor	eax, eax
	call	user_cleanup@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ipath_user_add, .-ipath_user_add
	.comm	wildcard_dev,4,4
	.comm	wildcard_cdev,4,4
	.comm	user_setup,4,4
	.comm	user_count,4,4
	.comm	ipath_file_ops,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_ipath_file_ops.c_ipath_user_add.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to set up user support: error %d\012\000"
	.align	2
.LC1:
	.ascii	"ipath\000"
	.align	2
.LC2:
	.ascii	"Could not create wildcard minor: error %d\012\000"
	.align	2
.LC3:
	.ascii	"ipath%d\000"
	.align	2
.LC4:
	.ascii	"Could not create user minor %d, %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ipath_user_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipath_user_add, %function
ipath_user_add:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L13
	sub	sp, sp, #24
	mov	r5, r0
	ldr	r0, .L13+4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	atomic_inc_return
	cmp	r0, #1
	bne	.L2
	mov	r6, r0
	bl	user_init
	subs	r4, r0, #0
	blt	.L9
	ldr	r2, .L13+8
	mov	r0, #0
	str	r2, [sp]
	ldr	r3, .L13+12
	ldr	r2, .L13+16
	ldr	r1, .L13+20
	bl	init_cdev
	subs	r4, r0, #0
	blt	.L10
	mov	r1, r6
	ldr	r0, .L13+24
	bl	atomic_set
.L2:
	mov	r4, r5
	mov	r1, #10
	ldr	r3, [r4], #8
	ldr	r2, .L13+28
	add	r0, sp, #8
	bl	snprintf
	mov	r2, r5
	ldr	r0, [r2], #4
	mov	r3, r4
	str	r2, [sp]
	add	r0, r0, #1
	ldr	r2, .L13+16
	add	r1, sp, #8
	bl	init_cdev
	subs	r4, r0, #0
	blt	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r5
	ldr	r1, .L13+32
	rsb	r2, r4, #0
	bl	ipath_dev_err
	b	.L1
.L11:
.L4:
	ldr	r2, [r5]
	mov	r0, r5
	ldr	r1, .L13+36
	add	r3, sp, #8
	add	r2, r2, #1
	bl	ipath_dev_err
	b	.L1
.L10:
	ldr	r1, .L13+40
	rsb	r2, r4, #0
	mov	r0, r5
	bl	ipath_dev_err
	bl	user_cleanup
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	user_count
	.word	wildcard_dev
	.word	wildcard_cdev
	.word	ipath_file_ops
	.word	.LC1
	.word	user_setup
	.word	.LC3
	.word	.LC0
	.word	.LC4
	.word	.LC2
	.size	ipath_user_add, .-ipath_user_add
	.comm	wildcard_dev,4,4
	.comm	wildcard_cdev,4,4
	.comm	user_setup,4,4
	.comm	user_count,4,4
	.comm	ipath_file_ops,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
