	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_tb_set_table_loaded_flag  ## -- Begin function acpi_tb_set_table_loaded_flag
	.p2align	4, 0x90
_acpi_tb_set_table_loaded_flag:         ## @acpi_tb_set_table_loaded_flag
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ACPI_MTX_TABLES@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_acpi_ut_acquire_mutex
	movq	_acpi_gbl_root_table_list@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jbe	LBB0_4
## %bb.1:
	movq	_ACPI_TABLE_IS_LOADED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	8(%rax), %rax
	orl	%ecx, (%rax,%rbx,4)
	jmp	LBB0_4
LBB0_3:
	notl	%ecx
	movq	8(%rax), %rax
	andl	%ecx, (%rax,%rbx,4)
LBB0_4:
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_acpi_ut_release_mutex          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_MTX_TABLES,4,2            ## @ACPI_MTX_TABLES
	.comm	_acpi_gbl_root_table_list,16,3  ## @acpi_gbl_root_table_list
	.comm	_ACPI_TABLE_IS_LOADED,4,2       ## @ACPI_TABLE_IS_LOADED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_tb_set_table_loaded_flag  ; -- Begin function acpi_tb_set_table_loaded_flag
	.p2align	2
_acpi_tb_set_table_loaded_flag:         ; @acpi_tb_set_table_loaded_flag
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _ACPI_MTX_TABLES@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ACPI_MTX_TABLES@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_acpi_ut_acquire_mutex
Lloh2:
	adrp	x8, _acpi_gbl_root_table_list@GOTPAGE
Lloh3:
	ldr	x8, [x8, _acpi_gbl_root_table_list@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x9, x19
	b.ls	LBB0_5
; %bb.1:
Lloh4:
	adrp	x9, _ACPI_TABLE_IS_LOADED@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ACPI_TABLE_IS_LOADED@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cbz	x20, LBB0_3
; %bb.2:
	ldr	x8, [x8, #8]
	lsl	x10, x19, #2
	ldr	w11, [x8, x10]
	orr	w9, w11, w9
	b	LBB0_4
LBB0_3:
	ldr	x8, [x8, #8]
	lsl	x10, x19, #2
	ldr	w11, [x8, x10]
	bic	w9, w11, w9
LBB0_4:
	str	w9, [x8, x10]
LBB0_5:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_acpi_ut_release_mutex
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_MTX_TABLES,4,2            ; @ACPI_MTX_TABLES
	.comm	_acpi_gbl_root_table_list,16,3  ; @acpi_gbl_root_table_list
	.comm	_ACPI_TABLE_IS_LOADED,4,2       ; @ACPI_TABLE_IS_LOADED
.subsections_via_symbols
