	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eeepc_acpi_notify
_eeepc_acpi_notify:                     ## @eeepc_acpi_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, %r15
	callq	_acpi_driver_data
	movq	%rax, %r14
	movq	_ACPI_MAX_SYS_NOTIFY@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jge	LBB0_1
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leal	127(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	movq	8(%r14), %rcx
	andl	$-128, %eax
	movl	%ebx, %edx
	subl	%eax, %edx
	movslq	%edx, %rax
	movslq	(%rcx,%rax,4), %r12
	leal	1(%r12), %edx
	movl	%edx, (%rcx,%rax,4)
	movl	4(%r15), %r13d
	movq	%r15, %rdi
	callq	_dev_name
	movl	%r13d, %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	movq	%r12, %rcx
	callq	_acpi_bus_generate_netlink_event
	movq	_NOTIFY_BRN_MIN@GOTPCREL(%rip), %r12
	cmpl	%ebx, (%r12)
	jg	LBB0_5
## %bb.2:
	movq	_NOTIFY_BRN_MAX@GOTPCREL(%rip), %r15
	cmpl	%ebx, (%r15)
	jl	LBB0_5
## %bb.3:
	cmpl	$0, (%r14)
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_eeepc_backlight_notify
	movl	(%r12), %ecx
	movl	%ebx, %edx
	subl	%ecx, %edx
	cmpl	%eax, %edx
	cmovgl	(%r15), %ebx
	cmovll	%ecx, %ebx
LBB0_5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eeepc_input_notify             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_MAX_SYS_NOTIFY,4,2        ## @ACPI_MAX_SYS_NOTIFY
	.comm	_NOTIFY_BRN_MIN,4,2             ## @NOTIFY_BRN_MIN
	.comm	_NOTIFY_BRN_MAX,4,2             ## @NOTIFY_BRN_MAX
	.no_dead_strip	_eeepc_acpi_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eeepc_acpi_notify
_eeepc_acpi_notify:                     ; @eeepc_acpi_notify
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	bl	_acpi_driver_data
Lloh0:
	adrp	x8, _ACPI_MAX_SYS_NOTIFY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_MAX_SYS_NOTIFY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ge	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x0
	ldr	x8, [x0, #8]
	negs	w9, w19
	and	w9, w9, #0x7f
	and	w10, w19, #0x7f
	csneg	w9, w10, w9, mi
	sbfiz	x9, x9, #2, #32
	ldrsw	x22, [x8, x9]
	add	w10, w22, #1
	str	w10, [x8, x9]
	ldr	w23, [x21, #4]
	mov	x0, x21
	bl	_dev_name
	mov	x1, x0
	mov	x0, x23
	mov	x2, x19
	mov	x3, x22
	bl	_acpi_bus_generate_netlink_event
Lloh3:
	adrp	x21, _NOTIFY_BRN_MIN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NOTIFY_BRN_MIN@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh5:
	adrp	x22, _NOTIFY_BRN_MAX@GOTPAGE
Lloh6:
	ldr	x22, [x22, _NOTIFY_BRN_MAX@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, w19
	ccmp	w9, w19, #8, le
	b.lt	LBB0_5
; %bb.3:
	ldr	w8, [x20]
	cbz	w8, LBB0_1
; %bb.4:
	mov	x0, x20
	bl	_eeepc_backlight_notify
	ldr	w8, [x21]
	ldr	w9, [x22]
	sub	w10, w19, w8
	cmp	w10, w0
	csel	w9, w9, w19, gt
	csel	w19, w8, w9, lt
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_eeepc_input_notify
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_MAX_SYS_NOTIFY,4,2        ; @ACPI_MAX_SYS_NOTIFY
	.comm	_NOTIFY_BRN_MIN,4,2             ; @NOTIFY_BRN_MIN
	.comm	_NOTIFY_BRN_MAX,4,2             ; @NOTIFY_BRN_MAX
	.no_dead_strip	_eeepc_acpi_notify
.subsections_via_symbols
