	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_handle_tcpa
_acpi_handle_tcpa:                      ## @acpi_handle_tcpa
	.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	%rdi, %rbx
	movq	_BEGIN_COMMENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_acpi_print_sdt
	movl	(%rbx), %esi
	cmpl	$129, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_17
## %bb.3:
	movl	$4, %eax
	movl	$2, %ecx
	jmp	LBB0_4
LBB0_1:
	movl	$8, %eax
	movl	$6, %ecx
LBB0_4:
	movq	(%rbx,%rax,4), %r15
	movq	(%rbx,%rcx,4), %r14
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_printf
	testq	%r14, %r14
	je	LBB0_5
## %bb.6:
	cmpl	$1, (%rbx)
	jne	LBB0_8
## %bb.7:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_16
LBB0_17:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_16
LBB0_5:
	leaq	L_str.4(%rip), %rdi
	callq	_puts
	jmp	LBB0_16
LBB0_8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_acpi_map_physical
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:
	cmpq	$17, %r14
	jl	LBB0_16
## %bb.10:
	movq	%rax, %rbx
	addq	%rax, %r14
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	callq	_acpi_print_tcpa
	movslq	(%rbx), %rax
	leaq	(%rax,%rbx), %rcx
	addq	$32, %rcx
	addq	%rax, %rbx
	addq	$16, %rbx
	cmpq	%r14, %rcx
	jae	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rbx), %rax
	leaq	(%rbx,%rax), %rcx
	cmpq	%r14, %rcx
	jae	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	testl	%eax, %eax
	js	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, 8(%rbx)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	testl	%eax, %eax
	jne	LBB0_15
LBB0_16:
	movq	_END_COMMENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BEGIN_COMMENT,8,3              ## @BEGIN_COMMENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"XXX"

	.comm	_END_COMMENT,8,3                ## @END_COMMENT
L_.str.1:                               ## @.str.1
	.asciz	"\tClass %u Base Address 0x%jx Length %ju\n\n"

L_str:                                  ## @str
	.asciz	"\tOLD TCPA spec log found. Dumping not supported."

L_str.4:                                ## @str.4
	.asciz	"\tEmpty TCPA table"

	.no_dead_strip	_acpi_handle_tcpa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_handle_tcpa
_acpi_handle_tcpa:                      ; @acpi_handle_tcpa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _BEGIN_COMMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BEGIN_COMMENT@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_printf
	mov	x0, x19
	bl	_acpi_print_sdt
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.2:
	mov	w9, #4
	mov	w10, #2
	b	LBB0_4
LBB0_3:
	mov	w9, #8
	mov	w10, #6
LBB0_4:
	lsl	x10, x10, #2
	lsl	x9, x9, #2
	ldr	x21, [x19, x9]
	ldr	x20, [x19, x10]
	stp	x21, x20, [sp, #8]
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	cbz	x20, LBB0_8
; %bb.5:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.6:
Lloh5:
	adrp	x0, l_str@PAGE
Lloh6:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_15
LBB0_7:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	b	LBB0_15
LBB0_8:
Lloh9:
	adrp	x0, l_str.4@PAGE
Lloh10:
	add	x0, x0, l_str.4@PAGEOFF
	bl	_puts
	b	LBB0_15
LBB0_9:
	mov	x0, x21
	mov	x1, x20
	bl	_acpi_map_physical
	cmp	x0, #0
	ccmp	x20, #17, #8, ne
	b.lt	LBB0_15
; %bb.10:
	mov	x19, x0
	add	x20, x0, x20
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x19]
	add	x9, x19, x8
	cmp	x9, x20
	b.hs	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	tbnz	w8, #31, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x19, #8]
	cmp	x9, #0
	ccmp	w8, #0, #0, eq
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	bl	_acpi_print_tcpa
	ldrsw	x8, [x19]
	add	x8, x8, x19
	add	x19, x8, #16
	add	x8, x8, #32
	cmp	x8, x20
	b.lo	LBB0_11
LBB0_15:
Lloh11:
	adrp	x8, _END_COMMENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _END_COMMENT@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	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
	add	sp, sp, #80
	b	_printf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BEGIN_COMMENT,8,3              ; @BEGIN_COMMENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"XXX"

	.comm	_END_COMMENT,8,3                ; @END_COMMENT
l_.str.1:                               ; @.str.1
	.asciz	"\tClass %u Base Address 0x%jx Length %ju\n\n"

l_str:                                  ; @str
	.asciz	"\tOLD TCPA spec log found. Dumping not supported."

l_str.4:                                ; @str.4
	.asciz	"\tEmpty TCPA table"

	.no_dead_strip	_acpi_handle_tcpa
.subsections_via_symbols
