	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ds_result_stack_push
_acpi_ds_result_stack_push:             ## @acpi_ds_result_stack_push
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_ds_result_stack_push@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_NAME
	movq	(%rbx), %rdi
	movq	_ACPI_RESULTS_FRAME_OBJ_NUM@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	addq	%rdi, %rax
	movq	_ACPI_RESULTS_OBJ_NUM_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_2
## %bb.1:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
	movq	_AE_STACK_OVERFLOW@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
	callq	_acpi_ut_create_generic_state
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_ACPI_DESC_TYPE_STATE_RESULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	leaq	8(%rbx), %rdi
	movq	%rax, %rsi
	callq	_acpi_ut_push_generic_state
	movq	(%r14), %rax
	addq	%rax, (%rbx)
	movl	%ebx, %edi
	callq	_ACPI_DEBUG_PRINT
	movq	_AE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_result_stack_push,4,2       ## @ds_result_stack_push
	.comm	_ACPI_RESULTS_FRAME_OBJ_NUM,8,3 ## @ACPI_RESULTS_FRAME_OBJ_NUM
	.comm	_ACPI_RESULTS_OBJ_NUM_MAX,8,3   ## @ACPI_RESULTS_OBJ_NUM_MAX
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_STACK_OVERFLOW,4,2          ## @AE_STACK_OVERFLOW
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_DESC_TYPE_STATE_RESULT,4,2 ## @ACPI_DESC_TYPE_STATE_RESULT
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
	.comm	_AE_OK,4,2                      ## @AE_OK
	.no_dead_strip	_acpi_ds_result_stack_push
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ds_result_stack_push
_acpi_ds_result_stack_push:             ; @acpi_ds_result_stack_push
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _ds_result_stack_push@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_result_stack_push@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_NAME
	ldr	x0, [x19]
Lloh3:
	adrp	x20, _ACPI_RESULTS_FRAME_OBJ_NUM@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ACPI_RESULTS_FRAME_OBJ_NUM@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _ACPI_RESULTS_OBJ_NUM_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ACPI_RESULTS_OBJ_NUM_MAX@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x8, x8, x0
	cmp	x8, x9
	b.le	LBB0_2
; %bb.1:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_ERROR
Lloh8:
	adrp	x8, _AE_STACK_OVERFLOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AE_STACK_OVERFLOW@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	bl	_acpi_ut_create_generic_state
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x0
Lloh10:
	adrp	x8, _ACPI_DESC_TYPE_STATE_RESULT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ACPI_DESC_TYPE_STATE_RESULT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x0]
	add	x0, x19, #8
	bl	_acpi_ut_push_generic_state
	ldr	x8, [x20]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	mov	x0, x19
	bl	_ACPI_DEBUG_PRINT
Lloh13:
	adrp	x8, _AE_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_result_stack_push,4,2       ; @ds_result_stack_push
	.comm	_ACPI_RESULTS_FRAME_OBJ_NUM,8,3 ; @ACPI_RESULTS_FRAME_OBJ_NUM
	.comm	_ACPI_RESULTS_OBJ_NUM_MAX,8,3   ; @ACPI_RESULTS_OBJ_NUM_MAX
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_STACK_OVERFLOW,4,2          ; @AE_STACK_OVERFLOW
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_DESC_TYPE_STATE_RESULT,4,2 ; @ACPI_DESC_TYPE_STATE_RESULT
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
	.comm	_AE_OK,4,2                      ; @AE_OK
	.no_dead_strip	_acpi_ds_result_stack_push
.subsections_via_symbols
