	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_tb_find_table             ## -- Begin function acpi_tb_find_table
	.p2align	4, 0x90
_acpi_tb_find_table:                    ## @acpi_tb_find_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_tb_find_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_ACPI_MEMSET
	movl	-56(%rbp), %edi
	movq	_ACPI_NAME_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rsi
	callq	_ACPI_STRNCPY
	movl	-48(%rbp), %edi
	movq	_ACPI_OEM_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_ACPI_STRNCPY
	movl	-52(%rbp), %edi
	movq	_ACPI_OEM_TABLE_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	callq	_ACPI_STRNCPY
	movq	_acpi_gbl_root_table_list@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_14
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movl	-56(%rbp), %edi
	callq	_ACPI_DEBUG_PRINT
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	addq	$16, %r15
	cmpq	(%r14), %r12
	jae	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	leaq	(%rax,%r15), %rdi
	addq	$8, %rdi
	movl	-56(%rbp), %esi
	movl	(%r13), %edx
	callq	_ACPI_MEMCMP
	testq	%rax, %rax
	jne	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rdi
	movq	(%rdi,%r15), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r15, %rdi
	callq	_acpi_tb_verify_table
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15), %rax
	testq	%rax, %rax
	je	LBB0_13
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rax), %rdi
	movl	-56(%rbp), %esi
	movl	(%r13), %edx
	callq	_ACPI_MEMCMP
	testq	%rax, %rax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15), %rax
	movq	8(%rax), %rdi
	movl	-48(%rbp), %esi
	movq	_ACPI_OEM_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ACPI_MEMCMP
	testq	%rax, %rax
	jne	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15), %rax
	movq	(%rax), %rdi
	movl	-52(%rbp), %esi
	movq	_ACPI_OEM_TABLE_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ACPI_MEMCMP
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_12
LBB0_14:
	movq	_AE_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tb_find_table,4,2              ## @tb_find_table
	.comm	_ACPI_NAME_SIZE,4,2             ## @ACPI_NAME_SIZE
	.comm	_ACPI_OEM_ID_SIZE,4,2           ## @ACPI_OEM_ID_SIZE
	.comm	_ACPI_OEM_TABLE_ID_SIZE,4,2     ## @ACPI_OEM_TABLE_ID_SIZE
	.comm	_acpi_gbl_root_table_list,16,3  ## @acpi_gbl_root_table_list
	.comm	_ACPI_DB_TABLES,4,2             ## @ACPI_DB_TABLES
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_AE_NOT_FOUND,4,2               ## @AE_NOT_FOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_tb_find_table             ; -- Begin function acpi_tb_find_table
	.p2align	2
_acpi_tb_find_table:                    ; @acpi_tb_find_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _tb_find_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tb_find_table@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_ACPI_MEMSET
	ldr	w0, [sp]
Lloh3:
	adrp	x23, _ACPI_NAME_SIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ACPI_NAME_SIZE@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_ACPI_STRNCPY
	ldr	w0, [sp, #8]
Lloh5:
	adrp	x24, _ACPI_OEM_ID_SIZE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ACPI_OEM_ID_SIZE@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x1, x21
	bl	_ACPI_STRNCPY
	ldr	w0, [sp, #4]
Lloh7:
	adrp	x25, _ACPI_OEM_TABLE_ID_SIZE@GOTPAGE
Lloh8:
	ldr	x25, [x25, _ACPI_OEM_TABLE_ID_SIZE@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x1, x20
	bl	_ACPI_STRNCPY
Lloh9:
	adrp	x26, _acpi_gbl_root_table_list@GOTPAGE
Lloh10:
	ldr	x26, [x26, _acpi_gbl_root_table_list@GOTPAGEOFF]
	ldr	x8, [x26]
	cbz	x8, LBB0_14
; %bb.1:
	mov	x27, #0
	mov	x28, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x28, [x19]
	ldr	w0, [sp]
	bl	_ACPI_DEBUG_PRINT
Lloh11:
	adrp	x8, _AE_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x28, x28, #1
	ldr	x8, [x26]
	add	x27, x27, #16
	cmp	x28, x8
	b.hs	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, #8]
	add	x8, x8, x27
	add	x0, x8, #8
	ldr	w1, [sp]
	ldr	w2, [x23]
	bl	_ACPI_MEMCMP
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #8]
	add	x0, x8, x27
	ldr	x8, [x0]
	cbnz	x8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_acpi_tb_verify_table
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_return_ACPI_STATUS
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #8]
	ldr	x8, [x8, x27]
	cbz	x8, LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x8, #16]
	ldr	w1, [sp]
	ldr	w2, [x23]
	bl	_ACPI_MEMCMP
	cbnz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x21]
	cbz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #8]
	ldr	x8, [x8, x27]
	ldr	x0, [x8, #8]
	ldr	w1, [sp, #8]
	ldr	w2, [x24]
	bl	_ACPI_MEMCMP
	cbnz	x0, LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20]
	cbz	w8, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #8]
	ldr	x8, [x8, x27]
	ldr	x0, [x8]
	ldr	w1, [sp, #4]
	ldr	w2, [x25]
	bl	_ACPI_MEMCMP
	cbnz	x0, LBB0_3
	b	LBB0_2
LBB0_14:
Lloh14:
	adrp	x8, _AE_NOT_FOUND@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AE_NOT_FOUND@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_tb_find_table,4,2              ; @tb_find_table
	.comm	_ACPI_NAME_SIZE,4,2             ; @ACPI_NAME_SIZE
	.comm	_ACPI_OEM_ID_SIZE,4,2           ; @ACPI_OEM_ID_SIZE
	.comm	_ACPI_OEM_TABLE_ID_SIZE,4,2     ; @ACPI_OEM_TABLE_ID_SIZE
	.comm	_acpi_gbl_root_table_list,16,3  ; @acpi_gbl_root_table_list
	.comm	_ACPI_DB_TABLES,4,2             ; @ACPI_DB_TABLES
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_AE_NOT_FOUND,4,2               ; @AE_NOT_FOUND
.subsections_via_symbols
