	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_create_walk_state      ## -- Begin function acpi_ds_create_walk_state
	.p2align	4, 0x90
_acpi_ds_create_walk_state:             ## @acpi_ds_create_walk_state
	.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, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movl	%edi, %r13d
	movq	_ds_create_walk_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movl	$48, %edi
	callq	_ACPI_ALLOCATE_ZEROED
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_return_PTR
LBB0_2:
	movq	_ACPI_DESC_TYPE_WALK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	%r12, 32(%rbx)
	movl	%r13d, 24(%rbx)
	movq	%r15, 16(%rbx)
	movq	%r14, 8(%rbx)
	movq	%r15, (%rbx)
	movq	%rbx, %rdi
	callq	_acpi_ds_method_data_init
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_acpi_ds_push_walk_state
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_PTR                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_create_walk_state,4,2       ## @ds_create_walk_state
	.comm	_ACPI_DESC_TYPE_WALK,4,2        ## @ACPI_DESC_TYPE_WALK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_create_walk_state      ; -- Begin function acpi_ds_create_walk_state
	.p2align	2
_acpi_ds_create_walk_state:             ; @acpi_ds_create_walk_state
	.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, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _ds_create_walk_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_create_walk_state@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	mov	w0, #48
	bl	_ACPI_ALLOCATE_ZEROED
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_return_PTR
LBB0_2:
Lloh3:
	adrp	x8, _ACPI_DESC_TYPE_WALK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_DESC_TYPE_WALK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	str	x22, [x20, #32]
	str	w23, [x20, #24]
	stp	x19, x21, [x20, #8]
	str	x21, [x20]
	mov	x0, x20
	bl	_acpi_ds_method_data_init
	cbz	x19, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_acpi_ds_push_walk_state
LBB0_4:
	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_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_create_walk_state,4,2       ; @ds_create_walk_state
	.comm	_ACPI_DESC_TYPE_WALK,4,2        ; @ACPI_DESC_TYPE_WALK
.subsections_via_symbols
