	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetDeviceStats
_GetDeviceStats:                        ## @GetDeviceStats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rcx, %r8
	cmpl	$1, %edi
	je	LBB0_3
## %bb.1:
	testl	%edi, %edi
	jne	LBB0_5
## %bb.2:
	movl	$1572864, (%rdx)                ## imm = 0x180000
	movl	$32768, (%rsi)                  ## imm = 0x8000
	xorl	%eax, %eax
	movl	$64, %ecx
	jmp	LBB0_6
LBB0_3:
	movq	_CartridgeArea@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$240, %ecx
	andl	(%rdi), %ecx
	movl	$1, %eax
	cmpl	$32, %ecx
	jne	LBB0_7
## %bb.4:
	movl	$67108864, (%rdx)               ## imm = 0x4000000
	movb	(%rdi), %cl
	andb	$15, %cl
	movl	$262144, %eax                   ## imm = 0x40000
	shll	%cl, %eax
	movl	%eax, (%rsi)
	xorl	%ecx, %ecx
	cmpl	$36, (%rdi)
	sete	%cl
	shll	$9, %ecx
	addl	$512, %ecx                      ## imm = 0x200
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	movl	$0, (%rdx)
	movl	$0, (%rsi)
	movl	$1, %eax
	xorl	%ecx, %ecx
LBB0_6:
	movl	%ecx, (%r8)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CartridgeArea,8,3              ## @CartridgeArea
	.no_dead_strip	_GetDeviceStats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetDeviceStats
_GetDeviceStats:                        ; @GetDeviceStats
	.cfi_startproc
; %bb.0:
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w0, LBB0_5
; %bb.2:
	mov	w8, #1572864
	str	w8, [x2]
	mov	w8, #32768
	str	w8, [x1]
	mov	w8, #64
	str	w8, [x3]
	ret
LBB0_3:
Lloh0:
	adrp	x8, _CartridgeArea@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CartridgeArea@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
	and	w9, w9, #0xf0
	cmp	w9, #32
	b.ne	LBB0_6
; %bb.4:
	mov	w0, #0
	mov	w9, #67108864
	str	w9, [x2]
	ldr	w9, [x8]
	and	x9, x9, #0xf
	mov	w10, #262144
	lsl	w9, w10, w9
	str	w9, [x1]
	ldr	w8, [x8]
	mov	w9, #512
	mov	w10, #1024
	cmp	w8, #36
	csel	w8, w10, w9, eq
	str	w8, [x3]
	ret
LBB0_5:
	str	wzr, [x2]
	str	wzr, [x1]
	mov	w0, #1
	str	wzr, [x3]
	ret
LBB0_6:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CartridgeArea,8,3              ; @CartridgeArea
	.no_dead_strip	_GetDeviceStats
.subsections_via_symbols
