	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gprobe_get_reply_sp
_gprobe_get_reply_sp:                   ## @gprobe_get_reply_sp
	.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	$1040, %rsp                     ## imm = 0x410
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-1072(%rbp), %rsi
	movl	$2, %edx
	movl	$50, %ecx
	callq	_sp_blocking_read
	movl	$-1, %r15d
	cmpl	$2, %eax
	jl	LBB0_6
## %bb.1:
	cmpl	%r12d, -1068(%rbp)
	jne	LBB0_6
## %bb.2:
	movl	-1072(%rbp), %edx
	addl	$-2, %edx
	je	LBB0_5
## %bb.3:
	leaq	-1064(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$50, %ecx
	callq	_sp_blocking_read
                                        ## kill: def $eax killed $eax def $rax
	leal	2(%rax), %ecx
	cmpl	-1072(%rbp), %ecx
	jne	LBB0_6
## %bb.4:
	decl	%eax
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_r_buf_append_bytes
LBB0_5:
	xorl	%r15d, %r15d
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %eax
	addq	$1040, %rsp                     ## imm = 0x410
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gprobe_get_reply_sp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gprobe_get_reply_sp
_gprobe_get_reply_sp:                   ; @gprobe_get_reply_sp
	.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
	sub	sp, sp, #1040
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x1, sp, #8
	mov	w2, #2
	mov	w3, #50
	bl	_sp_blocking_read
	ldr	w8, [sp, #12]
	cmp	w0, #2
	ccmp	w8, w21, #0, ge
	b.ne	LBB0_5
; %bb.1:
	ldr	w8, [sp, #8]
	subs	w2, w8, #2
	b.eq	LBB0_4
; %bb.2:
	add	x8, sp, #8
	add	x21, x8, #8
	mov	x0, x20
	mov	x1, x21
	mov	w3, #50
	bl	_sp_blocking_read
	add	w8, w0, #2
	ldr	w9, [sp, #8]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.3:
	sub	w2, w0, #1
	mov	x0, x19
	mov	x1, x21
	bl	_r_buf_append_bytes
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	add	sp, sp, #1040
	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_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gprobe_get_reply_sp
.subsections_via_symbols
