	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fec_enet_get_irq_cnt
_fec_enet_get_irq_cnt:                  ## @fec_enet_get_irq_cnt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_platform_irq_count
	movq	_FEC_IRQ_NUM@GOTPCREL(%rip), %rdx
	cmpl	$2, %eax
	movl	$1, %esi
	movl	$1, %ecx
	cmovgel	%eax, %ecx
	cmovel	%esi, %ecx
	movl	(%rdx), %edx
	cmpl	%edx, %eax
	cmovgl	%edx, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FEC_IRQ_NUM,4,2                ## @FEC_IRQ_NUM
	.no_dead_strip	_fec_enet_get_irq_cnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fec_enet_get_irq_cnt
_fec_enet_get_irq_cnt:                  ; @fec_enet_get_irq_cnt
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_platform_irq_count
Lloh0:
	adrp	x8, _FEC_IRQ_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FEC_IRQ_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, #1
	csinc	w9, w0, wzr, gt
	cmp	w0, #2
	csinc	w9, w9, wzr, ne
	cmp	w0, w8
	csel	w0, w8, w9, gt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FEC_IRQ_NUM,4,2                ; @FEC_IRQ_NUM
	.no_dead_strip	_fec_enet_get_irq_cnt
.subsections_via_symbols
