	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_machine__init                  ## -- Begin function machine__init
	.p2align	4, 0x90
_machine__init:                         ## @machine__init
	.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
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	addq	$16, %rdi
	callq	_map_groups__init
	leaq	48(%rbx), %rdi
	callq	_RB_CLEAR_NODE
	leaq	44(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	40(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	leaq	32(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	$0, 24(%rbx)
	movq	%rbx, 16(%rbx)
	movq	%r14, 8(%rbx)
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_HOST_KERNEL_ID@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpq	%r14, (%rax)
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_machine__findnew_thread
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %r12
	movq	%r12, %rdi
	movl	$64, %esi
	movq	%r14, %rcx
	callq	_snprintf
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_thread__set_comm
	jmp	LBB0_5
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r15d, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RB_ROOT,4,2                    ## @RB_ROOT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HOST_KERNEL_ID,8,3             ## @HOST_KERNEL_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[guest/%d]"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_machine__init                  ; -- Begin function machine__init
	.p2align	2
_machine__init:                         ; @machine__init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x0, x0, #16
	bl	_map_groups__init
	add	x0, x20, #48
	bl	_RB_CLEAR_NODE
	add	x0, x20, #44
	bl	_INIT_LIST_HEAD
	add	x0, x20, #40
	bl	_INIT_LIST_HEAD
Lloh3:
	adrp	x8, _RB_ROOT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RB_ROOT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #36]
	add	x0, x20, #32
	bl	_INIT_LIST_HEAD
	stp	x20, xzr, [x20, #16]
	str	x19, [x20, #8]
	mov	x0, x21
	bl	_strdup
	str	x0, [x20]
	cbz	x0, LBB0_5
; %bb.1:
Lloh6:
	adrp	x8, _HOST_KERNEL_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HOST_KERNEL_ID@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_machine__findnew_thread
	cbz	x0, LBB0_5
; %bb.4:
	mov	x20, x0
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	mov	x3, x19
	bl	_snprintf
	add	x1, sp, #8
	mov	x0, x20
	bl	_thread__set_comm
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RB_ROOT,4,2                    ; @RB_ROOT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HOST_KERNEL_ID,8,3             ; @HOST_KERNEL_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[guest/%d]"

.subsections_via_symbols
