	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipg_nic_rx_check_frame_type
_ipg_nic_rx_check_frame_type:           ## @ipg_nic_rx_check_frame_type
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_netdev_priv
	movq	8(%rax), %r14
	movl	(%rax), %eax
	movq	_IPG_RFDLIST_LENGTH@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movslq	%edx, %r15
	movq	_FRAME_NO_START_NO_END@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r14,%r15,4), %edi
	callq	_le64_to_cpu
	movl	%eax, %ebx
	movq	_IPG_RFS_FRAMESTART@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	je	LBB0_2
## %bb.1:
	movq	_FRAME_WITH_START@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	addl	%r12d, %ebx
	movl	(%r14,%r15,4), %edi
	callq	_le64_to_cpu
	movq	_IPG_RFS_FRAMEEND@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_4
## %bb.3:
	movq	_FRAME_WITH_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addl	%eax, %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPG_RFDLIST_LENGTH,4,2         ## @IPG_RFDLIST_LENGTH
	.comm	_FRAME_NO_START_NO_END,4,2      ## @FRAME_NO_START_NO_END
	.comm	_IPG_RFS_FRAMESTART,4,2         ## @IPG_RFS_FRAMESTART
	.comm	_FRAME_WITH_START,8,3           ## @FRAME_WITH_START
	.comm	_IPG_RFS_FRAMEEND,4,2           ## @IPG_RFS_FRAMEEND
	.comm	_FRAME_WITH_END,8,3             ## @FRAME_WITH_END
	.no_dead_strip	_ipg_nic_rx_check_frame_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipg_nic_rx_check_frame_type
_ipg_nic_rx_check_frame_type:           ; @ipg_nic_rx_check_frame_type
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_netdev_priv
	ldr	x19, [x0, #8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IPG_RFDLIST_LENGTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPG_RFDLIST_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
Lloh3:
	adrp	x9, _FRAME_NO_START_NO_END@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FRAME_NO_START_NO_END@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x9]
	sbfiz	x21, x8, #2, #32
	ldr	w0, [x19, x21]
	bl	_le64_to_cpu
Lloh6:
	adrp	x8, _IPG_RFS_FRAMESTART@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IPG_RFS_FRAMESTART@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _FRAME_WITH_START@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FRAME_WITH_START@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
	add	w20, w8, w20
	ldr	w0, [x19, x21]
	bl	_le64_to_cpu
Lloh12:
	adrp	x8, _IPG_RFS_FRAMEEND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IPG_RFS_FRAMEEND@GOTPAGEOFF]
Lloh14:
	adrp	x9, _FRAME_WITH_END@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FRAME_WITH_END@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
	add	w0, w20, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPG_RFDLIST_LENGTH,4,2         ; @IPG_RFDLIST_LENGTH
	.comm	_FRAME_NO_START_NO_END,4,2      ; @FRAME_NO_START_NO_END
	.comm	_IPG_RFS_FRAMESTART,4,2         ; @IPG_RFS_FRAMESTART
	.comm	_FRAME_WITH_START,8,3           ; @FRAME_WITH_START
	.comm	_IPG_RFS_FRAMEEND,4,2           ; @IPG_RFS_FRAMEEND
	.comm	_FRAME_WITH_END,8,3             ; @FRAME_WITH_END
	.no_dead_strip	_ipg_nic_rx_check_frame_type
.subsections_via_symbols
