	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_fujitsu_bl_notify
_acpi_fujitsu_bl_notify:                ## @acpi_fujitsu_bl_notify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r13
	callq	_acpi_driver_data
	movq	%rax, %r14
	movq	_ACPI_FUJITSU_NOTIFY_CODE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_1
## %bb.2:
	movl	(%r14), %r15d
	movq	%r13, %rdi
	callq	_get_lcd_level
	movl	(%r14), %r12d
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	callq	_acpi_handle_debug
	cmpl	%r12d, %r15d
	jne	LBB0_3
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_acpi_handle_info
	movl	4(%r14), %edi
	movl	$-1, %esi
	jmp	LBB0_6
LBB0_3:
	movq	_disable_brightness_adjust@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_set_lcd_level
LBB0_5:
	movl	4(%r14), %edi
	xorl	%esi, %esi
	cmpl	%r12d, %r15d
	setl	%sil
LBB0_6:
	movl	$1, %edx
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sparse_keymap_report_event     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_FUJITSU_NOTIFY_CODE,4,2   ## @ACPI_FUJITSU_NOTIFY_CODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported event [0x%x]\n"

L_.str.1:                               ## @.str.1
	.asciz	"brightness button event [%i -> %i]\n"

	.comm	_disable_brightness_adjust,4,2  ## @disable_brightness_adjust
	.no_dead_strip	_acpi_fujitsu_bl_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_fujitsu_bl_notify
_acpi_fujitsu_bl_notify:                ; @acpi_fujitsu_bl_notify
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x20, x0
	bl	_acpi_driver_data
	mov	x19, x0
Lloh0:
	adrp	x8, _ACPI_FUJITSU_NOTIFY_CODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_FUJITSU_NOTIFY_CODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_3
; %bb.1:
	ldr	w21, [x19]
	mov	x0, x20
	bl	_get_lcd_level
	ldr	w22, [x19]
	ldr	w0, [x20]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	mov	x3, x22
	bl	_acpi_handle_debug
	cmp	w21, w22
	b.ne	LBB0_4
; %bb.2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x20]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_acpi_handle_info
	ldr	w0, [x19, #4]
	mov	w1, #-1
	b	LBB0_7
LBB0_4:
Lloh7:
	adrp	x8, _disable_brightness_adjust@GOTPAGE
Lloh8:
	ldr	x8, [x8, _disable_brightness_adjust@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cbnz	w8, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x22
	bl	_set_lcd_level
LBB0_6:
	ldr	w0, [x19, #4]
	cmp	w21, w22
	cset	w1, lt
LBB0_7:
	mov	w2, #1
	mov	w3, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sparse_keymap_report_event
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_FUJITSU_NOTIFY_CODE,4,2   ; @ACPI_FUJITSU_NOTIFY_CODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported event [0x%x]\n"

l_.str.1:                               ; @.str.1
	.asciz	"brightness button event [%i -> %i]\n"

	.comm	_disable_brightness_adjust,4,2  ; @disable_brightness_adjust
	.no_dead_strip	_acpi_fujitsu_bl_notify
.subsections_via_symbols
