	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_dsdt
_write_dsdt:                            ## @write_dsdt
	.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	%rdx, %rbx
	movl	%edi, %r14d
	movups	(%rdx), %xmm0
	movaps	%xmm0, -64(%rbp)
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r13
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	$0, -56(%rbp)
	leaq	16(%rbx), %rdi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	addl	$-16, %esi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_acpi_checksum
	movq	%rax, %rbx
	movq	_ACPI_SIG_SSDT@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_sdt_from_rsdt
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r12
	movl	-64(%rbp), %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	addl	%eax, %r14d
	addl	$-16, %r14d
	movl	%r14d, -64(%rbp)
	leaq	16(%r12), %rdi
	movl	(%r12), %esi
	addl	$-16, %esi
	callq	_acpi_checksum
	addq	%rax, %rbx
	movq	(%r15), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_sdt_from_rsdt
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_3
LBB0_4:
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_acpi_checksum
	addq	%rbx, %rax
	subq	%rax, -56(%rbp)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_write
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	addl	$-16, %edx
	movl	%r14d, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_write
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_sdt_from_rsdt
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	16(%rbx), %rsi
	movl	(%rbx), %edx
	addl	$-16, %edx
	movl	%r14d, %edi
	callq	_write
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_sdt_from_rsdt
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	leaq	-64(%rbp), %rsi
	movl	%r14d, %edi
	movl	$16, %edx
	callq	_write
	movl	(%rbx), %edx
	addq	$16, %rbx
	addl	$-16, %edx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_write
LBB0_8:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_SIG_SSDT,8,3              ## @ACPI_SIG_SSDT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSDT"

	.no_dead_strip	_write_dsdt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_dsdt
_write_dsdt:                            ; @write_dsdt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x19, x0
	ldr	q0, [x2]
	str	q0, [sp]
	cbz	x1, LBB0_7
; %bb.1:
	mov	x20, x1
	str	xzr, [sp, #8]
	mov	x22, x21
	ldr	w8, [x22], #16
	sub	w1, w8, #16
	mov	x0, x22
	bl	_acpi_checksum
	mov	x23, x0
Lloh0:
	adrp	x25, _ACPI_SIG_SSDT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ACPI_SIG_SSDT@GOTPAGEOFF]
	ldr	x1, [x25]
	mov	x0, x20
	mov	x2, #0
	bl	_sdt_from_rsdt
	cbz	x0, LBB0_4
; %bb.2:
	mov	x24, x0
	ldr	w26, [sp]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	add	w8, w8, w26
	sub	w26, w8, #16
	str	w26, [sp]
	mov	x0, x24
	ldr	w8, [x0], #16
	sub	w1, w8, #16
	bl	_acpi_checksum
	add	x23, x0, x23
	ldr	x1, [x25]
	mov	x0, x20
	mov	x2, x24
	bl	_sdt_from_rsdt
	mov	x24, x0
	cbnz	x0, LBB0_3
LBB0_4:
	mov	x0, sp
	mov	w1, #16
	bl	_acpi_checksum
	ldr	x8, [sp, #8]
	add	x9, x0, x23
	sub	x8, x8, x9
	str	x8, [sp, #8]
	mov	x1, sp
	mov	x0, x19
	mov	w2, #16
	bl	_write
	ldr	w8, [x21]
	sub	w2, w8, #16
	mov	x0, x19
	mov	x1, x22
	bl	_write
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	bl	_sdt_from_rsdt
	cbz	x0, LBB0_8
; %bb.5:
	mov	x21, x0
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x21
	ldr	w8, [x1], #16
	sub	w2, w8, #16
	mov	x0, x19
	bl	_write
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_sdt_from_rsdt
	mov	x21, x0
	cbnz	x0, LBB0_6
	b	LBB0_8
LBB0_7:
	mov	x1, sp
	mov	x0, x19
	mov	w2, #16
	bl	_write
	ldr	w8, [x21], #16
	sub	w2, w8, #16
	mov	x0, x19
	mov	x1, x21
	bl	_write
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_SIG_SSDT,8,3              ; @ACPI_SIG_SSDT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSDT"

	.no_dead_strip	_write_dsdt
.subsections_via_symbols
