	.file	"extr_divasproc.c_create_adapter_proc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s%d"
	.text
	.p2align 4
	.globl	create_adapter_proc
	.type	create_adapter_proc, @function
create_adapter_proc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	ecx, DWORD PTR 32[rdi]
	mov	rdx, QWORD PTR adapter_dir_name[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	mov	rdi, rbp
	call	sprintf@PLT
	mov	esi, DWORD PTR proc_net_eicon[rip]
	mov	rdi, rbp
	call	proc_mkdir@PLT
	test	rax, rax
	je	.L4
	mov	QWORD PTR 24[rbx], rax
	mov	edi, DWORD PTR info_proc_name[rip]
	mov	rdx, rax
	mov	r12, rax
	mov	esi, DWORD PTR S_IFREG[rip]
	or	esi, DWORD PTR S_IRUGO[rip]
	or	esi, DWORD PTR S_IWUSR[rip]
	call	create_proc_entry@PLT
	test	rax, rax
	je	.L4
	mov	edx, DWORD PTR info_write[rip]
	mov	edi, DWORD PTR grp_opt_proc_name[rip]
	mov	QWORD PTR 16[rbx], rax
	mov	esi, DWORD PTR S_IFREG[rip]
	or	esi, DWORD PTR S_IRUGO[rip]
	mov	DWORD PTR 12[rax], edx
	mov	edx, DWORD PTR info_read[rip]
	mov	QWORD PTR [rax], rbx
	or	esi, DWORD PTR S_IWUSR[rip]
	mov	DWORD PTR 8[rax], edx
	mov	rdx, r12
	call	create_proc_entry@PLT
	test	rax, rax
	je	.L5
	mov	edx, DWORD PTR write_grp_opt[rip]
	mov	QWORD PTR 8[rbx], rax
	mov	DWORD PTR 12[rax], edx
	mov	edx, DWORD PTR read_grp_opt[rip]
	mov	QWORD PTR [rax], rbx
	mov	DWORD PTR 8[rax], edx
.L5:
	mov	edi, DWORD PTR d_l1_down_proc_name[rip]
	mov	esi, DWORD PTR S_IFREG[rip]
	mov	rdx, r12
	or	esi, DWORD PTR S_IRUGO[rip]
	or	esi, DWORD PTR S_IWUSR[rip]
	call	create_proc_entry@PLT
	test	rax, rax
	je	.L6
	mov	edx, DWORD PTR write_d_l1_down[rip]
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR 12[rax], edx
	mov	edx, DWORD PTR read_d_l1_down[rip]
	mov	QWORD PTR [rax], rbx
	mov	DWORD PTR 8[rax], edx
.L6:
	mov	rdi, rbp
	call	DBG_TRC@PLT
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	create_adapter_proc, .-create_adapter_proc
	.comm	write_grp_opt,4,4
	.comm	write_d_l1_down,4,4
	.comm	read_grp_opt,4,4
	.comm	read_d_l1_down,4,4
	.comm	proc_net_eicon,4,4
	.comm	info_write,4,4
	.comm	info_read,4,4
	.comm	info_proc_name,4,4
	.comm	grp_opt_proc_name,4,4
	.comm	d_l1_down_proc_name,4,4
	.comm	adapter_dir_name,8,8
	.comm	S_IWUSR,4,4
	.comm	S_IRUGO,4,4
	.comm	S_IFREG,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_divasproc.c_create_adapter_proc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s%d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create_adapter_proc
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_adapter_proc, %function
create_adapter_proc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r2, .L20
	sub	sp, sp, #24
	ldr	ip, .L20+4
	ldr	r3, [r0, #16]
	ldr	r2, [r2]
	ldr	r1, .L20+8
	mov	r4, r0
	add	r0, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	bl	sprintf
	ldr	r3, .L20+12
	add	r0, sp, #4
	ldr	r1, [r3]
	bl	proc_mkdir
	subs	r5, r0, #0
	beq	.L4
	ldr	r8, .L20+16
	ldr	r7, .L20+20
	ldr	r6, .L20+24
	ldr	r0, [r7]
	ldr	r3, [r8]
	ldr	r1, [r6]
	ldr	r2, .L20+28
	orr	r3, r3, r0
	str	r5, [r4, #12]
	ldr	r0, [r2]
	orr	r1, r3, r1
	mov	r2, r5
	bl	create_proc_entry
	cmp	r0, #0
	beq	.L4
	ldr	r1, .L20+32
	ldr	r2, .L20+36
	ldr	ip, [r1]
	ldr	r2, [r2]
	ldr	r1, [r7]
	ldr	r3, [r8]
	str	r0, [r4, #8]
	orr	r3, r3, r1
	str	r2, [r0, #4]
	ldr	r1, [r6]
	ldr	r2, .L20+40
	str	ip, [r0, #8]
	str	r4, [r0]
	orr	r1, r3, r1
	ldr	r0, [r2]
	mov	r2, r5
	bl	create_proc_entry
	cmp	r0, #0
	beq	.L5
	ldr	r2, .L20+44
	ldr	r3, .L20+48
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r0, [r4, #4]
	str	r2, [r0, #8]
	str	r3, [r0, #4]
	str	r4, [r0]
.L5:
	ldr	r2, [r7]
	ldr	r3, [r8]
	ldr	r1, [r6]
	ldr	r0, .L20+52
	orr	r3, r3, r2
	ldr	r0, [r0]
	mov	r2, r5
	orr	r1, r3, r1
	bl	create_proc_entry
	cmp	r0, #0
	beq	.L6
	ldr	r2, .L20+56
	ldr	r3, .L20+60
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r0, [r4]
	str	r2, [r0, #8]
	str	r3, [r0, #4]
	str	r4, [r0]
.L6:
	add	r0, sp, #4
	bl	DBG_TRC
	mov	r0, #1
	b	.L1
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	adapter_dir_name
	.word	.LC1
	.word	.LC0
	.word	proc_net_eicon
	.word	S_IFREG
	.word	S_IRUGO
	.word	S_IWUSR
	.word	info_proc_name
	.word	info_write
	.word	info_read
	.word	grp_opt_proc_name
	.word	write_grp_opt
	.word	read_grp_opt
	.word	d_l1_down_proc_name
	.word	write_d_l1_down
	.word	read_d_l1_down
	.size	create_adapter_proc, .-create_adapter_proc
	.comm	write_grp_opt,4,4
	.comm	write_d_l1_down,4,4
	.comm	read_grp_opt,4,4
	.comm	read_d_l1_down,4,4
	.comm	proc_net_eicon,4,4
	.comm	info_write,4,4
	.comm	info_read,4,4
	.comm	info_proc_name,4,4
	.comm	grp_opt_proc_name,4,4
	.comm	d_l1_down_proc_name,4,4
	.comm	adapter_dir_name,4,4
	.comm	S_IWUSR,4,4
	.comm	S_IRUGO,4,4
	.comm	S_IFREG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
