	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_acpi_notify
_asus_acpi_notify:                      ## @asus_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_acpi_driver_data
	movq	%rax, %r14
	movq	24(%rax), %rax
	leal	127(%rbx), %ecx
	testl	%ebx, %ebx
	cmovnsl	%ebx, %ecx
	andl	$-128, %ecx
	movl	%ebx, %edx
	subl	%ecx, %edx
	movslq	%edx, %rcx
	movslq	(%rax,%rcx,4), %r15
	leal	1(%r15), %edx
	movl	%edx, (%rax,%rcx,4)
	movq	16(%r14), %rdi
	movl	4(%rdi), %r12d
	callq	_dev_name
	movl	%r12d, %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	movq	%r15, %rcx
	callq	_acpi_bus_generate_netlink_event
	movq	_ATKD_BRNUP_MIN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jg	LBB0_3
## %bb.1:
	movq	_ATKD_BRNUP_MAX@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jl	LBB0_3
## %bb.2:
	movq	_ATKD_BRNUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_5:
	cmpq	$0, 8(%r14)
	je	LBB0_6
## %bb.9:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_asus_backlight_notify          ## TAILCALL
LBB0_3:
	movq	_ATKD_BRNDOWN_MIN@GOTPCREL(%rip), %rax
	movq	_ATKD_BRNDOWN_MAX@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	movq	_ATKD_BRNDOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %esi
	cmovll	%ebx, %esi
	cmpl	%ebx, (%rax)
	cmovgl	%ebx, %esi
	cmpl	%ecx, %esi
	je	LBB0_5
## %bb.4:
	movq	_ATKD_BRNUP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_5
LBB0_6:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	cmpl	$234, %esi
	jne	LBB0_8
## %bb.10:
	movq	(%rax), %rdi
	movq	_KOBJ_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kobject_uevent                 ## TAILCALL
LBB0_8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_asus_input_notify              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATKD_BRNUP_MIN,4,2             ## @ATKD_BRNUP_MIN
	.comm	_ATKD_BRNUP_MAX,4,2             ## @ATKD_BRNUP_MAX
	.comm	_ATKD_BRNUP,4,2                 ## @ATKD_BRNUP
	.comm	_ATKD_BRNDOWN_MIN,4,2           ## @ATKD_BRNDOWN_MIN
	.comm	_ATKD_BRNDOWN_MAX,4,2           ## @ATKD_BRNDOWN_MAX
	.comm	_ATKD_BRNDOWN,4,2               ## @ATKD_BRNDOWN
	.comm	_KOBJ_CHANGE,4,2                ## @KOBJ_CHANGE
	.no_dead_strip	_asus_acpi_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_acpi_notify
_asus_acpi_notify:                      ; @asus_acpi_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	x20, x1
	bl	_acpi_driver_data
	mov	x19, x0
	negs	w8, w20
	and	w8, w8, #0x7f
	and	w9, w20, #0x7f
	csneg	w8, w9, w8, mi
	sbfiz	x8, x8, #2, #32
	ldp	x0, x9, [x0, #16]
	ldrsw	x21, [x9, x8]
	add	w10, w21, #1
	str	w10, [x9, x8]
	ldr	w22, [x0, #4]
	bl	_dev_name
	mov	x1, x0
	mov	x0, x22
	mov	x2, x20
	mov	x3, x21
	bl	_acpi_bus_generate_netlink_event
Lloh0:
	adrp	x8, _ATKD_BRNUP_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATKD_BRNUP_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ATKD_BRNUP_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATKD_BRNUP_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w20
	ccmp	w9, w20, #8, le
	b.ge	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _ATKD_BRNDOWN_MIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATKD_BRNDOWN_MIN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ATKD_BRNDOWN_MAX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATKD_BRNDOWN_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w9, w20
	ccmp	w8, w20, #0, ge
Lloh12:
	adrp	x8, _ATKD_BRNDOWN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ATKD_BRNDOWN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	csel	w1, w20, w8, gt
Lloh15:
	adrp	x9, _ATKD_BRNUP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ATKD_BRNUP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w1, w8
	ccmp	w1, w9, #4, ne
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
LBB0_3:
	mov	x0, x19
	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	_asus_backlight_notify
LBB0_4:
Lloh18:
	adrp	x8, _ATKD_BRNUP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ATKD_BRNUP@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_3
LBB0_5:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.6:
	cmp	w1, #234
	b.ne	LBB0_8
; %bb.7:
	ldr	x0, [x8]
Lloh21:
	adrp	x8, _KOBJ_CHANGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _KOBJ_CHANGE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	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	_kobject_uevent
LBB0_8:
	mov	x0, x19
	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	_asus_input_notify
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ATKD_BRNUP_MIN,4,2             ; @ATKD_BRNUP_MIN
	.comm	_ATKD_BRNUP_MAX,4,2             ; @ATKD_BRNUP_MAX
	.comm	_ATKD_BRNUP,4,2                 ; @ATKD_BRNUP
	.comm	_ATKD_BRNDOWN_MIN,4,2           ; @ATKD_BRNDOWN_MIN
	.comm	_ATKD_BRNDOWN_MAX,4,2           ; @ATKD_BRNDOWN_MAX
	.comm	_ATKD_BRNDOWN,4,2               ; @ATKD_BRNDOWN
	.comm	_KOBJ_CHANGE,4,2                ; @KOBJ_CHANGE
	.no_dead_strip	_asus_acpi_notify
.subsections_via_symbols
