	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function toshiba_acpi_kbd_bl_work
_toshiba_acpi_kbd_bl_work:              ## @toshiba_acpi_kbd_bl_work
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_toshiba_acpi@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	16(%rax), %rdi
	movq	_toshiba_attr_group@GOTPCREL(%rip), %rsi
	callq	_sysfs_update_group
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
LBB0_2:
	movq	(%rbx), %rdi
	cmpl	$2, (%rdi)
	jne	LBB0_8
## %bb.3:
	movq	8(%rdi), %rax
	movq	_SCI_KBD_MODE_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.4:
	addq	$24, %rdi
	movq	_SCI_KBD_MODE_ON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	_LED_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_LED_OFF@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	callq	_led_classdev_notify_brightness_hw_changed
	movq	(%rbx), %rdi
LBB0_8:
	movq	16(%rdi), %rdi
	movl	4(%rdi), %ebx
	callq	_dev_name
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$146, %edx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_acpi_bus_generate_netlink_event ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_toshiba_acpi,8,3               ## @toshiba_acpi
	.comm	_toshiba_attr_group,4,2         ## @toshiba_attr_group
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to update sysfs entries\n"

	.comm	_SCI_KBD_MODE_AUTO,8,3          ## @SCI_KBD_MODE_AUTO
	.comm	_SCI_KBD_MODE_ON,8,3            ## @SCI_KBD_MODE_ON
	.comm	_LED_FULL,4,2                   ## @LED_FULL
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.no_dead_strip	_toshiba_acpi_kbd_bl_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function toshiba_acpi_kbd_bl_work
_toshiba_acpi_kbd_bl_work:              ; @toshiba_acpi_kbd_bl_work
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _toshiba_acpi@GOTPAGE
Lloh1:
	ldr	x19, [x19, _toshiba_acpi@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
Lloh2:
	adrp	x1, _toshiba_attr_group@GOTPAGE
Lloh3:
	ldr	x1, [x1, _toshiba_attr_group@GOTPAGEOFF]
	bl	_sysfs_update_group
	cbz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
LBB0_2:
	ldr	x8, [x19]
	ldr	w9, [x8]
	cmp	w9, #2
	b.ne	LBB0_5
; %bb.3:
	ldr	x9, [x8, #8]
Lloh6:
	adrp	x10, _SCI_KBD_MODE_AUTO@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SCI_KBD_MODE_AUTO@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_5
; %bb.4:
	add	x0, x8, #24
Lloh9:
	adrp	x8, _SCI_KBD_MODE_ON@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCI_KBD_MODE_ON@GOTPAGEOFF]
Lloh11:
	adrp	x10, _LED_FULL@GOTPAGE
Lloh12:
	ldr	x10, [x10, _LED_FULL@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x11, _LED_OFF@GOTPAGE
Lloh15:
	ldr	x11, [x11, _LED_OFF@GOTPAGEOFF]
	cmp	x9, x8
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	bl	_led_classdev_notify_brightness_hw_changed
	ldr	x8, [x19]
LBB0_5:
	ldr	x0, [x8, #16]
	ldr	w19, [x0, #4]
	bl	_dev_name
	mov	x1, x0
	mov	x0, x19
	mov	w2, #146
	mov	w3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_acpi_bus_generate_netlink_event
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_toshiba_acpi,8,3               ; @toshiba_acpi
	.comm	_toshiba_attr_group,4,2         ; @toshiba_attr_group
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to update sysfs entries\n"

	.comm	_SCI_KBD_MODE_AUTO,8,3          ; @SCI_KBD_MODE_AUTO
	.comm	_SCI_KBD_MODE_ON,8,3            ; @SCI_KBD_MODE_ON
	.comm	_LED_FULL,4,2                   ; @LED_FULL
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.no_dead_strip	_toshiba_acpi_kbd_bl_work
.subsections_via_symbols
