	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_rxsum_ok
_jme_rxsum_ok:                          ## @jme_rxsum_ok
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RXWBFLAG_TCPON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RXWBFLAG_UDPON@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	%eax, %ecx
	movq	_RXWBFLAG_IPV4@GOTPCREL(%rip), %r12
	orl	(%r12), %ecx
	xorl	%r15d, %r15d
	testl	%esi, %ecx
	je	LBB0_10
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_RXWBFLAG_MF@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	orl	%eax, %ecx
	movq	_RXWBFLAG_TCPCS@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	andl	%esi, %ecx
	xorl	%edi, %edi
	cmpl	%eax, %ecx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	testl	%ebx, (%r12)
	je	LBB0_10
## %bb.3:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_4:
	movl	(%r13), %eax
	movl	(%r14), %ecx
	orl	%eax, %ecx
	movq	_RXWBFLAG_UDPCS@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	andl	%ebx, %ecx
	xorl	%edi, %edi
	cmpl	%eax, %ecx
	sete	%dil
	callq	_unlikely
	movl	(%r12), %ecx
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	testl	%ebx, %ecx
	je	LBB0_10
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_7:
	movq	_RXWBFLAG_IPCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ecx, %eax
	andl	%ebx, %eax
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_msg_rx_err
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	$1, %r15d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_RXWBFLAG_TCPON,4,2             ## @RXWBFLAG_TCPON
	.comm	_RXWBFLAG_UDPON,4,2             ## @RXWBFLAG_UDPON
	.comm	_RXWBFLAG_IPV4,4,2              ## @RXWBFLAG_IPV4
	.comm	_RXWBFLAG_MF,4,2                ## @RXWBFLAG_MF
	.comm	_RXWBFLAG_TCPCS,4,2             ## @RXWBFLAG_TCPCS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TCP Checksum error\n"

	.comm	_RXWBFLAG_UDPCS,4,2             ## @RXWBFLAG_UDPCS
L_.str.1:                               ## @.str.1
	.asciz	"UDP Checksum error.\n"

	.comm	_RXWBFLAG_IPCS,4,2              ## @RXWBFLAG_IPCS
L_.str.2:                               ## @.str.2
	.asciz	"IPv4 Checksum error.\n"

	.no_dead_strip	_jme_rxsum_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_rxsum_ok
_jme_rxsum_ok:                          ; @jme_rxsum_ok
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _RXWBFLAG_TCPON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RXWBFLAG_TCPON@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x22, _RXWBFLAG_UDPON@GOTPAGE
Lloh4:
	ldr	x22, [x22, _RXWBFLAG_UDPON@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w9, w9, w8
Lloh5:
	adrp	x21, _RXWBFLAG_IPV4@GOTPAGE
Lloh6:
	ldr	x21, [x21, _RXWBFLAG_IPV4@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w9, w9, w10
	tst	w9, w1
	b.eq	LBB0_10
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh7:
	adrp	x23, _RXWBFLAG_MF@GOTPAGE
Lloh8:
	ldr	x23, [x23, _RXWBFLAG_MF@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh9:
	adrp	x10, _RXWBFLAG_TCPCS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RXWBFLAG_TCPCS@GOTPAGEOFF]
	orr	w9, w9, w8
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
	and	w9, w9, w1
	cmp	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.3:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_4:
	ldr	w8, [x23]
	ldr	w9, [x22]
Lloh14:
	adrp	x10, _RXWBFLAG_UDPCS@GOTPAGE
Lloh15:
	ldr	x10, [x10, _RXWBFLAG_UDPCS@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh16:
	ldr	w10, [x10]
	orr	w8, w8, w10
	and	w8, w8, w20
	cmp	w8, w9
	cset	w0, eq
	bl	_unlikely
	ldr	w8, [x21]
	cbz	x0, LBB0_7
; %bb.5:
	tst	w8, w20
	b.eq	LBB0_10
; %bb.6:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh19:
	adrp	x9, _RXWBFLAG_IPCS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _RXWBFLAG_IPCS@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w9, w9, w8
	and	w9, w9, w20
	cmp	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.8:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	mov	x0, x19
	bl	_msg_rx_err
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w0, #1
	b	LBB0_11
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_RXWBFLAG_TCPON,4,2             ; @RXWBFLAG_TCPON
	.comm	_RXWBFLAG_UDPON,4,2             ; @RXWBFLAG_UDPON
	.comm	_RXWBFLAG_IPV4,4,2              ; @RXWBFLAG_IPV4
	.comm	_RXWBFLAG_MF,4,2                ; @RXWBFLAG_MF
	.comm	_RXWBFLAG_TCPCS,4,2             ; @RXWBFLAG_TCPCS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TCP Checksum error\n"

	.comm	_RXWBFLAG_UDPCS,4,2             ; @RXWBFLAG_UDPCS
l_.str.1:                               ; @.str.1
	.asciz	"UDP Checksum error.\n"

	.comm	_RXWBFLAG_IPCS,4,2              ; @RXWBFLAG_IPCS
l_.str.2:                               ; @.str.2
	.asciz	"IPv4 Checksum error.\n"

	.no_dead_strip	_jme_rxsum_ok
.subsections_via_symbols
