	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_push_packet                    ## -- Begin function push_packet
	.p2align	4, 0x90
_push_packet:                           ## @push_packet
	.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, %ebx
	movq	%rdi, %r14
	movq	_MAX_PACKET_PAYLOAD@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%esi, (%rax)
	setae	%dil
	callq	_assert
	movslq	%ebx, %r15
	negl	%ebx
	andl	$3, %ebx
	movq	_send_packet@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	leaq	(%rax,%r15), %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	addl	$15, %r15d
	movl	%r15d, %ebx
	sarl	$2, %ebx
	andl	$-4, %r15d
	movq	(%r12), %rax
	movl	%r15d, (%rax)
	movq	%r14, %rdi
	callq	_RPCC_DATA
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	movq	(%r12), %rdi
	movl	%ecx, 4(%rdi)
	leal	-4(%r15), %esi
	callq	_compute_crc32
	movq	(%r12), %rsi
	movslq	%ebx, %rcx
	movl	%eax, -4(%rsi,%rcx,4)
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_write_out
	xorl	%edi, %edi
	cmpl	%r15d, %eax
	sete	%dil
	callq	_assert
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flush_later                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PACKET_PAYLOAD,4,2         ## @MAX_PACKET_PAYLOAD
	.comm	_send_packet,8,3                ## @send_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_push_packet                    ; -- Begin function push_packet
	.p2align	2
_push_packet:                           ; @push_packet
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MAX_PACKET_PAYLOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_PACKET_PAYLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	cset	w0, hs
	bl	_assert
	neg	w8, w20
	and	w2, w8, #0x3
Lloh3:
	adrp	x21, _send_packet@GOTPAGE
Lloh4:
	ldr	x21, [x21, _send_packet@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x8, x8, w20, sxtw
	add	x0, x8, #8
	mov	w1, #0
	bl	_memset
	add	w8, w20, #15
	asr	w22, w8, #2
	and	w20, w8, #0xfffffffc
	ldr	x8, [x21]
	str	w20, [x8]
	mov	x0, x19
	bl	_RPCC_DATA
	ldr	w8, [x0]
	add	w9, w8, #1
	str	w9, [x0]
	ldr	x0, [x21]
	str	w8, [x0, #4]
	sub	w1, w20, #4
	bl	_compute_crc32
	ldr	x1, [x21]
	sub	w8, w22, #1
	str	w0, [x1, w8, sxtw #2]
	mov	x0, x19
	mov	x2, x20
	bl	_write_out
	cmp	w0, w20
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	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	_flush_later
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PACKET_PAYLOAD,4,2         ; @MAX_PACKET_PAYLOAD
	.comm	_send_packet,8,3                ; @send_packet
.subsections_via_symbols
