	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pf_change_proto_a              ## -- Begin function pf_change_proto_a
	.p2align	4, 0x90
_pf_change_proto_a:                     ## @pf_change_proto_a
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	%ecx, -36(%rbp)
	leaq	-40(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	-40(%rbp), %eax
	leal	65535(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	movl	(%r14), %esi
	sarl	$16, %edx
	movl	-36(%rbp), %eax
	leal	65535(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$16, %ecx
	movq	%r12, %rdi
	movl	%r15d, %r8d
	callq	_pf_proto_cksum_fixup
	movl	-40(%rbp), %edx
	leal	65535(%rdx), %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	andl	$-65536, %ecx                   ## imm = 0xFFFF0000
	subl	%ecx, %edx
	movl	-36(%rbp), %ecx
	leal	65535(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	andl	$-65536, %esi                   ## imm = 0xFFFF0000
	subl	%esi, %ecx
	movq	%r12, %rdi
	movl	%eax, %esi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r15d, %r8d
	callq	_pf_proto_cksum_fixup
	movl	%eax, (%r14)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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_change_proto_a              ; -- Begin function pf_change_proto_a
	.p2align	2
_pf_change_proto_a:                     ; @pf_change_proto_a
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x4
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	str	w3, [sp, #12]
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
	add	x1, sp, #12
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	ldr	w1, [x19]
	ldr	w8, [sp, #8]
	mov	w9, #65535
	add	w10, w8, w9
	cmp	w8, #0
	csel	w8, w10, w8, lt
	asr	w2, w8, #16
	ldr	w8, [sp, #12]
	add	w9, w8, w9
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w3, w8, #16
	mov	x0, x22
	mov	x4, x20
	bl	_pf_proto_cksum_fixup
	mov	x1, x0
	ldr	w8, [sp, #8]
	negs	w9, w8
	and	w9, w9, #0xffff
	and	w8, w8, #0xffff
	csneg	w2, w8, w9, mi
	ldr	w8, [sp, #12]
	negs	w9, w8
	and	w9, w9, #0xffff
	and	w8, w8, #0xffff
	csneg	w3, w8, w9, mi
	mov	x0, x22
	mov	x4, x20
	bl	_pf_proto_cksum_fixup
	str	w0, [x19]
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
