	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pf_cksum_fixup                 ## -- Begin function pf_cksum_fixup
	.p2align	4, 0x90
_pf_cksum_fixup:                        ## @pf_cksum_fixup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	addl	%edi, %esi
	subl	%edx, %esi
	movl	%esi, %eax
	shrl	$16, %eax
	addl	%esi, %eax
	movzwl	%ax, %edx
	testl	%edx, %edx
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmovnel	%edx, %eax
	testq	%rcx, %rcx
	cmovel	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pf_cksum_fixup                 ; -- Begin function pf_cksum_fixup
	.p2align	2
_pf_cksum_fixup:                        ; @pf_cksum_fixup
	.cfi_startproc
; %bb.0:
	cbnz	w0, LBB0_3
; %bb.1:
	cbz	x3, LBB0_3
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
	add	w8, w1, w0
	sub	w8, w8, w2
	add	w8, w8, w8, lsr #16
	ands	w8, w8, #0xffff
	ccmp	x3, #0, #4, eq
	mov	w9, #65535
	csel	w0, w8, w9, eq
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
