	.file	"extr_xt_LED.c_led_tg_check.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Trigger name is already in use.\n"
	.text
	.p2align 4
	.type	led_tg_check, @function
led_tg_check:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rbx]
	cmp	BYTE PTR [rax], 0
	jne	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	eax, r12d
	pop	rbx
	.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
.L2:
	.cfi_restore_state
	lea	rdi, xt_led_mutex[rip]
	call	mutex_lock@PLT
	mov	rdi, QWORD PTR [rbx]
	call	led_trigger_lookup@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
	add	DWORD PTR [rax], 1
.L5:
	xor	r12d, r12d
	lea	rdi, xt_led_mutex[rip]
	call	mutex_unlock@PLT
	mov	QWORD PTR 8[rbx], rbp
	mov	eax, r12d
	pop	rbx
	.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
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	edi, 32
	call	kzalloc@PLT
	neg	r12d
	mov	rbp, rax
	test	rax, rax
	je	.L6
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, QWORD PTR [rbx]
	call	kstrdup@PLT
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	je	.L7
	mov	DWORD PTR 0[rbp], 1
	lea	rdi, 24[rbp]
	mov	QWORD PTR 24[rbp], rax
	call	led_trigger_register@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L17
	mov	esi, DWORD PTR led_timeout_callback[rip]
	lea	rdi, 20[rbp]
	xor	edx, edx
	call	timer_setup@PLT
	lea	rdi, 16[rbp]
	lea	rsi, xt_led_triggers[rip]
	call	list_add_tail@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rdi, .LC0[rip]
	call	pr_info_ratelimited@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	kfree@PLT
.L7:
	mov	rdi, rbp
	call	kfree@PLT
.L6:
	lea	rdi, xt_led_mutex[rip]
	call	mutex_unlock@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	led_tg_check, .-led_tg_check
	.comm	xt_led_triggers,4,4
	.comm	xt_led_mutex,4,4
	.comm	led_timeout_callback,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_xt_LED.c_led_tg_check.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Trigger name is already in use.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	led_tg_check, %function
led_tg_check:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r0]
	ldr	r3, [r6]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L18
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, .L18+4
	bl	mutex_lock
	ldr	r0, [r6]
	bl	led_trigger_lookup
	subs	r4, r0, #0
	beq	.L4
	ldr	r3, [r4]
	add	r3, r3, #1
	str	r3, [r4]
.L5:
	mov	r5, #0
	ldr	r0, .L18+4
	bl	mutex_unlock
	mov	r0, r5
	str	r4, [r6, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r7, .L18+8
	ldr	r3, .L18+12
	mov	r0, #20
	ldr	r1, [r7]
	ldr	r5, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	rsb	r5, r5, #0
	beq	.L6
	ldr	r1, [r7]
	ldr	r0, [r6]
	bl	kstrdup
	cmp	r0, #0
	mov	r3, r0
	str	r0, [r4, #4]
	beq	.L7
	mov	r2, #1
	mov	r0, r4
	str	r2, [r4]
	str	r3, [r0, #16]!
	bl	led_trigger_register
	subs	r5, r0, #0
	bne	.L17
	ldr	r3, .L18+16
	mov	r2, r5
	ldr	r1, [r3]
	add	r0, r4, #12
	bl	timer_setup
	ldr	r1, .L18+20
	add	r0, r4, #8
	bl	list_add_tail
	b	.L5
.L17:
	ldr	r0, .L18+24
	bl	pr_info_ratelimited
	ldr	r0, [r4, #4]
	bl	kfree
.L7:
	mov	r0, r4
	bl	kfree
.L6:
	ldr	r0, .L18+4
	bl	mutex_unlock
	b	.L1
.L19:
	.align	2
.L18:
	.word	EINVAL
	.word	xt_led_mutex
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	led_timeout_callback
	.word	xt_led_triggers
	.word	.LC0
	.size	led_tg_check, .-led_tg_check
	.comm	xt_led_triggers,4,4
	.comm	xt_led_mutex,4,4
	.comm	led_timeout_callback,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
