	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	(%rsi), %rdi
	callq	_basename
	movq	_progname@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_guest_ncpus@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_threads@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_cores@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_sockets@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_maxcpus@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MB@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$8, %rax
	movq	%rax, -88(%rbp)
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	leaq	LJTI0_0(%rip), %r12
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_pincpu_parse
	testl	%eax, %eax
	je	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_errx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rsi
	leaq	L_.str(%rip), %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	incl	%eax
	cmpl	$121, %eax
	ja	LBB0_35
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r12,%rax,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_acpi@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	leaq	-88(%rbp), %rsi
	callq	_vm_parse_memsize
	testl	%eax, %eax
	je	LBB0_1
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_8
LBB0_32:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_x2apic_mode@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_strictio@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_34:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	callq	_usage
LBB0_35:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	callq	_usage
	jmp	LBB0_1
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %r14d
	movq	_optarg@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r13
	movq	%r13, %rdi
	callq	_strlen
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_69
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdi
	callq	_lpc_device_parse
	testl	%eax, %eax
	movl	%r14d, %r13d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_1
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_8
LBB0_33:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_x2apic_mode@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_topology_parse
	testl	%eax, %eax
	je	LBB0_1
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_8
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_atoi
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
LBB0_30:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_strictmsr@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_1
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_guest_uuid_str@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
LBB0_31:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_virtio_msix@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_VM_MEM_F_INCORE@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_1
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	cmpb	$119, (%rdi)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	incq	%rdi
	movq	%rdi, (%rax)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_atoi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_guest_vmexit_on_hlt@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_VM_MEM_F_WIRED@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_1
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %r14d
	movq	_optarg@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_70
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	callq	_pci_parse_slot
	testl	%eax, %eax
	movl	%r14d, %r13d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_1
	jmp	LBB0_21
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_guest_vmexit_on_pause@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_69:
	xorl	%eax, %eax
	callq	_lpc_print_supported_devices
	xorl	%edi, %edi
	callq	_exit
LBB0_70:
	xorl	%eax, %eax
	callq	_pci_print_supported_devices
	xorl	%edi, %edi
	callq	_exit
LBB0_21:
	movl	$4, %edi
	callq	_exit
LBB0_36:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	subl	%r14d, %r15d
	cmpl	$1, %r15d
	je	LBB0_38
## %bb.37:
	movl	$1, %edi
	callq	_usage
LBB0_38:
	movq	(%rbx,%r14,8), %rdi
	movq	_vmname@GOTPCREL(%rip), %r15
	movq	%rdi, (%r15)
	callq	_do_open
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_num_vcpus_allowed
	movq	_guest_ncpus@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	cmpl	%eax, %edx
	jle	LBB0_39
## %bb.71:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$4, %edi
	callq	_exit
LBB0_39:
	movq	_BSP@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_fbsdrun_set_capabilities
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_vm_set_memflags
	movq	-88(%rbp), %rsi
	movq	_VM_MMAP_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_vm_setup_memory
	testl	%eax, %eax
	jne	LBB0_40
## %bb.41:
	xorl	%eax, %eax
	callq	_init_msr
	testl	%eax, %eax
	jne	LBB0_42
## %bb.44:
	xorl	%eax, %eax
	callq	_init_mem
	xorl	%eax, %eax
	callq	_init_inout
	movq	%rbx, %rdi
	callq	_atkbdc_init
	movq	%rbx, %rdi
	callq	_pci_irq_init
	movq	%rbx, %rdi
	callq	_ioapic_init
	movq	%rbx, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	callq	_rtc_init
	movq	%rbx, %rdi
	callq	_sci_init
	movq	%rbx, %rdi
	callq	_init_pci
	testq	%rax, %rax
	jne	LBB0_45
## %bb.47:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	je	LBB0_49
## %bb.48:
	callq	_init_dbgport
LBB0_49:
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_51
## %bb.50:
	movq	%rbx, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_init_gdb
LBB0_51:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_53
## %bb.52:
	xorl	%eax, %eax
	callq	_init_bvmcons
LBB0_53:
	xorl	%eax, %eax
	callq	_lpc_bootrom
	testq	%rax, %rax
	je	LBB0_56
