	.file	"extr_applesmc.c_applesmc_create_key_backlight.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"applesmc-led"
	.text
	.p2align 4
	.type	applesmc_create_key_backlight, @function
applesmc_create_key_backlight:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR smcreg[rip]
	test	eax, eax
	jne	.L12
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	call	create_singlethread_workqueue@PLT
	mov	DWORD PTR applesmc_led_wq[rip], eax
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, QWORD PTR pdev[rip]
	lea	rsi, applesmc_backlight[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	led_classdev_register@PLT
	.cfi_endproc
.LFE0:
	.size	applesmc_create_key_backlight, .-applesmc_create_key_backlight
	.comm	smcreg,4,4
	.comm	pdev,8,8
	.comm	applesmc_led_wq,4,4
	.comm	applesmc_backlight,4,4
	.comm	ENOMEM,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_applesmc.c_applesmc_create_key_backlight.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"applesmc-led\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	applesmc_create_key_backlight, %function
applesmc_create_key_backlight:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	ldr	r0, [r3]
	cmp	r0, #0
	bxeq	lr
	push	{r4, lr}
	ldr	r0, .L12+4
	bl	create_singlethread_workqueue
	ldr	r3, .L12+8
	cmp	r0, #0
	str	r0, [r3]
	bne	.L3
	ldr	r3, .L12+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L3:
	ldr	r3, .L12+16
	ldr	r1, .L12+20
	ldr	r0, [r3]
	pop	{r4, lr}
	b	led_classdev_register
.L13:
	.align	2
.L12:
	.word	smcreg
	.word	.LC0
	.word	applesmc_led_wq
	.word	ENOMEM
	.word	pdev
	.word	applesmc_backlight
	.size	applesmc_create_key_backlight, .-applesmc_create_key_backlight
	.comm	smcreg,4,4
	.comm	pdev,4,4
	.comm	applesmc_led_wq,4,4
	.comm	applesmc_backlight,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
