	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Flush_RespBuf_r                ## -- Begin function Flush_RespBuf_r
	.p2align	4, 0x90
_Flush_RespBuf_r:                       ## @Flush_RespBuf_r
	.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	%rdi, %rbx
	movq	24(%rdi), %r14
	movl	(%rdi), %r15d
	subl	4(%rdi), %r15d
	movq	_LSAPI_ST_RESP_BODY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%rdi)
	movq	_LSAPI_RESP_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LSAPI_PACKET_HEADER_LEN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	addl	%r15d, %edx
	movq	%r14, %rdi
	callq	_lsapi_buildPacketHeader
	movl	(%r12), %ecx
	leal	(%rcx,%r15), %eax
	addl	%eax, 16(%rbx)
	movq	8(%rbx), %rax
	movq	%r14, 8(%rax)
	movl	%ecx, (%rax)
	leaq	16(%rax), %rcx
	movq	%rcx, 8(%rbx)
	testl	%r15d, %r15d
	jle	LBB0_2
## %bb.1:
	movslq	4(%rbx), %rcx
	movq	%rcx, 24(%rax)
	movl	%r15d, 16(%rax)
	movl	%ecx, (%rbx)
	addq	$32, %rax
	movq	%rax, 8(%rbx)
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LSAPI_ST_RESP_BODY,4,2         ## @LSAPI_ST_RESP_BODY
	.comm	_LSAPI_RESP_STREAM,4,2          ## @LSAPI_RESP_STREAM
	.comm	_LSAPI_PACKET_HEADER_LEN,4,2    ## @LSAPI_PACKET_HEADER_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Flush_RespBuf_r                ; -- Begin function Flush_RespBuf_r
	.p2align	2
_Flush_RespBuf_r:                       ; @Flush_RespBuf_r
	.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	x19, x0
	ldr	x20, [x0, #24]
	ldp	w8, w9, [x0]
Lloh0:
	adrp	x10, _LSAPI_ST_RESP_BODY@GOTPAGE
Lloh1:
	ldr	x10, [x10, _LSAPI_ST_RESP_BODY@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	ldr	w11, [x0, #20]
	orr	w10, w11, w10
	str	w10, [x0, #20]
Lloh3:
	adrp	x10, _LSAPI_RESP_STREAM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _LSAPI_RESP_STREAM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x10]
Lloh6:
	adrp	x22, _LSAPI_PACKET_HEADER_LEN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _LSAPI_PACKET_HEADER_LEN@GOTPAGEOFF]
	ldr	w10, [x22]
	sub	w21, w8, w9
	add	w2, w10, w21
	mov	x0, x20
	bl	_lsapi_buildPacketHeader
	ldr	w9, [x22]
	ldr	w8, [x19, #16]
	add	w10, w9, w21
	add	w8, w10, w8
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
	str	x20, [x8, #8]
	str	w9, [x8]
	add	x9, x8, #16
	str	x9, [x19, #8]
	cmp	w21, #1
	b.lt	LBB0_2
; %bb.1:
	ldrsw	x9, [x19, #4]
	str	x9, [x8, #24]
	str	w21, [x8, #16]
	str	w9, [x19]
	add	x8, x8, #32
	str	x8, [x19, #8]
LBB0_2:
	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
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LSAPI_ST_RESP_BODY,4,2         ; @LSAPI_ST_RESP_BODY
	.comm	_LSAPI_RESP_STREAM,4,2          ; @LSAPI_RESP_STREAM
	.comm	_LSAPI_PACKET_HEADER_LEN,4,2    ; @LSAPI_PACKET_HEADER_LEN
.subsections_via_symbols
