	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function basl_fwrite_xsdt
_basl_fwrite_xsdt:                      ## @basl_fwrite_xsdt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	movq	_basl_acpi_base@GOTPCREL(%rip), %r14
	movq	_MADT_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	(%r14), %rdx
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	movq	_FADT_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	(%r14), %rdx
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	movq	_HPET_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	(%r14), %rdx
	leaq	L_.str.15(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	movq	_MCFG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	(%r14), %rdx
	leaq	L_.str.16(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_EFPRINTF
	movq	%rbx, %rdi
	callq	_EFFLUSH
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/*\n"

L_.str.1:                               ## @.str.1
	.asciz	" * bhyve XSDT template\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"[0004]\t\tSignature : \"XSDT\"\n"

L_.str.4:                               ## @.str.4
	.asciz	"[0004]\t\tTable Length : 00000000\n"

L_.str.5:                               ## @.str.5
	.asciz	"[0001]\t\tRevision : 01\n"

L_.str.6:                               ## @.str.6
	.asciz	"[0001]\t\tChecksum : 00\n"

L_.str.7:                               ## @.str.7
	.asciz	"[0006]\t\tOem ID : \"BHYVE \"\n"

L_.str.8:                               ## @.str.8
	.asciz	"[0008]\t\tOem Table ID : \"BVXSDT  \"\n"

L_.str.9:                               ## @.str.9
	.asciz	"[0004]\t\tOem Revision : 00000001\n"

L_.str.10:                              ## @.str.10
	.asciz	"[0004]\t\tAsl Compiler ID : \"xxxx\"\n"

L_.str.11:                              ## @.str.11
	.asciz	"[0004]\t\tAsl Compiler Revision : 00000000\n"

L_.str.12:                              ## @.str.12
	.asciz	"\n"

L_.str.13:                              ## @.str.13
	.asciz	"[0004]\t\tACPI Table Address 0 : 00000000%08X\n"

	.comm	_basl_acpi_base,8,3             ## @basl_acpi_base
	.comm	_MADT_OFFSET,8,3                ## @MADT_OFFSET
L_.str.14:                              ## @.str.14
	.asciz	"[0004]\t\tACPI Table Address 1 : 00000000%08X\n"

	.comm	_FADT_OFFSET,8,3                ## @FADT_OFFSET
L_.str.15:                              ## @.str.15
	.asciz	"[0004]\t\tACPI Table Address 2 : 00000000%08X\n"

	.comm	_HPET_OFFSET,8,3                ## @HPET_OFFSET
L_.str.16:                              ## @.str.16
	.asciz	"[0004]\t\tACPI Table Address 3 : 00000000%08X\n"

	.comm	_MCFG_OFFSET,8,3                ## @MCFG_OFFSET
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_basl_fwrite_xsdt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function basl_fwrite_xsdt
_basl_fwrite_xsdt:                      ; @basl_fwrite_xsdt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_EFPRINTF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh24:
	adrp	x1, l_.str.12@PAGE
Lloh25:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
Lloh26:
	adrp	x20, _basl_acpi_base@GOTPAGE
Lloh27:
	ldr	x20, [x20, _basl_acpi_base@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh28:
	adrp	x9, _MADT_OFFSET@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MADT_OFFSET@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.13@PAGE
Lloh32:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
	ldr	x8, [x20]
Lloh33:
	adrp	x9, _FADT_OFFSET@GOTPAGE
Lloh34:
	ldr	x9, [x9, _FADT_OFFSET@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [sp]
Lloh36:
	adrp	x1, l_.str.14@PAGE
Lloh37:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
	ldr	x8, [x20]
Lloh38:
	adrp	x9, _HPET_OFFSET@GOTPAGE
Lloh39:
	ldr	x9, [x9, _HPET_OFFSET@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [sp]
Lloh41:
	adrp	x1, l_.str.15@PAGE
Lloh42:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
	ldr	x8, [x20]
Lloh43:
	adrp	x9, _MCFG_OFFSET@GOTPAGE
Lloh44:
	ldr	x9, [x9, _MCFG_OFFSET@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [sp]
Lloh46:
	adrp	x1, l_.str.16@PAGE
Lloh47:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	bl	_EFPRINTF
	mov	x0, x19
	bl	_EFFLUSH
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/*\n"

l_.str.1:                               ; @.str.1
	.asciz	" * bhyve XSDT template\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"[0004]\t\tSignature : \"XSDT\"\n"

l_.str.4:                               ; @.str.4
	.asciz	"[0004]\t\tTable Length : 00000000\n"

l_.str.5:                               ; @.str.5
	.asciz	"[0001]\t\tRevision : 01\n"

l_.str.6:                               ; @.str.6
	.asciz	"[0001]\t\tChecksum : 00\n"

l_.str.7:                               ; @.str.7
	.asciz	"[0006]\t\tOem ID : \"BHYVE \"\n"

l_.str.8:                               ; @.str.8
	.asciz	"[0008]\t\tOem Table ID : \"BVXSDT  \"\n"

l_.str.9:                               ; @.str.9
	.asciz	"[0004]\t\tOem Revision : 00000001\n"

l_.str.10:                              ; @.str.10
	.asciz	"[0004]\t\tAsl Compiler ID : \"xxxx\"\n"

l_.str.11:                              ; @.str.11
	.asciz	"[0004]\t\tAsl Compiler Revision : 00000000\n"

l_.str.12:                              ; @.str.12
	.asciz	"\n"

l_.str.13:                              ; @.str.13
	.asciz	"[0004]\t\tACPI Table Address 0 : 00000000%08X\n"

	.comm	_basl_acpi_base,8,3             ; @basl_acpi_base
	.comm	_MADT_OFFSET,8,3                ; @MADT_OFFSET
l_.str.14:                              ; @.str.14
	.asciz	"[0004]\t\tACPI Table Address 1 : 00000000%08X\n"

	.comm	_FADT_OFFSET,8,3                ; @FADT_OFFSET
l_.str.15:                              ; @.str.15
	.asciz	"[0004]\t\tACPI Table Address 2 : 00000000%08X\n"

	.comm	_HPET_OFFSET,8,3                ; @HPET_OFFSET
l_.str.16:                              ; @.str.16
	.asciz	"[0004]\t\tACPI Table Address 3 : 00000000%08X\n"

	.comm	_MCFG_OFFSET,8,3                ; @MCFG_OFFSET
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_basl_fwrite_xsdt
.subsections_via_symbols
