	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_video_bus_notify
_acpi_video_bus_notify:                 ## @acpi_video_bus_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, %r15d
	movq	%rdi, %r12
	callq	_acpi_driver_data
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %r14
	leal	-128(%r15), %eax
	cmpl	$4, %eax
	ja	LBB0_7
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	%r12, %rdi
	movl	$128, %esi
	xorl	%edx, %edx
	callq	_acpi_bus_generate_proc_event
	movq	%r12, %rdi
	movl	$128, %esi
	xorl	%edx, %edx
	callq	_acpi_notifier_call_chain
	testl	%eax, %eax
	jne	LBB0_14
## %bb.9:
	movq	_KEY_SWITCHVIDEOMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jne	LBB0_15
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%r15d, %edi
	callq	_ACPI_DEBUG_PRINT
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_3:
	movq	%rbx, %rdi
	callq	_acpi_video_device_enumerate
	movq	%rbx, %rdi
	callq	_acpi_video_device_rebind
	movq	%r12, %rdi
	movl	$129, %esi
	jmp	LBB0_5
LBB0_6:
	movq	%r12, %rdi
	movl	$130, %esi
	xorl	%edx, %edx
	callq	_acpi_bus_generate_proc_event
	movq	_KEY_VIDEO_PREV@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	%r12, %rdi
	movl	$131, %esi
	xorl	%edx, %edx
	callq	_acpi_bus_generate_proc_event
	movq	_KEY_VIDEO_NEXT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movq	%r12, %rdi
	movl	$132, %esi
LBB0_5:
	xorl	%edx, %edx
	callq	_acpi_bus_generate_proc_event
	movq	_KEY_SWITCHVIDEOMODE@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %ebx
LBB0_12:
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_acpi_notifier_call_chain
	testl	%ebx, %ebx
	je	LBB0_14
LBB0_15:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_input_report_key
	movq	%r14, %rdi
	callq	_input_sync
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_KEY_SWITCHVIDEOMODE,4,2        ## @KEY_SWITCHVIDEOMODE
	.comm	_KEY_VIDEO_NEXT,4,2             ## @KEY_VIDEO_NEXT
	.comm	_KEY_VIDEO_PREV,4,2             ## @KEY_VIDEO_PREV
	.comm	_ACPI_DB_INFO,4,2               ## @ACPI_DB_INFO
	.no_dead_strip	_acpi_video_bus_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_video_bus_notify
_acpi_video_bus_notify:                 ; @acpi_video_bus_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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
	ldr	x19, [x0]
	sub	w8, w21, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	x0, x20
	mov	w1, #128
	mov	w2, #0
	bl	_acpi_bus_generate_proc_event
	mov	x0, x20
	mov	w1, #128
	mov	w2, #0
	bl	_acpi_notifier_call_chain
	cbnz	w0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _KEY_SWITCHVIDEOMODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KEY_SWITCHVIDEOMODE@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
	cbnz	w22, LBB0_14
LBB0_5:
	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_6:
	mov	x0, x21
	bl	_ACPI_DEBUG_PRINT
	mov	w22, #0
	b	LBB0_13
LBB0_7:
	mov	x0, x22
	bl	_acpi_video_device_enumerate
	mov	x0, x22
	bl	_acpi_video_device_rebind
	mov	x0, x20
	mov	w1, #129
	b	LBB0_11
LBB0_8:
	mov	x0, x20
	mov	w1, #130
	mov	w2, #0
	bl	_acpi_bus_generate_proc_event
Lloh5:
	adrp	x8, _KEY_VIDEO_PREV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KEY_VIDEO_PREV@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	mov	x0, x20
	mov	w1, #131
	mov	w2, #0
	bl	_acpi_bus_generate_proc_event
Lloh7:
	adrp	x8, _KEY_VIDEO_NEXT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KEY_VIDEO_NEXT@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	mov	x0, x20
	mov	w1, #132
LBB0_11:
	mov	w2, #0
	bl	_acpi_bus_generate_proc_event
Lloh9:
	adrp	x8, _KEY_SWITCHVIDEOMODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KEY_SWITCHVIDEOMODE@GOTPAGEOFF]
LBB0_12:
	ldr	w22, [x8]
LBB0_13:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_acpi_notifier_call_chain
	cbz	w22, LBB0_5
LBB0_14:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	bl	_input_report_key
	mov	x0, x19
	bl	_input_sync
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_input_report_key
	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	_input_sync
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_KEY_SWITCHVIDEOMODE,4,2        ; @KEY_SWITCHVIDEOMODE
	.comm	_KEY_VIDEO_NEXT,4,2             ; @KEY_VIDEO_NEXT
	.comm	_KEY_VIDEO_PREV,4,2             ; @KEY_VIDEO_PREV
	.comm	_ACPI_DB_INFO,4,2               ; @ACPI_DB_INFO
	.no_dead_strip	_acpi_video_bus_notify
.subsections_via_symbols
