	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ev_queue_notify_request   ## -- Begin function acpi_ev_queue_notify_request
	.p2align	4, 0x90
_acpi_ev_queue_notify_request:          ## @acpi_ev_queue_notify_request
	.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
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ev_queue_notify_request@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_NAME
	movq	%r12, %rdi
	callq	_acpi_ut_get_node_name
	movq	%r15, %rdi
	callq	_acpi_ut_get_notify_name
	movl	%eax, %edi
	callq	_ACPI_DEBUG_PRINT
	movq	%r12, %rdi
	callq	_acpi_ns_get_attached_object
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	(%r12), %ecx
	addl	$-128, %ecx
	cmpl	$2, %ecx
	ja	LBB0_5
## %bb.2:
	movq	_ACPI_MAX_SYS_NOTIFY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%r15, %rcx
	jge	LBB0_6
## %bb.3:
	movq	(%rax), %r13
	jmp	LBB0_7
LBB0_4:
	movq	_ACPI_MAX_SYS_NOTIFY@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%r13d, %r13d
	jmp	LBB0_7
LBB0_5:
	movq	_AE_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_6:
	movq	8(%rax), %r13
LBB0_7:
	movq	_acpi_gbl_system_notify@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	cmpq	%r15, %rcx
	jge	LBB0_13
LBB0_9:
	movq	_acpi_gbl_device_notify@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.10:
	cmpq	%r15, %rcx
	jl	LBB0_13
LBB0_11:
	testq	%r13, %r13
	jne	LBB0_13
## %bb.12:
	movq	%r12, %rdi
	callq	_acpi_ut_get_node_name
	movl	%r12d, %edi
	callq	_ACPI_DEBUG_PRINT
	jmp	LBB0_20
LBB0_13:
	xorl	%eax, %eax
	callq	_acpi_ut_create_generic_state
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	movq	%rax, %rbx
	testq	%r13, %r13
	jne	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	callq	_acpi_ut_get_node_name
	movl	%r12d, %edi
	callq	_ACPI_DEBUG_PRINT
LBB0_16:
	movq	%r12, 16(%rbx)
	movq	%r15, 8(%rbx)
	movq	%r13, (%rbx)
	movq	_OSL_NOTIFY_HANDLER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_acpi_ev_notify_dispatch@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_acpi_os_execute
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	movq	%rbx, %rdi
	callq	_acpi_ut_delete_generic_state
	jmp	LBB0_20
LBB0_18:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %r14d
LBB0_20:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_ev_queue_notify_request,4,2    ## @ev_queue_notify_request
	.comm	_ACPI_DB_INFO,4,2               ## @ACPI_DB_INFO
	.comm	_ACPI_MAX_SYS_NOTIFY,8,3        ## @ACPI_MAX_SYS_NOTIFY
	.comm	_AE_TYPE,4,2                    ## @AE_TYPE
	.comm	_acpi_gbl_system_notify,8,3     ## @acpi_gbl_system_notify
	.comm	_acpi_gbl_device_notify,8,3     ## @acpi_gbl_device_notify
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_DESC_TYPE_STATE_NOTIFY,4,2 ## @ACPI_DESC_TYPE_STATE_NOTIFY
	.comm	_OSL_NOTIFY_HANDLER,4,2         ## @OSL_NOTIFY_HANDLER
	.comm	_acpi_ev_notify_dispatch,4,2    ## @acpi_ev_notify_dispatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ev_queue_notify_request   ; -- Begin function acpi_ev_queue_notify_request
	.p2align	2
_acpi_ev_queue_notify_request:          ; @acpi_ev_queue_notify_request
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _AE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _ev_queue_notify_request@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ev_queue_notify_request@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_NAME
	mov	x0, x20
	bl	_acpi_ut_get_node_name
	mov	x0, x21
	bl	_acpi_ut_get_notify_name
	bl	_ACPI_DEBUG_PRINT
	mov	x0, x20
	bl	_acpi_ns_get_attached_object
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _ACPI_MAX_SYS_NOTIFY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_MAX_SYS_NOTIFY@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ge	LBB0_6
; %bb.3:
	ldr	x23, [x0]
	b	LBB0_7
LBB0_4:
	mov	x23, #0
Lloh9:
	adrp	x8, _ACPI_MAX_SYS_NOTIFY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACPI_MAX_SYS_NOTIFY@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _AE_TYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AE_TYPE@GOTPAGEOFF]
	b	LBB0_18
LBB0_6:
	ldr	x23, [x0, #8]
LBB0_7:
Lloh14:
	adrp	x9, _acpi_gbl_system_notify@GOTPAGE
Lloh15:
	ldr	x9, [x9, _acpi_gbl_system_notify@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	x8, x21, #8, ne
	b.ge	LBB0_12
; %bb.8:
Lloh17:
	adrp	x9, _acpi_gbl_device_notify@GOTPAGE
Lloh18:
	ldr	x9, [x9, _acpi_gbl_device_notify@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cbz	x9, LBB0_11
; %bb.9:
	cmp	x8, x21
	ccmp	x23, #0, #0, ge
	b.ne	LBB0_12
LBB0_10:
	mov	x0, x20
	bl	_acpi_ut_get_node_name
	mov	x0, x20
	bl	_ACPI_DEBUG_PRINT
	b	LBB0_19
LBB0_11:
	cbz	x23, LBB0_10
LBB0_12:
	bl	_acpi_ut_create_generic_state
	cbz	x0, LBB0_17
; %bb.13:
	mov	x22, x0
	cbnz	x23, LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_acpi_ut_get_node_name
	mov	x0, x20
	bl	_ACPI_DEBUG_PRINT
LBB0_15:
	stp	x21, x20, [x22, #8]
	str	x23, [x22]
Lloh20:
	adrp	x8, _OSL_NOTIFY_HANDLER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OSL_NOTIFY_HANDLER@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _acpi_ev_notify_dispatch@GOTPAGE
Lloh24:
	ldr	x8, [x8, _acpi_ev_notify_dispatch@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_acpi_os_execute
	mov	x19, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_19
; %bb.16:
	mov	x0, x22
	bl	_acpi_ut_delete_generic_state
	b	LBB0_19
LBB0_17:
Lloh26:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
LBB0_18:
	ldr	w19, [x8]
LBB0_19:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_ev_queue_notify_request,4,2    ; @ev_queue_notify_request
	.comm	_ACPI_DB_INFO,4,2               ; @ACPI_DB_INFO
	.comm	_ACPI_MAX_SYS_NOTIFY,8,3        ; @ACPI_MAX_SYS_NOTIFY
	.comm	_AE_TYPE,4,2                    ; @AE_TYPE
	.comm	_acpi_gbl_system_notify,8,3     ; @acpi_gbl_system_notify
	.comm	_acpi_gbl_device_notify,8,3     ; @acpi_gbl_device_notify
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_DESC_TYPE_STATE_NOTIFY,4,2 ; @ACPI_DESC_TYPE_STATE_NOTIFY
	.comm	_OSL_NOTIFY_HANDLER,4,2         ; @OSL_NOTIFY_HANDLER
	.comm	_acpi_ev_notify_dispatch,4,2    ; @acpi_ev_notify_dispatch
.subsections_via_symbols
