	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_read_request
_process_read_request:                  ## @process_read_request
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ignore_packet
	testl	%r12d, %r12d
	jle	LBB0_3
## %bb.1:
	leaq	-52(%rbp), %r15
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %r13d
	subl	%r14d, %r13d
	movq	_MAXPSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r13d
	cmovgel	%eax, %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_write_long_le
	movzbl	%bl, %ebx
	movl	$4, %edx
	movl	$112, %edi
	movq	%r15, %rsi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_send_packet
	movslq	%r14d, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14), %rdi
	movl	%r13d, %esi
	callq	_debug_write
	xorl	%eax, %eax
	callq	_ignore_packet
	addl	%r13d, %r14d
	incb	%bl
	cmpl	%r12d, %r14d
	jl	LBB0_2
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movl	$101, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_send_packet
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPSIZE,4,2                   ## @MAXPSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_process_read_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_read_request
_process_read_request:                  ; @process_read_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_ignore_packet
	cmp	w19, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, #0
	mov	w23, #0
Lloh0:
	adrp	x24, _MAXPSIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAXPSIZE@GOTPAGEOFF]
	add	x25, sp, #28
	mov	w26, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	sub	w9, w19, w23
	cmp	w9, w8
	csel	w21, w9, w8, lt
	add	x0, sp, #28
	mov	x1, x21
	bl	_write_long_le
	and	x8, x22, #0xff
	stp	x26, x8, [sp, #8]
	str	x25, [sp]
	mov	w0, #112
	bl	_send_packet
	add	x0, x20, w23, sxtw
	mov	x1, x21
	bl	_debug_write
	bl	_ignore_packet
	add	w22, w22, #1
	add	w23, w21, w23
	cmp	w23, w19
	b.lt	LBB0_2
LBB0_3:
	stp	xzr, xzr, [sp, #8]
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp]
	mov	w0, #101
	bl	_send_packet
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPSIZE,4,2                   ; @MAXPSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_process_read_request
.subsections_via_symbols
