	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cb_exec
_cb_exec:                               ## @cb_exec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %edx
	movq	_cr3@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BSP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_gdtbase@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_rsp@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	callq	_vm_setup_freebsd_registers
	testl	%eax, %eax
	jne	LBB0_4
LBB0_5:
	xorl	%edi, %edi
	xorl	%esi, %esi
	popq	%rbp
	jmp	_cb_exit                        ## TAILCALL
LBB0_1:
	movl	%r8d, %ecx
	movl	%r9d, %r8d
	callq	_vm_setup_freebsd_registers_i386
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	callq	_cb_exec.cold.1
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function cb_exec.cold.1
_cb_exec.cold.1:                        ## @cb_exec.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_perror
	movq	_USERBOOT_EXIT_QUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	popq	%rbp
	jmp	_cb_exit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cr3,8,3                        ## @cr3
	.comm	_ctx,4,2                        ## @ctx
	.comm	_BSP,4,2                        ## @BSP
	.comm	_gdtbase,4,2                    ## @gdtbase
	.comm	_rsp,4,2                        ## @rsp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vm_setup_freebsd_registers"

	.comm	_USERBOOT_EXIT_QUIT,4,2         ## @USERBOOT_EXIT_QUIT
	.no_dead_strip	_cb_exec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cb_exec
_cb_exec:                               ; @cb_exec
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x1
Lloh0:
	adrp	x8, _cr3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cr3@GOTPAGEOFF]
Lloh2:
	ldr	x3, [x8]
Lloh3:
	adrp	x8, _ctx@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _BSP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BSP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _gdtbase@GOTPAGE
Lloh10:
	ldr	x8, [x8, _gdtbase@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x8, _rsp@GOTPAGE
Lloh13:
	ldr	x8, [x8, _rsp@GOTPAGEOFF]
Lloh14:
	ldr	w5, [x8]
	cbz	x3, LBB0_3
; %bb.1:
	bl	_vm_setup_freebsd_registers
	cbnz	w0, LBB0_4
LBB0_2:
	mov	x0, #0
	mov	w1, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_cb_exit
LBB0_3:
	mov	x3, x4
	mov	x4, x5
	bl	_vm_setup_freebsd_registers_i386
	cbz	w0, LBB0_2
LBB0_4:
	bl	_cb_exec.cold.1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function cb_exec.cold.1
_cb_exec.cold.1:                        ; @cb_exec.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
Lloh17:
	adrp	x8, _USERBOOT_EXIT_QUIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _USERBOOT_EXIT_QUIT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_cb_exit
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_cr3,8,3                        ; @cr3
	.comm	_ctx,4,2                        ; @ctx
	.comm	_BSP,4,2                        ; @BSP
	.comm	_gdtbase,4,2                    ; @gdtbase
	.comm	_rsp,4,2                        ; @rsp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vm_setup_freebsd_registers"

	.comm	_USERBOOT_EXIT_QUIT,4,2         ; @USERBOOT_EXIT_QUIT
	.no_dead_strip	_cb_exec
.subsections_via_symbols
