	.file	"extr_qdio_debug.c_setup_debugfs_entry.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"input"
.LC1:
	.string	"output"
.LC2:
	.string	"%s_%d"
	.text
	.p2align 4
	.type	setup_debugfs_entry, @function
setup_debugfs_entry:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR QDIO_DEBUGFS_NAME_LEN[rip]
	mov	rcx, rsp
	mov	rsi, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L17:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L17
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L18
.L4:
	cmp	QWORD PTR 24[rbx], 0
	lea	rax, .LC1[rip]
	mov	r8d, DWORD PTR [rbx]
	mov	rdi, rsp
	lea	rcx, .LC0[rip]
	lea	rdx, .LC2[rip]
	cmove	rcx, rax
	call	snprintf@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	rdi, rsp
	mov	rcx, rbx
	mov	esi, DWORD PTR S_IFREG[rip]
	lea	r8, debugfs_fops[rip]
	or	esi, DWORD PTR S_IRUGO[rip]
	mov	edx, DWORD PTR [rax]
	or	esi, DWORD PTR S_IWUSR[rip]
	call	debugfs_create_file@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L19
.L1:
	mov	rax, QWORD PTR -24[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	QWORD PTR 8[rbx], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	setup_debugfs_entry, .-setup_debugfs_entry
	.comm	debugfs_fops,4,4
	.comm	S_IWUSR,4,4
	.comm	S_IRUGO,4,4
	.comm	S_IFREG,4,4
	.comm	QDIO_DEBUGFS_NAME_LEN,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_qdio_debug.c_setup_debugfs_entry.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"input\000"
	.align	2
.LC1:
	.ascii	"output\000"
	.align	2
.LC2:
	.ascii	"%s_%d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup_debugfs_entry, %function
setup_debugfs_entry:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	ldr	r3, .L12
	mov	r4, r0
	ldr	r1, [r3]
	ldr	ip, [r4, #12]
	add	r3, r1, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r5, sp
	ldr	r0, [r0]
	ldr	r2, .L12+4
	cmp	ip, #0
	str	r0, [r5], #8
	ldr	ip, .L12+8
	ldr	r3, .L12+12
	mov	r0, r5
	moveq	r3, r2
	ldr	r2, .L12+16
	ldr	ip, [ip]
	str	ip, [fp, #-16]
	mov	ip,#0
	bl	snprintf
	ldr	r3, .L12+20
	ldr	r0, .L12+24
	ldr	r1, .L12+28
	ldr	r0, [r0]
	ldr	r3, [r3]
	ldr	r2, [r4, #8]
	ldr	ip, .L12+32
	ldr	r1, [r1]
	orr	r3, r3, r0
	ldr	r2, [r2]
	orr	r1, r3, r1
	str	ip, [sp]
	mov	r3, r4
	mov	r0, r5
	bl	debugfs_create_file
	str	r0, [r4, #4]
	bl	IS_ERR
	cmp	r0, #0
	movne	r3, #0
	strne	r3, [r4, #4]
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	QDIO_DEBUGFS_NAME_LEN
	.word	.LC1
	.word	.LC3
	.word	.LC0
	.word	.LC2
	.word	S_IFREG
	.word	S_IRUGO
	.word	S_IWUSR
	.word	debugfs_fops
	.size	setup_debugfs_entry, .-setup_debugfs_entry
	.comm	debugfs_fops,4,4
	.comm	S_IWUSR,4,4
	.comm	S_IRUGO,4,4
	.comm	S_IFREG,4,4
	.comm	QDIO_DEBUGFS_NAME_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
