	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_subprocess_read_status         ## -- Begin function subprocess_read_status
	.p2align	4, 0x90
_subprocess_read_status:                ## @subprocess_read_status
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r13d
	leaq	-48(%rbp), %rdx
	xorl	%esi, %esi
	callq	_packet_read_line_gently
	testl	%eax, %eax
	js	LBB0_10
## %bb.1:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.2:
	leaq	-48(%rbp), %r15
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$61, %esi
	movl	$2, %edx
	callq	_strbuf_split_str
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rax)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_strbuf_reset
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_strbuf_addbuf
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_strbuf_list_free
	movl	%r13d, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_packet_read_line_gently
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
LBB0_10:
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%eax, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"status="

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_subprocess_read_status         ; -- Begin function subprocess_read_status
	.p2align	2
_subprocess_read_status:                ; @subprocess_read_status
	.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, x1
	mov	x20, x0
	add	x2, sp, #8
	mov	x1, #0
	bl	_packet_read_line_gently
	tbnz	w0, #31, LBB0_10
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_10
; %bb.2:
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x8
	mov	w1, #61
	mov	w2, #2
	bl	_strbuf_split_str
	mov	x22, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x22, #8]
	cbz	x9, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x8]
	mov	x1, x21
	bl	_strcmp
	cbnz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_strbuf_reset
	ldr	x1, [x22, #8]
	mov	x0, x19
	bl	_strbuf_addbuf
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_strbuf_list_free
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, #0
	bl	_packet_read_line_gently
	tbnz	w0, #31, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_3
LBB0_10:
	cmp	w0, #0
	csel	w0, w0, wzr, lt
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"status="

.subsections_via_symbols
