	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_create_method          ## -- Begin function acpi_ex_create_method
	.p2align	4, 0x90
_acpi_ex_create_method:                 ## @acpi_ex_create_method
	.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, %r14d
	movq	%rdi, %r15
	movq	(%rdx), %r12
	movq	_ex_create_method@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rdx, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movq	_ACPI_TYPE_METHOD@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_acpi_ut_create_internal_object
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, (%rax)
	movl	%r14d, 20(%rax)
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movq	_AML_METHOD_ARG_COUNT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	notl	%edx
	andl	%eax, %edx
	movl	%edx, 8(%rbx)
	andl	%eax, %ecx
	movl	%ecx, 12(%rbx)
	movq	_AML_METHOD_SERIALIZED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_AML_METHOD_SYNC_LEVEL@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	sarl	$4, %eax
	movl	%eax, 16(%rbx)
LBB0_4:
	movq	(%r12), %rdi
	movl	(%r13), %edx
	movq	%rbx, %rsi
	callq	_acpi_ns_attach_object
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_acpi_ut_remove_reference
	jmp	LBB0_5
LBB0_1:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movq	8(%r12), %rdi
	callq	_acpi_ut_remove_reference
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ex_create_method,4,2           ## @ex_create_method
	.comm	_ACPI_TYPE_METHOD,4,2           ## @ACPI_TYPE_METHOD
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_AML_METHOD_ARG_COUNT,4,2       ## @AML_METHOD_ARG_COUNT
	.comm	_AML_METHOD_SERIALIZED,4,2      ## @AML_METHOD_SERIALIZED
	.comm	_AML_METHOD_SYNC_LEVEL,4,2      ## @AML_METHOD_SYNC_LEVEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_create_method          ; -- Begin function acpi_ex_create_method
	.p2align	2
_acpi_ex_create_method:                 ; @acpi_ex_create_method
	.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	x20, x1
	mov	x21, x0
	ldr	x22, [x2]
Lloh0:
	adrp	x8, _ex_create_method@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ex_create_method@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x2
	bl	_ACPI_FUNCTION_TRACE_PTR
Lloh3:
	adrp	x23, _ACPI_TYPE_METHOD@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ACPI_TYPE_METHOD@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_acpi_ut_create_internal_object
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	str	x21, [x0]
	str	w20, [x0, #20]
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _AML_METHOD_ARG_COUNT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AML_METHOD_ARG_COUNT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	bic	w10, w8, w9
	and	w9, w9, w8
	stp	w10, w9, [x0, #8]
Lloh8:
	adrp	x9, _AML_METHOD_SERIALIZED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AML_METHOD_SERIALIZED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh11:
	adrp	x9, _AML_METHOD_SYNC_LEVEL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AML_METHOD_SYNC_LEVEL@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w8, w9, w8
	asr	w8, w8, #4
	str	w8, [x19, #16]
LBB0_3:
	ldr	x0, [x22]
	ldr	w2, [x23]
	mov	x1, x19
	bl	_acpi_ns_attach_object
	mov	x20, x0
	mov	x0, x19
	bl	_acpi_ut_remove_reference
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
LBB0_5:
	ldr	x0, [x22, #8]
	bl	_acpi_ut_remove_reference
	mov	x0, x20
	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	_return_ACPI_STATUS
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ex_create_method,4,2           ; @ex_create_method
	.comm	_ACPI_TYPE_METHOD,4,2           ; @ACPI_TYPE_METHOD
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_AML_METHOD_ARG_COUNT,4,2       ; @AML_METHOD_ARG_COUNT
	.comm	_AML_METHOD_SERIALIZED,4,2      ; @AML_METHOD_SERIALIZED
	.comm	_AML_METHOD_SYNC_LEVEL,4,2      ; @AML_METHOD_SYNC_LEVEL
.subsections_via_symbols
