	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netxen_p3_has_mn
_netxen_p3_has_mn:                      ## @netxen_p3_has_mn
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_NX_IS_REVISION_P2
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_NX_FW_VERSION_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_netxen_rom_fast_read
	movq	-32(%rbp), %rdi
	callq	_NETXEN_DECODE_VERSION
	movq	%rax, %r15
	movq	%rax, -32(%rbp)
	movl	$4, %edi
	xorl	%esi, %esi
	movl	$220, %edx
	callq	_NETXEN_VERSION_CODE
	cmpq	%rax, %r15
	jl	LBB0_3
## %bb.2:
	movq	_NX_PEG_TUNE_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_NXRD32
	movq	_NX_PEG_TUNE_MN_PRESENT@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	jne	LBB0_4
LBB0_3:
	xorl	%r14d, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NX_FW_VERSION_OFFSET,4,2       ## @NX_FW_VERSION_OFFSET
	.comm	_NX_PEG_TUNE_CAPABILITY,4,2     ## @NX_PEG_TUNE_CAPABILITY
	.comm	_NX_PEG_TUNE_MN_PRESENT,8,3     ## @NX_PEG_TUNE_MN_PRESENT
	.no_dead_strip	_netxen_p3_has_mn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netxen_p3_has_mn
_netxen_p3_has_mn:                      ; @netxen_p3_has_mn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
	bl	_NX_IS_REVISION_P2
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _NX_FW_VERSION_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NX_FW_VERSION_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_netxen_rom_fast_read
	ldr	x0, [sp, #8]
	bl	_NETXEN_DECODE_VERSION
	mov	x20, x0
	str	x0, [sp, #8]
	mov	w0, #4
	mov	w1, #0
	mov	w2, #220
	bl	_NETXEN_VERSION_CODE
	cmp	x20, x0
	b.lt	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _NX_PEG_TUNE_CAPABILITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NX_PEG_TUNE_CAPABILITY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NXRD32
Lloh6:
	adrp	x8, _NX_PEG_TUNE_MN_PRESENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NX_PEG_TUNE_MN_PRESENT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	tst	x8, x0
	b.ne	LBB0_1
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NX_FW_VERSION_OFFSET,4,2       ; @NX_FW_VERSION_OFFSET
	.comm	_NX_PEG_TUNE_CAPABILITY,4,2     ; @NX_PEG_TUNE_CAPABILITY
	.comm	_NX_PEG_TUNE_MN_PRESENT,8,3     ; @NX_PEG_TUNE_MN_PRESENT
	.no_dead_strip	_netxen_p3_has_mn
.subsections_via_symbols
