	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_create_bank_field      ## -- Begin function acpi_ds_create_bank_field
	.p2align	4, 0x90
_acpi_ds_create_bank_field:             ## @acpi_ds_create_bank_field
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, -48(%rbp)
	movq	_ds_create_bank_field@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movq	24(%r14), %r13
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.1:
	movl	(%r12), %edi
	movl	20(%r13), %esi
	movq	_ACPI_TYPE_REGION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ACPI_IMODE_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ACPI_NS_SEARCH_PARENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-48(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r12, %r9
	callq	_acpi_ns_lookup
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	20(%r13), %edi
	movl	%r15d, %esi
	callq	_ACPI_ERROR_NAMESPACE
	movl	%r15d, %edi
	callq	_return_ACPI_STATUS
LBB0_3:
	movq	(%r13), %r15
	movl	(%r12), %edi
	movl	16(%r15), %esi
	movq	_ACPI_TYPE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ACPI_IMODE_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ACPI_NS_SEARCH_PARENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-56(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r12, %r9
	callq	_acpi_ns_lookup
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	16(%r15), %edi
	movl	%ebx, %esi
	callq	_ACPI_ERROR_NAMESPACE
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_5:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	movq	%rcx, -64(%rbp)
	movq	_ACPI_TYPE_LOCAL_BANK_FIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -72(%rbp)
	movq	-48(%rbp), %rcx
	movq	%rcx, -80(%rbp)
	movq	%r14, -88(%rbp)
	movq	(%rax), %rdx
	leaq	-88(%rbp), %rdi
	movq	%r12, %rsi
	callq	_acpi_ds_get_field_names
	movl	%eax, %edi
	callq	_return_ACPI_STATUS
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_create_bank_field,4,2       ## @ds_create_bank_field
	.comm	_ACPI_TYPE_REGION,4,2           ## @ACPI_TYPE_REGION
	.comm	_ACPI_IMODE_EXECUTE,4,2         ## @ACPI_IMODE_EXECUTE
	.comm	_ACPI_NS_SEARCH_PARENT,4,2      ## @ACPI_NS_SEARCH_PARENT
	.comm	_ACPI_TYPE_ANY,4,2              ## @ACPI_TYPE_ANY
	.comm	_ACPI_TYPE_LOCAL_BANK_FIELD,4,2 ## @ACPI_TYPE_LOCAL_BANK_FIELD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_create_bank_field      ; -- Begin function acpi_ds_create_bank_field
	.p2align	2
_acpi_ds_create_bank_field:             ; @acpi_ds_create_bank_field
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x1
	mov	x20, x0
	str	x1, [sp, #40]
Lloh0:
	adrp	x8, _ds_create_bank_field@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_create_bank_field@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_ACPI_FUNCTION_TRACE_PTR
	ldr	x24, [x20, #24]
Lloh3:
	adrp	x22, _ACPI_IMODE_EXECUTE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ACPI_IMODE_EXECUTE@GOTPAGEOFF]
Lloh5:
	adrp	x23, _ACPI_NS_SEARCH_PARENT@GOTPAGE
Lloh6:
	ldr	x23, [x23, _ACPI_NS_SEARCH_PARENT@GOTPAGEOFF]
	cbnz	x21, LBB0_3
; %bb.1:
	ldr	w0, [x19]
	ldr	w1, [x24, #20]
Lloh7:
	adrp	x8, _ACPI_TYPE_REGION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ACPI_TYPE_REGION@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	ldr	w3, [x22]
	ldr	w4, [x23]
	add	x6, sp, #40
	mov	x5, x19
	bl	_acpi_ns_lookup
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x24, #20]
	mov	x1, x21
	bl	_ACPI_ERROR_NAMESPACE
	mov	x0, x21
	bl	_return_ACPI_STATUS
LBB0_3:
	ldr	x24, [x24]
	ldr	w0, [x19]
Lloh10:
	adrp	x8, _ACPI_TYPE_ANY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ACPI_TYPE_ANY@GOTPAGEOFF]
	ldr	w1, [x24, #16]
Lloh12:
	ldr	w2, [x8]
	ldr	w3, [x22]
	ldr	w4, [x23]
	mov	x8, sp
	add	x6, x8, #32
	mov	x5, x19
	bl	_acpi_ns_lookup
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x24, #16]
	mov	x1, x21
	bl	_ACPI_ERROR_NAMESPACE
	mov	x0, x21
	bl	_return_ACPI_STATUS
LBB0_5:
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	x9, [x8, #8]
	str	x9, [sp, #24]
Lloh13:
	adrp	x9, _ACPI_TYPE_LOCAL_BANK_FIELD@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ACPI_TYPE_LOCAL_BANK_FIELD@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	str	w9, [sp, #16]
	ldr	x9, [sp, #40]
	stp	x20, x9, [sp]
	ldr	x2, [x8]
	mov	x0, sp
	mov	x1, x19
	bl	_acpi_ds_get_field_names
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_create_bank_field,4,2       ; @ds_create_bank_field
	.comm	_ACPI_TYPE_REGION,4,2           ; @ACPI_TYPE_REGION
	.comm	_ACPI_IMODE_EXECUTE,4,2         ; @ACPI_IMODE_EXECUTE
	.comm	_ACPI_NS_SEARCH_PARENT,4,2      ; @ACPI_NS_SEARCH_PARENT
	.comm	_ACPI_TYPE_ANY,4,2              ; @ACPI_TYPE_ANY
	.comm	_ACPI_TYPE_LOCAL_BANK_FIELD,4,2 ; @ACPI_TYPE_LOCAL_BANK_FIELD
.subsections_via_symbols
