	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function basl_fwrite_dsdt
_basl_fwrite_dsdt:                      ## @basl_fwrite_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_dsdt_fp@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_dsdt_error@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movq	_dsdt_indent_level@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	leaq	L_.str(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.1(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.2(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.3(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.4(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.5(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.6(%rip), %rbx
	movq	%rbx, %rdi
	callq	_dsdt_line
	leaq	L_.str.7(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.8(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.9(%rip), %rdi
	callq	_dsdt_line
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_pci_write_dsdt
	leaq	L_.str.10(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.11(%rip), %rdi
	callq	_dsdt_line
	movq	%rbx, %rdi
	callq	_dsdt_line
	leaq	L_.str.12(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.13(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.14(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.15(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.16(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.17(%rip), %rdi
	callq	_dsdt_line
	movl	$4, %edi
	callq	_dsdt_indent
	movl	$-19922944, %edi                ## imm = 0xFED00000
	movl	$1024, %esi                     ## imm = 0x400
	callq	_dsdt_fixed_mem32
	movl	$4, %edi
	callq	_dsdt_unindent
	leaq	L_.str.18(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.19(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.20(%rip), %rdi
	callq	_dsdt_line
	leaq	L_.str.21(%rip), %rdi
	callq	_dsdt_line
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_EFFLUSH
LBB0_3:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dsdt_fp,8,3                    ## @dsdt_fp
	.comm	_dsdt_error,8,3                 ## @dsdt_error
	.comm	_dsdt_indent_level,8,3          ## @dsdt_indent_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/*"

L_.str.1:                               ## @.str.1
	.asciz	" * bhyve DSDT template"

L_.str.2:                               ## @.str.2
	.asciz	" */"

L_.str.3:                               ## @.str.3
	.asciz	"DefinitionBlock (\"bhyve_dsdt.aml\", \"DSDT\", 2,\"BHYVE \", \"BVDSDT  \", 0x00000001)"

L_.str.4:                               ## @.str.4
	.asciz	"{"

L_.str.5:                               ## @.str.5
	.asciz	"  Name (_S5, Package ()"

L_.str.6:                               ## @.str.6
	.asciz	"  {"

L_.str.7:                               ## @.str.7
	.asciz	"      0x05,"

L_.str.8:                               ## @.str.8
	.asciz	"      Zero,"

L_.str.9:                               ## @.str.9
	.asciz	"  })"

L_.str.10:                              ## @.str.10
	.space	1

L_.str.11:                              ## @.str.11
	.asciz	"  Scope (_SB.PC00)"

L_.str.12:                              ## @.str.12
	.asciz	"    Device (HPET)"

L_.str.13:                              ## @.str.13
	.asciz	"    {"

L_.str.14:                              ## @.str.14
	.asciz	"      Name (_HID, EISAID(\"PNP0103\"))"

L_.str.15:                              ## @.str.15
	.asciz	"      Name (_UID, 0)"

L_.str.16:                              ## @.str.16
	.asciz	"      Name (_CRS, ResourceTemplate ()"

L_.str.17:                              ## @.str.17
	.asciz	"      {"

L_.str.18:                              ## @.str.18
	.asciz	"      })"

L_.str.19:                              ## @.str.19
	.asciz	"    }"

L_.str.20:                              ## @.str.20
	.asciz	"  }"

L_.str.21:                              ## @.str.21
	.asciz	"}"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_basl_fwrite_dsdt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function basl_fwrite_dsdt
_basl_fwrite_dsdt:                      ; @basl_fwrite_dsdt
	.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	x19, x0
Lloh0:
	adrp	x8, _dsdt_fp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dsdt_fp@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x21, _dsdt_error@GOTPAGE
Lloh4:
	ldr	x21, [x21, _dsdt_error@GOTPAGEOFF]
	str	xzr, [x21]
Lloh5:
	adrp	x8, _dsdt_indent_level@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dsdt_indent_level@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dsdt_line
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dsdt_line
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dsdt_line
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dsdt_line
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dsdt_line
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dsdt_line
Lloh20:
	adrp	x20, l_.str.6@PAGE
Lloh21:
	add	x20, x20, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dsdt_line
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_dsdt_line
Lloh24:
	adrp	x0, l_.str.8@PAGE
Lloh25:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_dsdt_line
Lloh26:
	adrp	x0, l_.str.9@PAGE
Lloh27:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_dsdt_line
	bl	_pci_write_dsdt
Lloh28:
	adrp	x0, l_.str.10@PAGE
Lloh29:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_dsdt_line
Lloh30:
	adrp	x0, l_.str.11@PAGE
Lloh31:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_dsdt_line
	mov	x0, x20
	bl	_dsdt_line
Lloh32:
	adrp	x0, l_.str.12@PAGE
Lloh33:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_dsdt_line
Lloh34:
	adrp	x0, l_.str.13@PAGE
Lloh35:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_dsdt_line
Lloh36:
	adrp	x0, l_.str.14@PAGE
Lloh37:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_dsdt_line
Lloh38:
	adrp	x0, l_.str.15@PAGE
Lloh39:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_dsdt_line
Lloh40:
	adrp	x0, l_.str.16@PAGE
Lloh41:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_dsdt_line
Lloh42:
	adrp	x0, l_.str.17@PAGE
Lloh43:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_dsdt_line
	mov	w0, #4
	bl	_dsdt_indent
	mov	w0, #-19922944
	mov	w1, #1024
	bl	_dsdt_fixed_mem32
	mov	w0, #4
	bl	_dsdt_unindent
Lloh44:
	adrp	x0, l_.str.18@PAGE
Lloh45:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_dsdt_line
Lloh46:
	adrp	x0, l_.str.19@PAGE
Lloh47:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_dsdt_line
Lloh48:
	adrp	x0, l_.str.20@PAGE
Lloh49:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_dsdt_line
Lloh50:
	adrp	x0, l_.str.21@PAGE
Lloh51:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_dsdt_line
	ldr	x0, [x21]
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_EFFLUSH
	mov	w0, #0
LBB0_2:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
	ret
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dsdt_fp,8,3                    ; @dsdt_fp
	.comm	_dsdt_error,8,3                 ; @dsdt_error
	.comm	_dsdt_indent_level,8,3          ; @dsdt_indent_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/*"

l_.str.1:                               ; @.str.1
	.asciz	" * bhyve DSDT template"

l_.str.2:                               ; @.str.2
	.asciz	" */"

l_.str.3:                               ; @.str.3
	.asciz	"DefinitionBlock (\"bhyve_dsdt.aml\", \"DSDT\", 2,\"BHYVE \", \"BVDSDT  \", 0x00000001)"

l_.str.4:                               ; @.str.4
	.asciz	"{"

l_.str.5:                               ; @.str.5
	.asciz	"  Name (_S5, Package ()"

l_.str.6:                               ; @.str.6
	.asciz	"  {"

l_.str.7:                               ; @.str.7
	.asciz	"      0x05,"

l_.str.8:                               ; @.str.8
	.asciz	"      Zero,"

l_.str.9:                               ; @.str.9
	.asciz	"  })"

l_.str.10:                              ; @.str.10
	.space	1

l_.str.11:                              ; @.str.11
	.asciz	"  Scope (_SB.PC00)"

l_.str.12:                              ; @.str.12
	.asciz	"    Device (HPET)"

l_.str.13:                              ; @.str.13
	.asciz	"    {"

l_.str.14:                              ; @.str.14
	.asciz	"      Name (_HID, EISAID(\"PNP0103\"))"

l_.str.15:                              ; @.str.15
	.asciz	"      Name (_UID, 0)"

l_.str.16:                              ; @.str.16
	.asciz	"      Name (_CRS, ResourceTemplate ()"

l_.str.17:                              ; @.str.17
	.asciz	"      {"

l_.str.18:                              ; @.str.18
	.asciz	"      })"

l_.str.19:                              ; @.str.19
	.asciz	"    }"

l_.str.20:                              ; @.str.20
	.asciz	"  }"

l_.str.21:                              ; @.str.21
	.asciz	"}"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_basl_fwrite_dsdt
.subsections_via_symbols
