	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ps_link_module_code
_acpi_ps_link_module_code:              ## @acpi_ps_link_module_code
	.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	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_acpi_gbl_module_code_list@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movslq	(%rbx), %rax
	leaq	(,%rax,4), %rcx
	addq	24(%rbx), %rcx
	cmpq	%r13, %rcx
	jne	LBB0_5
## %bb.9:
	addl	%r15d, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_10
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	movq	_ACPI_TYPE_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_ut_create_internal_object
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%r13, 24(%rax)
	movl	%r15d, (%rax)
	movl	%r14d, 20(%rax)
	movq	_AOPOBJ_MODULE_LEVEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 16(%rax)
	testq	%r12, %r12
	je	LBB0_7
## %bb.8:
	movq	%rax, 8(%rbx)
	jmp	LBB0_10
LBB0_7:
	movq	_acpi_gbl_module_code_list@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_acpi_gbl_module_code_list,8,3  ## @acpi_gbl_module_code_list
	.comm	_ACPI_TYPE_METHOD,4,2           ## @ACPI_TYPE_METHOD
	.comm	_AOPOBJ_MODULE_LEVEL,4,2        ## @AOPOBJ_MODULE_LEVEL
	.no_dead_strip	_acpi_ps_link_module_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ps_link_module_code
_acpi_ps_link_module_code:              ; @acpi_ps_link_module_code
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _acpi_gbl_module_code_list@GOTPAGE
Lloh1:
	ldr	x22, [x22, _acpi_gbl_module_code_list@GOTPAGEOFF]
	ldr	x23, [x22]
	cbz	x23, LBB0_5
; %bb.1:
	mov	x8, x23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x8
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_2
; %bb.3:
	ldr	x9, [x24, #24]
	ldrsw	x8, [x24]
	add	x9, x9, x8, lsl #2
	cmp	x9, x21
	b.ne	LBB0_6
; %bb.4:
	add	w8, w8, w20
	str	w8, [x24]
	b	LBB0_10
LBB0_5:
	mov	x24, #0
LBB0_6:
Lloh2:
	adrp	x8, _ACPI_TYPE_METHOD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ACPI_TYPE_METHOD@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_acpi_ut_create_internal_object
	cbz	x0, LBB0_10
; %bb.7:
	str	x21, [x0, #24]
Lloh5:
	adrp	x8, _AOPOBJ_MODULE_LEVEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AOPOBJ_MODULE_LEVEL@GOTPAGEOFF]
	str	w20, [x0]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x0, #16]
	orr	w8, w9, w8
	stp	w8, w19, [x0, #16]
	cbz	x23, LBB0_9
; %bb.8:
	str	x0, [x24, #8]
	b	LBB0_10
LBB0_9:
	str	x0, [x22]
LBB0_10:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_acpi_gbl_module_code_list,8,3  ; @acpi_gbl_module_code_list
	.comm	_ACPI_TYPE_METHOD,4,2           ; @ACPI_TYPE_METHOD
	.comm	_AOPOBJ_MODULE_LEVEL,4,2        ; @AOPOBJ_MODULE_LEVEL
	.no_dead_strip	_acpi_ps_link_module_code
.subsections_via_symbols
