	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_create_region          ## -- Begin function acpi_ex_create_region
	.p2align	4, 0x90
_acpi_ex_create_region:                 ## @acpi_ex_create_region
	.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	%rcx, %rbx
	movq	%rdx, %r13
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	_ex_create_region@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	(%rbx), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_acpi_ns_get_attached_object
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	_ACPI_NUM_PREDEFINED_REGIONS@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jg	LBB0_5
## %bb.3:
	movq	_ACPI_USER_REGION_BEGIN@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jle	LBB0_5
## %bb.4:
	movl	%r13d, %edi
	callq	_ACPI_ERROR
	movq	_AE_AML_INVALID_SPACE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_5:
	movq	%r13, %rdi
	callq	_acpi_ut_get_region_name
	movl	%r13d, %edi
	callq	_ACPI_DEBUG_PRINT
	movq	_ACPI_TYPE_REGION@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_acpi_ut_create_internal_object
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	(%rbx), %rax
	movq	%r12, (%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rax)
	movq	%r13, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	%r15, (%rbx)
	movl	(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_acpi_ns_attach_object
	movl	%eax, %r14d
	jmp	LBB0_8
LBB0_6:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_8:
	movq	%rbx, %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_region,4,2           ## @ex_create_region
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_ACPI_NUM_PREDEFINED_REGIONS,8,3 ## @ACPI_NUM_PREDEFINED_REGIONS
	.comm	_ACPI_USER_REGION_BEGIN,8,3     ## @ACPI_USER_REGION_BEGIN
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_AML_INVALID_SPACE_ID,4,2    ## @AE_AML_INVALID_SPACE_ID
	.comm	_ACPI_DB_LOAD,4,2               ## @ACPI_DB_LOAD
	.comm	_ACPI_TYPE_REGION,4,2           ## @ACPI_TYPE_REGION
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_create_region          ; -- Begin function acpi_ex_create_region
	.p2align	2
_acpi_ex_create_region:                 ; @acpi_ex_create_region
	.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, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _ex_create_region@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ex_create_region@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	ldr	x8, [x21]
	ldr	x21, [x8]
	mov	x0, x21
	bl	_acpi_ns_get_attached_object
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
Lloh6:
	adrp	x8, _ACPI_NUM_PREDEFINED_REGIONS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_NUM_PREDEFINED_REGIONS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _ACPI_USER_REGION_BEGIN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACPI_USER_REGION_BEGIN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x19
	ccmp	x9, x19, #4, le
	b.le	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_ACPI_ERROR
Lloh12:
	adrp	x8, _AE_AML_INVALID_SPACE_ID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AE_AML_INVALID_SPACE_ID@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:
	mov	x0, x19
	bl	_acpi_ut_get_region_name
	mov	x0, x19
	bl	_ACPI_DEBUG_PRINT
Lloh15:
	adrp	x24, _ACPI_TYPE_REGION@GOTPAGE
Lloh16:
	ldr	x24, [x24, _ACPI_TYPE_REGION@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_acpi_ut_create_internal_object
	mov	x23, x0
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x23]
	str	x22, [x8]
	str	w20, [x8, #8]
	stp	xzr, x19, [x23, #16]
	stp	x21, xzr, [x23]
	ldr	w2, [x24]
	mov	x0, x21
	mov	x1, x23
	bl	_acpi_ns_attach_object
	mov	x19, x0
	b	LBB0_7
LBB0_6:
Lloh17:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
LBB0_7:
	mov	x0, x23
	bl	_acpi_ut_remove_reference
	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
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ex_create_region,4,2           ; @ex_create_region
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_ACPI_NUM_PREDEFINED_REGIONS,8,3 ; @ACPI_NUM_PREDEFINED_REGIONS
	.comm	_ACPI_USER_REGION_BEGIN,8,3     ; @ACPI_USER_REGION_BEGIN
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_AML_INVALID_SPACE_ID,4,2    ; @AE_AML_INVALID_SPACE_ID
	.comm	_ACPI_DB_LOAD,4,2               ; @ACPI_DB_LOAD
	.comm	_ACPI_TYPE_REGION,4,2           ; @ACPI_TYPE_REGION
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
.subsections_via_symbols
