	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bad_phy_status
_bad_phy_status:                        ## @bad_phy_status
	.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
	movl	%esi, %ebx
	callq	_is_genesis
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_XMR_FS_ERR@GOTPCREL(%rip), %rax
	movq	_XMR_FS_2L_VLAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	setne	%al
	jmp	LBB0_3
LBB0_2:
	movq	_GMR_FS_ANY_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	setne	%cl
	movq	_GMR_FS_RX_OK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	sete	%al
	orb	%cl, %al
LBB0_3:
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XMR_FS_ERR,4,2                 ## @XMR_FS_ERR
	.comm	_XMR_FS_2L_VLAN,4,2             ## @XMR_FS_2L_VLAN
	.comm	_GMR_FS_ANY_ERR,4,2             ## @GMR_FS_ANY_ERR
	.comm	_GMR_FS_RX_OK,4,2               ## @GMR_FS_RX_OK
	.no_dead_strip	_bad_phy_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bad_phy_status
_bad_phy_status:                        ; @bad_phy_status
	.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, x1
	bl	_is_genesis
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _XMR_FS_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XMR_FS_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _XMR_FS_2L_VLAN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XMR_FS_2L_VLAN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w19
	cset	w0, ne
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _GMR_FS_ANY_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GMR_FS_ANY_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w8, ne
Lloh9:
	adrp	x9, _GMR_FS_RX_OK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GMR_FS_RX_OK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w19
	cset	w9, eq
	orr	w0, w8, w9
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_XMR_FS_ERR,4,2                 ; @XMR_FS_ERR
	.comm	_XMR_FS_2L_VLAN,4,2             ; @XMR_FS_2L_VLAN
	.comm	_GMR_FS_ANY_ERR,4,2             ; @GMR_FS_ANY_ERR
	.comm	_GMR_FS_RX_OK,4,2               ; @GMR_FS_RX_OK
	.no_dead_strip	_bad_phy_status
.subsections_via_symbols
