	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_tb_store_table            ## -- Begin function acpi_tb_store_table
	.p2align	4, 0x90
_acpi_tb_store_table:                   ## @acpi_tb_store_table
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r12
	movl	%edi, %r14d
	movq	_acpi_gbl_root_table_list@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	8(%r15), %rax
	jae	LBB0_2
## %bb.1:
	movq	_AE_OK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	jmp	LBB0_4
LBB0_2:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_acpi_tb_resize_root_table_list
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	(%r15), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_4:
	movq	16(%r15), %rdx
	leaq	(%rax,%rax,4), %rax
	movl	%r14d, 32(%rdx,%rax,8)
	movq	%r12, 24(%rdx,%rax,8)
	movq	%r13, (%rdx,%rax,8)
	movq	$0, 16(%rdx,%rax,8)
	movl	%ecx, 12(%rdx,%rax,8)
	leaq	(%rdx,%rax,8), %rdi
	addq	$8, %rdi
	movl	(%r12), %esi
	callq	_ACPI_MOVE_32_TO_32
	movq	(%r15), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	incq	(%r15)
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_acpi_gbl_root_table_list,24,3  ## @acpi_gbl_root_table_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_tb_store_table            ; -- Begin function acpi_tb_store_table
	.p2align	2
_acpi_tb_store_table:                   ; @acpi_tb_store_table
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x24, x0
Lloh0:
	adrp	x25, _acpi_gbl_root_table_list@GOTPAGE
Lloh1:
	ldr	x25, [x25, _acpi_gbl_root_table_list@GOTPAGEOFF]
	ldp	x8, x9, [x25]
	cmp	x8, x9
	b.hs	LBB0_2
; %bb.1:
Lloh2:
	adrp	x9, _AE_OK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AE_OK@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x9]
	b	LBB0_4
LBB0_2:
	bl	_acpi_tb_resize_root_table_list
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x25]
LBB0_4:
	ldr	x9, [x25, #16]
	mov	w10, #40
	madd	x8, x8, x10, x9
	str	w24, [x8, #32]
	str	x23, [x8]
	stp	xzr, x21, [x8, #16]
	str	w22, [x8, #12]
	add	x0, x8, #8
	ldr	w1, [x21]
	bl	_ACPI_MOVE_32_TO_32
	ldr	x8, [x25]
	str	x8, [x19]
	ldr	x8, [x25]
	add	x8, x8, #1
	str	x8, [x25]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_acpi_gbl_root_table_list,24,3  ; @acpi_gbl_root_table_list
.subsections_via_symbols
