	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MachInit                       ## -- Begin function MachInit
	.p2align	4, 0x90
_MachInit:                              ## @MachInit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MachVtbl@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_CONFIG_CMD
	movl	$3320, %edi                     ## imm = 0xCF8
	movl	%eax, %esi
	callq	_WRITE_PORT_ULONG
	movl	$3324, %edi                     ## imm = 0xCFC
	callq	_READ_PORT_ULONG
	movq	%rbx, %rdi
	cmpl	$44372190, %eax                 ## imm = 0x2A510DE
	jne	LBB0_2
## %bb.1:
	callq	_XboxMachInit
	jmp	LBB0_3
LBB0_2:
	callq	_PcMachInit
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_HalpCalibrateStallExecution    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MachVtbl,4,2                   ## @MachVtbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MachInit                       ; -- Begin function MachInit
	.p2align	2
_MachInit:                              ; @MachInit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	x0, _MachVtbl@GOTPAGE
Lloh1:
	ldr	x0, [x0, _MachVtbl@GOTPAGEOFF]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	bl	_CONFIG_CMD
	mov	x1, x0
	mov	w0, #3320
	bl	_WRITE_PORT_ULONG
	mov	w0, #3324
	bl	_READ_PORT_ULONG
	mov	w8, #4318
	movk	w8, #677, lsl #16
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_XboxMachInit
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_PcMachInit
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_HalpCalibrateStallExecution
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MachVtbl,4,2                   ; @MachVtbl
.subsections_via_symbols
