	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_length
_phy_length:                            ## @phy_length
	.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, %eax
	movq	(%rdi), %rcx
	movq	_CHIP_ID_GENESIS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_1
## %bb.2:
	movq	_XMR_FS_LEN_SHIFT@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_GMR_FS_LEN_SHIFT@GOTPCREL(%rip), %rcx
LBB0_3:
	movb	(%rcx), %cl
	sarl	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_ID_GENESIS,8,3            ## @CHIP_ID_GENESIS
	.comm	_XMR_FS_LEN_SHIFT,4,2           ## @XMR_FS_LEN_SHIFT
	.comm	_GMR_FS_LEN_SHIFT,4,2           ## @GMR_FS_LEN_SHIFT
	.no_dead_strip	_phy_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_length
_phy_length:                            ; @phy_length
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CHIP_ID_GENESIS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHIP_ID_GENESIS@GOTPAGEOFF]
Lloh2:
	adrp	x10, _XMR_FS_LEN_SHIFT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _XMR_FS_LEN_SHIFT@GOTPAGEOFF]
Lloh4:
	adrp	x11, _GMR_FS_LEN_SHIFT@GOTPAGE
Lloh5:
	ldr	x11, [x11, _GMR_FS_LEN_SHIFT@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	asr	w0, w1, w8
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_ID_GENESIS,8,3            ; @CHIP_ID_GENESIS
	.comm	_XMR_FS_LEN_SHIFT,4,2           ; @XMR_FS_LEN_SHIFT
	.comm	_GMR_FS_LEN_SHIFT,4,2           ; @GMR_FS_LEN_SHIFT
	.no_dead_strip	_phy_length
.subsections_via_symbols
