	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stop_reason_exit
_stop_reason_exit:                      ## @stop_reason_exit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$0, -32(%rbp)
	movl	(%rdi), %r15d
	movl	%r15d, -28(%rbp)
	movq	_R_DEBUG_REASON_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	cmpq	$0, 32(%rdi)
	je	LBB0_4
## %bb.1:
	cmpl	$4, 4(%rbx)
	jl	LBB0_4
## %bb.2:
	movq	24(%rbx), %rdi
	addq	$4, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_3
## %bb.8:
	movl	-28(%rbp), %esi
	movl	-32(%rbp), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_eprintf
	movl	-28(%rbp), %eax
	movl	%eax, 12(%rbx)
	movl	%eax, 16(%rbx)
	movl	$1, 8(%rbx)
	jmp	LBB0_9
LBB0_4:
	movq	24(%rbx), %r14
	movl	4(%r14), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	addq	$4, %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtol
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_eprintf
	movl	%r15d, 12(%rbx)
	movl	%r15d, 16(%rbx)
	movl	$1, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gdbr_disconnect                ## TAILCALL
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	jmp	LBB0_6
LBB0_3:
	movl	24(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	xorl	%eax, %eax
	callq	_eprintf
	movl	$-1, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_DEBUG_REASON_DEAD,4,2        ## @R_DEBUG_REASON_DEAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%x;process:%x"

L_.str.1:                               ## @.str.1
	.asciz	"Message from remote: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Process %d exited with status %d\n"

	.no_dead_strip	_stop_reason_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stop_reason_exit
_stop_reason_exit:                      ; @stop_reason_exit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w22, [x0]
	stp	w22, wzr, [sp, #8]
Lloh0:
	adrp	x8, _R_DEBUG_REASON_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_DEBUG_REASON_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #20]
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #4
	b.lt	LBB0_4
; %bb.2:
	ldr	x8, [x19, #24]
	add	x0, x8, #4
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_7
; %bb.3:
	ldp	w1, w8, [sp, #8]
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_eprintf
	mov	w0, #0
	ldr	w8, [sp, #8]
	stp	w8, w8, [x19, #12]
	mov	w9, #1
	str	w9, [x19, #8]
	b	LBB0_9
LBB0_4:
	ldr	x20, [x19, #24]
	mov	x21, x20
	ldr	w0, [x21, #4]!
	bl	_isxdigit
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, #0
	mov	w2, #16
	bl	_strtol
	ldr	w1, [x19]
	str	x0, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_eprintf
	stp	w22, w22, [x19, #12]
	mov	w8, #1
	str	w8, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_gdbr_disconnect
LBB0_6:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	b	LBB0_8
LBB0_7:
	ldr	w1, [x19, #24]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_eprintf
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_R_DEBUG_REASON_DEAD,4,2        ; @R_DEBUG_REASON_DEAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%x;process:%x"

l_.str.1:                               ; @.str.1
	.asciz	"Message from remote: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Process %d exited with status %d\n"

	.no_dead_strip	_stop_reason_exit
.subsections_via_symbols
