	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_obj_stack_pop          ## -- Begin function acpi_ds_obj_stack_pop
	.p2align	4, 0x90
_acpi_ds_obj_stack_pop:                 ## @acpi_ds_obj_stack_pop
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_ds_obj_stack_pop@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_NAME
	testq	%r14, %r14
	jle	LBB0_1
## %bb.2:
	movq	(%rbx), %rdi
	leaq	-1(%rdi), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rdi
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, (%rbx)
	movq	8(%rbx), %rdx
	movq	$0, (%rdx,%rcx,8)
	incq	%rax
	decq	%rcx
	cmpq	%rax, %r14
	jne	LBB0_3
## %bb.6:
	subq	%rax, %rdi
	jmp	LBB0_7
LBB0_1:
	movq	(%rbx), %rdi
LBB0_7:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	movq	_AE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	xorl	%edi, %edi
	callq	_ACPI_ERROR
	movq	_AE_STACK_UNDERFLOW@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_obj_stack_pop,4,2           ## @ds_obj_stack_pop
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_STACK_UNDERFLOW,4,2         ## @AE_STACK_UNDERFLOW
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
	.comm	_AE_OK,4,2                      ## @AE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_obj_stack_pop          ; -- Begin function acpi_ds_obj_stack_pop
	.p2align	2
_acpi_ds_obj_stack_pop:                 ; @acpi_ds_obj_stack_pop
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ds_obj_stack_pop@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_obj_stack_pop@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_NAME
	cmp	x20, #0
	b.le	LBB0_5
; %bb.1:
	ldr	x8, [x19]
	sub	x8, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmn	x8, #1
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x8, [x19]
	ldr	x9, [x19, #8]
	str	xzr, [x9, x8, lsl #3]
	sub	x8, x8, #1
	subs	x20, x20, #1
	b.ne	LBB0_2
; %bb.4:
	add	x0, x8, #1
	b	LBB0_6
LBB0_5:
	ldr	x0, [x19]
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT
Lloh3:
	adrp	x8, _AE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w0, #0
	bl	_ACPI_ERROR
Lloh5:
	adrp	x8, _AE_STACK_UNDERFLOW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_STACK_UNDERFLOW@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_obj_stack_pop,4,2           ; @ds_obj_stack_pop
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_STACK_UNDERFLOW,4,2         ; @AE_STACK_UNDERFLOW
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