## %bb.54:
	movl	(%r14), %esi
	movq	_VM_CAP_UNRESTRICTED_GUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_vm_set_capability
	testq	%rax, %rax
	jne	LBB0_72
## %bb.55:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_vcpu_reset
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
LBB0_56:
	movl	(%r14), %esi
	movq	_VM_REG_GUEST_RIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-68(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_vm_get_register
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_59
## %bb.57:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_mptable_build
	testl	%eax, %eax
	jne	LBB0_58
LBB0_59:
	movq	%rbx, %rdi
	callq	_smbios_build
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	_acpi@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_61
## %bb.60:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_acpi_build
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
LBB0_61:
	xorl	%eax, %eax
	callq	_lpc_bootrom
	testq	%rax, %rax
	je	LBB0_63
## %bb.62:
	xorl	%eax, %eax
	callq	_fwctl_init
LBB0_63:
	movq	(%r15), %rsi
	leaq	L_.str.12(%rip), %rdi
	callq	_setproctitle
	xorl	%eax, %eax
	callq	_caph_cache_catpages
	xorl	%eax, %eax
	callq	_caph_limit_stdout
	cmpl	$-1, %eax
	je	LBB0_65
## %bb.64:
	xorl	%eax, %eax
	callq	_caph_limit_stderr
	cmpl	$-1, %eax
	jne	LBB0_66
LBB0_65:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.13(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_66:
	xorl	%eax, %eax
	callq	_caph_enter
	cmpl	$-1, %eax
	jne	LBB0_68
## %bb.67:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_68:
	movl	(%r14), %edx
	movl	-68(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_fbsdrun_addcpu
	xorl	%eax, %eax
	callq	_mevent_dispatch
	movl	$4, %edi
	callq	_exit
LBB0_40:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_43
LBB0_42:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.8(%rip), %rsi
	movl	%eax, %edx
LBB0_43:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$4, %edi
	callq	_exit
LBB0_45:
	leaq	L_.str.9(%rip), %rdi
LBB0_46:
	callq	_perror
	movl	$4, %edi
	callq	_exit
LBB0_72:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$4, %edi
	callq	_exit
LBB0_58:
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_46
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
LJTI0_0:
	.long	L0_0_set_36
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_4
	.long	L0_0_set_35
	.long	L0_0_set_11
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_13
	.long	L0_0_set_25
	.long	L0_0_set_1
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_26
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_22
	.long	L0_0_set_35
	.long	L0_0_set_29
	.long	L0_0_set_35
	.long	L0_0_set_31
	.long	L0_0_set_35
	.long	L0_0_set_33
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_35
	.long	L0_0_set_27
	.long	L0_0_set_35
	.long	L0_0_set_12
	.long	L0_0_set_34
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_16
	.long	L0_0_set_23
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_6
	.long	L0_0_set_35
	.long	L0_0_set_35
	.long	L0_0_set_19
	.long	L0_0_set_35
	.long	L0_0_set_28
	.long	L0_0_set_35
	.long	L0_0_set_30
	.long	L0_0_set_32
	.end_data_region
                                        ## -- End function
	.comm	_progname,4,2                   ## @progname
	.comm	_guest_ncpus,4,2                ## @guest_ncpus
	.comm	_threads,4,2                    ## @threads
	.comm	_cores,4,2                      ## @cores
	.comm	_sockets,4,2                    ## @sockets
	.comm	_maxcpus,8,3                    ## @maxcpus
	.comm	_MB,4,2                         ## @MB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"abehuwxACHIPSWYp:g:G:c:s:m:l:U:"

	.comm	_x2apic_mode,4,2                ## @x2apic_mode
	.comm	_acpi,4,2                       ## @acpi
	.comm	_optarg,8,3                     ## @optarg
	.comm	_EX_USAGE,4,2                   ## @EX_USAGE
L_.str.1:                               ## @.str.1
	.asciz	"invalid vcpu pinning configuration '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"invalid cpu topology '%s'"

	.comm	_VM_MEM_F_INCORE,4,2            ## @VM_MEM_F_INCORE
L_.str.3:                               ## @.str.3
	.asciz	"help"

L_.str.4:                               ## @.str.4
	.asciz	"invalid lpc device configuration '%s'"

	.comm	_VM_MEM_F_WIRED,4,2             ## @VM_MEM_F_WIRED
L_.str.5:                               ## @.str.5
	.asciz	"invalid memsize '%s'"

	.comm	_guest_vmexit_on_hlt,4,2        ## @guest_vmexit_on_hlt
	.comm	_guest_vmexit_on_pause,4,2      ## @guest_vmexit_on_pause
	.comm	_strictio,4,2                   ## @strictio
	.comm	_guest_uuid_str,8,3             ## @guest_uuid_str
	.comm	_strictmsr,4,2                  ## @strictmsr
	.comm	_virtio_msix,4,2                ## @virtio_msix
	.comm	_optind,8,3                     ## @optind
	.comm	_vmname,8,3                     ## @vmname
	.comm	_stderr,4,2                     ## @stderr
L_.str.6:                               ## @.str.6
	.asciz	"%d vCPUs requested but only %d available\n"

	.comm	_BSP,4,2                        ## @BSP
	.comm	_VM_MMAP_ALL,4,2                ## @VM_MMAP_ALL
L_.str.7:                               ## @.str.7
	.asciz	"Unable to setup memory (%d)\n"

	.comm	_errno,4,2                      ## @errno
L_.str.8:                               ## @.str.8
	.asciz	"init_msr error %d"

L_.str.9:                               ## @.str.9
	.asciz	"device emulation initialization error"

	.comm	_VM_CAP_UNRESTRICTED_GUEST,4,2  ## @VM_CAP_UNRESTRICTED_GUEST
L_.str.10:                              ## @.str.10
	.asciz	"ROM boot failed: unrestricted guest capability not available\n"

	.comm	_VM_REG_GUEST_RIP,4,2           ## @VM_REG_GUEST_RIP
L_.str.11:                              ## @.str.11
	.asciz	"error to build the guest tables"

L_.str.12:                              ## @.str.12
	.asciz	"%s"

	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
L_.str.13:                              ## @.str.13
	.asciz	"Unable to apply rights for sandbox"

L_.str.14:                              ## @.str.14
	.asciz	"cap_enter() failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x24, x1
	mov	x25, x0
	ldr	x0, [x1]
	bl	_basename
	mov	w21, #0
	mov	w20, #0
	stp	wzr, wzr, [sp, #20]             ; 8-byte Folded Spill
	mov	w23, #0
Lloh0:
	adrp	x8, _progname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x8, _guest_ncpus@GOTPAGE
Lloh4:
	ldr	x8, [x8, _guest_ncpus@GOTPAGEOFF]
	mov	w11, #1
Lloh5:
	str	w11, [x8]
Lloh6:
	adrp	x8, _threads@GOTPAGE
Lloh7:
	ldr	x8, [x8, _threads@GOTPAGEOFF]
Lloh8:
	adrp	x9, _cores@GOTPAGE
Lloh9:
	ldr	x9, [x9, _cores@GOTPAGEOFF]
Lloh10:
	str	w11, [x8]
Lloh11:
	str	w11, [x9]
Lloh12:
	adrp	x8, _sockets@GOTPAGE
Lloh13:
	ldr	x8, [x8, _sockets@GOTPAGEOFF]
Lloh14:
	adrp	x9, _maxcpus@GOTPAGE
Lloh15:
	ldr	x9, [x9, _maxcpus@GOTPAGEOFF]
	mov	w10, #1
	str	w10, [sp, #28]                  ; 4-byte Folded Spill
Lloh16:
	str	w11, [x8]
Lloh17:
	str	xzr, [x9]
Lloh18:
	adrp	x8, _MB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MB@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	lsl	x8, x8, #8
	str	x8, [sp, #32]
Lloh21:
	adrp	x26, l_.str@PAGE
Lloh22:
	add	x26, x26, l_.str@PAGEOFF
Lloh23:
	adrp	x28, lJTI0_0@PAGE
Lloh24:
	add	x28, x28, lJTI0_0@PAGEOFF
	mov	w22, #1
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh25:
	adrp	x8, _x2apic_mode@GOTPAGE
Lloh26:
	ldr	x8, [x8, _x2apic_mode@GOTPAGEOFF]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #1
	str	w9, [x8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x24
	mov	x2, x26
	bl	_getopt
	add	w8, w0, #1
	cmp	w8, #121
	b.hi	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh27:
	adrp	x8, _acpi@GOTPAGE
Lloh28:
	ldr	x8, [x8, _acpi@GOTPAGEOFF]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh29:
	adrp	x19, _optarg@GOTPAGE
Lloh30:
	ldr	x19, [x19, _optarg@GOTPAGEOFF]
	ldr	x0, [x19]
	add	x1, sp, #32
	bl	_vm_parse_memsize
	cbz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh31:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_errx
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh36:
	adrp	x8, _strictio@GOTPAGE
Lloh37:
	ldr	x8, [x8, _strictio@GOTPAGEOFF]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #0
	bl	_usage
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	bl	_usage
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh38:
	adrp	x19, _optarg@GOTPAGE
Lloh39:
	ldr	x19, [x19, _optarg@GOTPAGEOFF]
	ldr	x27, [x19]
	mov	x0, x27
	bl	_strlen
	mov	x2, x0
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x27
	bl	_strncmp
	cbz	w0, LBB0_36
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19]
	bl	_lpc_device_parse
	cbz	w0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh42:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh45:
	adrp	x1, l_.str.4@PAGE
Lloh46:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_errx
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh47:
	adrp	x8, _x2apic_mode@GOTPAGE
Lloh48:
	ldr	x8, [x8, _x2apic_mode@GOTPAGEOFF]
Lloh49:
	str	wzr, [x8]
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh50:
	adrp	x19, _optarg@GOTPAGE
Lloh51:
	ldr	x19, [x19, _optarg@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_topology_parse
	cbz	w0, LBB0_3
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh52:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh55:
	adrp	x1, l_.str.2@PAGE
Lloh56:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh57:
	adrp	x8, _optarg@GOTPAGE
Lloh58:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh59:
	ldr	x0, [x8]
	bl	_atoi
	mov	x20, x0
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh60:
	adrp	x8, _strictmsr@GOTPAGE
Lloh61:
	ldr	x8, [x8, _strictmsr@GOTPAGEOFF]
Lloh62:
	str	wzr, [x8]
	b	LBB0_3
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh63:
	adrp	x8, _optarg@GOTPAGE
Lloh64:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
Lloh66:
	adrp	x9, _guest_uuid_str@GOTPAGE
Lloh67:
	ldr	x9, [x9, _guest_uuid_str@GOTPAGEOFF]
Lloh68:
	str	x8, [x9]
	b	LBB0_3
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh69:
	adrp	x8, _virtio_msix@GOTPAGE
Lloh70:
	ldr	x8, [x8, _virtio_msix@GOTPAGEOFF]
Lloh71:
	str	wzr, [x8]
	b	LBB0_3
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #0
	b	LBB0_3
LBB0_24:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh72:
	adrp	x8, _VM_MEM_F_INCORE@GOTPAGE
Lloh73:
	ldr	x8, [x8, _VM_MEM_F_INCORE@GOTPAGEOFF]
	b	LBB0_30
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh74:
	adrp	x8, _optarg@GOTPAGE
Lloh75:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
	ldr	x0, [x8]
	ldrb	w9, [x0]
	cmp	w9, #119
	b.ne	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	str	x0, [x8]
	mov	w8, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_atoi
	mov	x21, x0
	b	LBB0_3
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh76:
	adrp	x8, _guest_vmexit_on_hlt@GOTPAGE
Lloh77:
	ldr	x8, [x8, _guest_vmexit_on_hlt@GOTPAGEOFF]
	b	LBB0_2
LBB0_29:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh78:
	adrp	x8, _VM_MEM_F_WIRED@GOTPAGE
Lloh79:
	ldr	x8, [x8, _VM_MEM_F_WIRED@GOTPAGEOFF]
LBB0_30:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
	orr	w23, w8, w23
	b	LBB0_3
LBB0_31:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh80:
	adrp	x19, _optarg@GOTPAGE
Lloh81:
	ldr	x19, [x19, _optarg@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_pincpu_parse
	cbz	w0, LBB0_3
; %bb.32:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh82:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh83:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh84:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh85:
	adrp	x1, l_.str.1@PAGE
Lloh86:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_errx
	b	LBB0_3
LBB0_33:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh87:
	adrp	x19, _optarg@GOTPAGE
Lloh88:
	ldr	x19, [x19, _optarg@GOTPAGEOFF]
	ldr	x27, [x19]
	mov	x0, x27
	bl	_strlen
	mov	x2, x0
Lloh89:
	adrp	x1, l_.str.3@PAGE
Lloh90:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x27
	bl	_strncmp
	cbz	w0, LBB0_37
; %bb.34:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19]
	bl	_pci_parse_slot
	cbz	w0, LBB0_3
	b	LBB0_38
LBB0_35:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh91:
	adrp	x8, _guest_vmexit_on_pause@GOTPAGE
Lloh92:
	ldr	x8, [x8, _guest_vmexit_on_pause@GOTPAGEOFF]
	b	LBB0_2
LBB0_36:
	bl	_lpc_print_supported_devices
	mov	w0, #0
	bl	_exit
LBB0_37:
	bl	_pci_print_supported_devices
	mov	w0, #0
	bl	_exit
LBB0_38:
	mov	w0, #4
	bl	_exit
LBB0_39:
Lloh93:
	adrp	x8, _optind@GOTPAGE
Lloh94:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh95:
	ldr	x19, [x8]
	sub	w8, w25, w19
	cmp	w8, #1
	b.eq	LBB0_41
; %bb.40:
	mov	w0, #1
	bl	_usage
LBB0_41:
	ldr	x0, [x24, x19, lsl #3]
Lloh96:
	adrp	x26, _vmname@GOTPAGE
Lloh97:
	ldr	x26, [x26, _vmname@GOTPAGEOFF]
	str	x0, [x26]
	bl	_do_open
	mov	x24, x0
	bl	_num_vcpus_allowed
                                        ; kill: def $w0 killed $w0 def $x0
Lloh98:
	adrp	x19, _guest_ncpus@GOTPAGE
Lloh99:
	ldr	x19, [x19, _guest_ncpus@GOTPAGEOFF]
	ldr	w9, [x19]
	cmp	w9, w0
	b.le	LBB0_44
; %bb.42:
Lloh100:
	adrp	x8, _stderr@GOTPAGE
Lloh101:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh102:
	ldr	w8, [x8]
	stp	x9, x0, [sp]
Lloh103:
	adrp	x1, l_.str.6@PAGE
Lloh104:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_43:
	mov	x0, x8
	b	LBB0_52
LBB0_44:
Lloh105:
	adrp	x25, _BSP@GOTPAGE
Lloh106:
	ldr	x25, [x25, _BSP@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x24
	bl	_fbsdrun_set_capabilities
	mov	x0, x24
	mov	x1, x23
	bl	_vm_set_memflags
	ldr	x1, [sp, #32]
Lloh107:
	adrp	x8, _VM_MMAP_ALL@GOTPAGE
Lloh108:
	ldr	x8, [x8, _VM_MMAP_ALL@GOTPAGEOFF]
Lloh109:
	ldr	w2, [x8]
	mov	x0, x24
	bl	_vm_setup_memory
	cbnz	w0, LBB0_51
; %bb.45:
	bl	_init_msr
                                        ; kill: def $w0 killed $w0 def $x0
	cbnz	w0, LBB0_53
; %bb.46:
	bl	_init_mem
	bl	_init_inout
	mov	x0, x24
	bl	_atkbdc_init
	mov	x0, x24
	bl	_pci_irq_init
	mov	x0, x24
	bl	_ioapic_init
	mov	x0, x24
	mov	x1, x22
	bl	_rtc_init
	mov	x0, x24
	bl	_sci_init
	mov	x0, x24
	bl	_init_pci
	cbnz	x0, LBB0_54
; %bb.47:
	cbnz	w20, LBB0_56
; %bb.48:
	cbnz	w21, LBB0_57
LBB0_49:
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_58
LBB0_50:
	bl	_lpc_bootrom
	cbnz	x0, LBB0_59
	b	LBB0_61
LBB0_51:
Lloh110:
	adrp	x8, _stderr@GOTPAGE
Lloh111:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh112:
	ldr	w0, [x8]
Lloh113:
	adrp	x8, _errno@GOTPAGE
Lloh114:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh115:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh116:
	adrp	x1, l_.str.7@PAGE
Lloh117:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_52:
	bl	_fprintf
	mov	w0, #4
	bl	_exit
LBB0_53:
Lloh118:
	adrp	x8, _stderr@GOTPAGE
Lloh119:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh120:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh121:
	adrp	x1, l_.str.8@PAGE
Lloh122:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_43
LBB0_54:
Lloh123:
	adrp	x0, l_.str.9@PAGE
Lloh124:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_55:
	bl	_perror
	mov	w0, #4
	bl	_exit
LBB0_56:
	mov	x0, x20
	bl	_init_dbgport
	cbz	w21, LBB0_49
LBB0_57:
	mov	x0, x24
	mov	x1, x21
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_init_gdb
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_50
LBB0_58:
	bl	_init_bvmcons
	bl	_lpc_bootrom
	cbz	x0, LBB0_61
LBB0_59:
	ldr	w1, [x25]
Lloh125:
	adrp	x8, _VM_CAP_UNRESTRICTED_GUEST@GOTPAGE
Lloh126:
	ldr	x8, [x8, _VM_CAP_UNRESTRICTED_GUEST@GOTPAGEOFF]
Lloh127:
	ldr	w2, [x8]
	mov	x0, x24
	mov	w3, #1
	bl	_vm_set_capability
	cbnz	x0, LBB0_73
; %bb.60:
	ldr	w1, [x25]
	mov	x0, x24
	bl	_vcpu_reset
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
LBB0_61:
	ldr	w1, [x25]
Lloh128:
	adrp	x8, _VM_REG_GUEST_RIP@GOTPAGE
Lloh129:
	ldr	x8, [x8, _VM_REG_GUEST_RIP@GOTPAGEOFF]
Lloh130:
	ldr	w2, [x8]
	add	x3, sp, #44
	mov	x0, x24
	bl	_vm_get_register
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_63
; %bb.62:
	ldr	w1, [x19]
	mov	x0, x24
	bl	_mptable_build
	cbnz	w0, LBB0_74
LBB0_63:
	mov	x0, x24
	bl	_smbios_build
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
Lloh131:
	adrp	x8, _acpi@GOTPAGE
Lloh132:
	ldr	x8, [x8, _acpi@GOTPAGEOFF]
Lloh133:
	ldr	w8, [x8]
	cbz	w8, LBB0_65
; %bb.64:
	ldr	w1, [x19]
	mov	x0, x24
	bl	_acpi_build
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
LBB0_65:
	bl	_lpc_bootrom
	cbz	x0, LBB0_67
; %bb.66:
	bl	_fwctl_init
LBB0_67:
	ldr	x1, [x26]
Lloh134:
	adrp	x0, l_.str.12@PAGE
Lloh135:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_setproctitle
	bl	_caph_cache_catpages
	bl	_caph_limit_stdout
Lloh136:
	adrp	x19, _EX_OSERR@GOTPAGE
Lloh137:
	ldr	x19, [x19, _EX_OSERR@GOTPAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_69
; %bb.68:
	bl	_caph_limit_stderr
	cmn	w0, #1
	b.ne	LBB0_70
LBB0_69:
	ldr	w0, [x19]
Lloh138:
	adrp	x1, l_.str.13@PAGE
Lloh139:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_errx
LBB0_70:
	bl	_caph_enter
	cmn	w0, #1
	b.ne	LBB0_72
; %bb.71:
	ldr	w0, [x19]
Lloh140:
	adrp	x1, l_.str.14@PAGE
Lloh141:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_errx
LBB0_72:
	ldr	w1, [x25]
	ldr	w3, [sp, #44]
	mov	x0, x24
	mov	x2, x1
	bl	_fbsdrun_addcpu
	bl	_mevent_dispatch
	mov	w0, #4
	bl	_exit
LBB0_73:
Lloh142:
	adrp	x8, _stderr@GOTPAGE
Lloh143:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh144:
	ldr	w0, [x8]
Lloh145:
	adrp	x1, l_.str.10@PAGE
Lloh146:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_52
LBB0_74:
Lloh147:
	adrp	x0, l_.str.11@PAGE
Lloh148:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_55
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotStr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotStr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotStr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpAdd	Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpAdd	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGot	Lloh136, Lloh137
	.loh AdrpAdd	Lloh134, Lloh135
	.loh AdrpAdd	Lloh138, Lloh139
	.loh AdrpAdd	Lloh140, Lloh141
	.loh AdrpAdd	Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh142, Lloh143, Lloh144
	.loh AdrpAdd	Lloh147, Lloh148
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_39-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_24-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_25-LBB0_1)>>2
	.byte	(LBB0_28-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_35-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_29-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_20-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_21-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_22-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_31-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_33-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_23-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
                                        ; -- End function
	.comm	_progname,4,2                   ; @progname
	.comm	_guest_ncpus,4,2                ; @guest_ncpus
	.comm	_threads,4,2                    ; @threads
	.comm	_cores,4,2                      ; @cores
	.comm	_sockets,4,2                    ; @sockets
	.comm	_maxcpus,8,3                    ; @maxcpus
	.comm	_MB,4,2                         ; @MB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"abehuwxACHIPSWYp:g:G:c:s:m:l:U:"

	.comm	_x2apic_mode,4,2                ; @x2apic_mode
	.comm	_acpi,4,2                       ; @acpi
	.comm	_optarg,8,3                     ; @optarg
	.comm	_EX_USAGE,4,2                   ; @EX_USAGE
l_.str.1:                               ; @.str.1
	.asciz	"invalid vcpu pinning configuration '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"invalid cpu topology '%s'"

	.comm	_VM_MEM_F_INCORE,4,2            ; @VM_MEM_F_INCORE
l_.str.3:                               ; @.str.3
	.asciz	"help"

l_.str.4:                               ; @.str.4
	.asciz	"invalid lpc device configuration '%s'"

	.comm	_VM_MEM_F_WIRED,4,2             ; @VM_MEM_F_WIRED
l_.str.5:                               ; @.str.5
	.asciz	"invalid memsize '%s'"

	.comm	_guest_vmexit_on_hlt,4,2        ; @guest_vmexit_on_hlt
	.comm	_guest_vmexit_on_pause,4,2      ; @guest_vmexit_on_pause
	.comm	_strictio,4,2                   ; @strictio
	.comm	_guest_uuid_str,8,3             ; @guest_uuid_str
	.comm	_strictmsr,4,2                  ; @strictmsr
	.comm	_virtio_msix,4,2                ; @virtio_msix
	.comm	_optind,8,3                     ; @optind
	.comm	_vmname,8,3                     ; @vmname
	.comm	_stderr,4,2                     ; @stderr
l_.str.6:                               ; @.str.6
	.asciz	"%d vCPUs requested but only %d available\n"

	.comm	_BSP,4,2                        ; @BSP
	.comm	_VM_MMAP_ALL,4,2                ; @VM_MMAP_ALL
l_.str.7:                               ; @.str.7
	.asciz	"Unable to setup memory (%d)\n"

	.comm	_errno,4,2                      ; @errno
l_.str.8:                               ; @.str.8
	.asciz	"init_msr error %d"

l_.str.9:                               ; @.str.9
	.asciz	"device emulation initialization error"

	.comm	_VM_CAP_UNRESTRICTED_GUEST,4,2  ; @VM_CAP_UNRESTRICTED_GUEST
l_.str.10:                              ; @.str.10
	.asciz	"ROM boot failed: unrestricted guest capability not available\n"

	.comm	_VM_REG_GUEST_RIP,4,2           ; @VM_REG_GUEST_RIP
l_.str.11:                              ; @.str.11
	.asciz	"error to build the guest tables"

l_.str.12:                              ; @.str.12
	.asciz	"%s"

	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
l_.str.13:                              ; @.str.13
	.asciz	"Unable to apply rights for sandbox"

l_.str.14:                              ; @.str.14
	.asciz	"cap_enter() failed"

.subsections_via_symbols
