	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmac_skb_if_good_frame
_gmac_skb_if_good_frame:                ## @gmac_skb_if_good_frame
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	16(%rbp), %r12d
	movl	20(%rbp), %r14d
	movq	40(%rdi), %rax
	incl	(%rax,%r14,4)
	movq	32(%rdi), %rax
	incl	(%rax,%r12,4)
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	$0, 32(%rbp)
	jne	LBB0_9
## %bb.1:
	cmpq	$0, 24(%rbp)
	jne	LBB0_9
## %bb.2:
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.3:
	cmpl	%r15d, %eax
	ja	LBB0_9
## %bb.4:
	movq	_RX_CHKSUM_IP_ERR_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	jae	LBB0_9
## %bb.5:
	leaq	28(%rbx), %rdi
	callq	_napi_get_frags
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_RX_CHKSUM_IP_UDP_TCP_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	jne	LBB0_8
## %bb.7:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_8:
	addl	%r15d, (%rbx)
	incl	4(%rbx)
	jmp	LBB0_19
LBB0_9:
	incl	24(%rbx)
	cmpl	%r15d, %eax
	ja	LBB0_11
## %bb.10:
	movl	%r14d, %edi
	callq	_RX_ERROR_LENGTH
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	incl	20(%rbx)
LBB0_12:
	movl	%r14d, %edi
	callq	_RX_ERROR_OVER
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	incl	16(%rbx)
LBB0_14:
	movl	%r14d, %edi
	callq	_RX_ERROR_CRC
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	incl	12(%rbx)
LBB0_16:
	movl	%r14d, %edi
	callq	_RX_ERROR_FRAME
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	incl	8(%rbx)
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_RX_CHKSUM_IP_ERR_UNKNOWN,4,2   ## @RX_CHKSUM_IP_ERR_UNKNOWN
	.comm	_RX_CHKSUM_IP_UDP_TCP_OK,4,2    ## @RX_CHKSUM_IP_UDP_TCP_OK
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.no_dead_strip	_gmac_skb_if_good_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmac_skb_if_good_frame
_gmac_skb_if_good_frame:                ; @gmac_skb_if_good_frame
	.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
	mov	x21, x2
	mov	x19, x0
	ldp	w22, w20, [x1]
	lsl	x8, x20, #2
	ldp	x10, x9, [x0, #32]
	ldr	w11, [x9, x8]
	add	w11, w11, #1
	str	w11, [x9, x8]
	lsl	x8, x22, #2
	ldr	w9, [x10, x8]
	add	w9, w9, #1
	str	w9, [x10, x8]
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_11
; %bb.1:
Lloh0:
	adrp	x8, _ETH_ZLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
LBB0_2:
	ldr	w9, [x19, #24]
	add	w9, w9, #1
	str	w9, [x19, #24]
	cmp	w8, w21
	b.hi	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_RX_ERROR_LENGTH
	cbz	x0, LBB0_5
LBB0_4:
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
LBB0_5:
	mov	x0, x20
	bl	_RX_ERROR_OVER
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_7:
	mov	x0, x20
	bl	_RX_ERROR_CRC
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
LBB0_9:
	mov	x0, x20
	bl	_RX_ERROR_FRAME
	cbz	x0, LBB0_18
; %bb.10:
	mov	x0, #0
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_18
LBB0_11:
	ldr	x9, [x1, #8]
Lloh3:
	adrp	x8, _ETH_ZLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbnz	x9, LBB0_2
; %bb.12:
	cbnz	w20, LBB0_2
; %bb.13:
Lloh6:
	adrp	x9, _RX_CHKSUM_IP_ERR_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_CHKSUM_IP_ERR_UNKNOWN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w22, w9, #2, ls
	b.hs	LBB0_2
; %bb.14:
	add	x0, x19, #28
	bl	_napi_get_frags
	cbz	x0, LBB0_17
; %bb.15:
Lloh9:
	adrp	x8, _RX_CHKSUM_IP_UDP_TCP_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RX_CHKSUM_IP_UDP_TCP_OK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_17
; %bb.16:
Lloh12:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x0]
LBB0_17:
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w21
	add.2s	v0, v0, v1
	str	d0, [x19]
LBB0_18:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_RX_CHKSUM_IP_ERR_UNKNOWN,4,2   ; @RX_CHKSUM_IP_ERR_UNKNOWN
	.comm	_RX_CHKSUM_IP_UDP_TCP_OK,4,2    ; @RX_CHKSUM_IP_UDP_TCP_OK
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.no_dead_strip	_gmac_skb_if_good_frame
.subsections_via_symbols
