	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MSG_WriteDeltaUsercmdKey       ## -- Begin function MSG_WriteDeltaUsercmdKey
	.p2align	4, 0x90
_MSG_WriteDeltaUsercmdKey:              ## @MSG_WriteDeltaUsercmdKey
	.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
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	(%rcx), %eax
	subl	(%rdx), %eax
	cmpl	$255, %eax
	jg	LBB0_2
## %bb.1:
	movl	$1, %esi
	movl	$1, %edx
	callq	_MSG_WriteBits
	movl	(%rbx), %esi
	subl	(%r12), %esi
	movq	%r14, %rdi
	movl	$8, %edx
	jmp	LBB0_3
LBB0_2:
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_MSG_WriteBits
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$32, %edx
LBB0_3:
	callq	_MSG_WriteBits
	movq	8(%r12), %rax
	movq	(%rax), %rdx
	movq	8(%rbx), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_12
## %bb.4:
	movq	8(%rax), %rdx
	cmpq	8(%rcx), %rdx
	jne	LBB0_12
## %bb.5:
	movq	16(%rax), %rax
	cmpq	16(%rcx), %rax
	jne	LBB0_12
## %bb.6:
	movq	16(%r12), %rax
	cmpq	16(%rbx), %rax
	jne	LBB0_12
## %bb.7:
	movq	24(%r12), %rax
	cmpq	24(%rbx), %rax
	jne	LBB0_12
## %bb.8:
	movq	32(%r12), %rax
	cmpq	32(%rbx), %rax
	jne	LBB0_12
## %bb.9:
	movq	40(%r12), %rax
	cmpq	40(%rbx), %rax
	jne	LBB0_12
## %bb.10:
	movq	48(%r12), %rax
	cmpq	48(%rbx), %rax
	jne	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_MSG_WriteBits
	movq	_oldsize@GOTPCREL(%rip), %rax
	addl	$7, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	(%rbx), %r15d
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_MSG_WriteBits
	movq	8(%r12), %rax
	movq	(%rax), %rdx
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$16, %r8d
	callq	_MSG_WriteDeltaKey
	movq	8(%r12), %rax
	movq	8(%rax), %rdx
	movq	8(%rbx), %rax
	movq	8(%rax), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$16, %r8d
	callq	_MSG_WriteDeltaKey
	movq	8(%r12), %rax
	movq	16(%rax), %rdx
	movq	8(%rbx), %rax
	movq	16(%rax), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$16, %r8d
	callq	_MSG_WriteDeltaKey
	movq	16(%r12), %rdx
	movq	16(%rbx), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$8, %r8d
	callq	_MSG_WriteDeltaKey
	movq	24(%r12), %rdx
	movq	24(%rbx), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$8, %r8d
	callq	_MSG_WriteDeltaKey
	movq	32(%r12), %rdx
	movq	32(%rbx), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$8, %r8d
	callq	_MSG_WriteDeltaKey
	movq	40(%r12), %rdx
	movq	40(%rbx), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$16, %r8d
	callq	_MSG_WriteDeltaKey
	movq	48(%r12), %rdx
	movq	48(%rbx), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$8, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MSG_WriteDeltaKey              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_oldsize,4,2                    ## @oldsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MSG_WriteDeltaUsercmdKey       ; -- Begin function MSG_WriteDeltaUsercmdKey
	.p2align	2
_MSG_WriteDeltaUsercmdKey:              ; @MSG_WriteDeltaUsercmdKey
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w8, [x3]
	ldr	w9, [x2]
	sub	w8, w8, w9
	cmp	w8, #255
	b.gt	LBB0_2
; %bb.1:
	mov	w1, #1
	mov	w2, #1
	bl	_MSG_WriteBits
	ldr	w8, [x20]
	ldr	w9, [x21]
	sub	w1, w8, w9
	mov	x0, x19
	mov	w2, #8
	b	LBB0_3
LBB0_2:
	mov	w1, #0
	mov	w2, #1
	bl	_MSG_WriteBits
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #32
LBB0_3:
	bl	_MSG_WriteBits
	ldr	x8, [x21, #8]
	ldr	x10, [x8]
	ldr	x9, [x20, #8]
	ldr	x11, [x9]
	cmp	x10, x11
	b.ne	LBB0_12
; %bb.4:
	ldr	x10, [x8, #8]
	ldr	x11, [x9, #8]
	cmp	x10, x11
	b.ne	LBB0_12
; %bb.5:
	ldr	x8, [x8, #16]
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.6:
	ldr	x8, [x21, #16]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.7:
	ldr	x8, [x21, #24]
	ldr	x9, [x20, #24]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.8:
	ldr	x8, [x21, #32]
	ldr	x9, [x20, #32]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.9:
	ldr	x8, [x21, #40]
	ldr	x9, [x20, #40]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
	ldr	x8, [x21, #48]
	ldr	x9, [x20, #48]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	bl	_MSG_WriteBits
Lloh0:
	adrp	x8, _oldsize@GOTPAGE
Lloh1:
	ldr	x8, [x8, _oldsize@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #7
	str	w9, [x8]
	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
LBB0_12:
	ldr	w8, [x20]
	eor	w22, w8, w22
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_MSG_WriteBits
	ldr	x8, [x21, #8]
	ldr	x2, [x8]
	ldr	x8, [x20, #8]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	w4, #16
	bl	_MSG_WriteDeltaKey
	ldr	x8, [x21, #8]
	ldr	x2, [x8, #8]
	ldr	x8, [x20, #8]
	ldr	x3, [x8, #8]
	mov	x0, x19
	mov	x1, x22
	mov	w4, #16
	bl	_MSG_WriteDeltaKey
	ldr	x8, [x21, #8]
	ldr	x2, [x8, #16]
	ldr	x8, [x20, #8]
	ldr	x3, [x8, #16]
	mov	x0, x19
	mov	x1, x22
	mov	w4, #16
	bl	_MSG_WriteDeltaKey
	ldr	x2, [x21, #16]
	ldr	x3, [x20, #16]
	mov	x0, x19
	mov	x1, x22
	mov	w4, #8
	bl	_MSG_WriteDeltaKey
	ldr	x2, [x21, #24]
	ldr	x3, [x20, #24]
	mov	x0, x19
	mov	x1, x22
	mov	w4, #8
	bl	_MSG_WriteDeltaKey
	ldr	x2, [x21, #32]
	ldr	x3, [x20, #32]
	mov	x0, x19
	mov	x1, x22
	mov	w4, #8
	bl	_MSG_WriteDeltaKey
	ldr	x2, [x21, #40]
	ldr	x3, [x20, #40]
	mov	x0, x19
	mov	x1, x22
	mov	w4, #16
	bl	_MSG_WriteDeltaKey
	ldr	x2, [x21, #48]
	ldr	x3, [x20, #48]
	mov	x0, x19
	mov	x1, x22
	mov	w4, #8
	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
	b	_MSG_WriteDeltaKey
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_oldsize,4,2                    ; @oldsize
.subsections_via_symbols
