	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ls_response
_parse_ls_response:                     ## @parse_ls_response
	.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	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_assert
	cmpb	$109, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
	jmp	LBB0_17
LBB0_2:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r15
	cmpq	$6, %rax
	jl	LBB0_4
## %bb.3:
	cmpb	$32, 6(%rbx)
	je	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_5:
	addq	%rbx, %r15
	movl	$0, (%r12)
	movb	(%rbx), %r14b
	cmpb	$32, %r14b
	jne	LBB0_6
LBB0_10:
	movq	%r15, %rax
	subq	%rbx, %rax
	cmpq	$6, %rax
	jl	LBB0_13
## %bb.11:
	movb	1(%rbx), %al
	cmpb	$98, %al
	je	LBB0_14
## %bb.12:
	cmpb	$116, %al
	je	LBB0_14
LBB0_13:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_14:
	addq	$6, %rbx
	subl	%ebx, %r15d
	movq	%rbx, %rdi
	movl	$9, %esi
	movl	%r15d, %edx
	callq	_memchr
	movq	%rax, %r15
	testq	%rax, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_16:
	subl	%ebx, %r15d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_strbuf_add
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	leaq	L_.str.1(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movsbl	%r14b, %ecx
	leal	(%rcx,%rax,8), %eax
	addl	$-48, %eax
	movl	%eax, (%r12)
	movzbl	1(%rbx), %r14d
	incq	%rbx
	cmpb	$32, %r14b
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leal	-56(%r14), %ecx
	cmpb	$-9, %cl
	ja	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_die
	movl	(%r12), %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid ls response: missing mode: %s"

L_.str.1:                               ## @.str.1
	.asciz	"invalid ls response: mode is not octal: %s"

L_.str.2:                               ## @.str.2
	.asciz	"unexpected ls response: not a tree or blob: %s"

L_.str.3:                               ## @.str.3
	.asciz	"invalid ls response: missing tab: %s"

	.no_dead_strip	_parse_ls_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ls_response
_parse_ls_response:                     ; @parse_ls_response
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_assert
	ldrb	w8, [x20]
	cmp	w8, #109
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_13
LBB0_2:
	mov	x0, x20
	bl	_strlen
	mov	x22, x0
	cmp	x0, #6
	b.lt	LBB0_4
; %bb.3:
	ldrb	w8, [x20, #6]
	cmp	w8, #32
	b.eq	LBB0_5
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_die
LBB0_5:
	add	x23, x20, x22
	str	wzr, [x21]
	ldrb	w24, [x20]
	cmp	w24, #32
	b.ne	LBB0_14
LBB0_6:
	sub	x8, x23, x20
	cmp	x8, #6
	b.lt	LBB0_9
; %bb.7:
	ldrb	w8, [x20, #1]
	cmp	w8, #98
	b.eq	LBB0_10
; %bb.8:
	cmp	w8, #116
	b.eq	LBB0_10
LBB0_9:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_die
LBB0_10:
	add	x20, x20, #6
	sub	w2, w23, w20
	mov	x0, x20
	mov	w1, #9
	bl	_memchr
	mov	x21, x0
	cbnz	x0, LBB0_12
; %bb.11:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_die
LBB0_12:
	sub	w2, w21, w20
	mov	x0, x19
	mov	x1, x20
	bl	_strbuf_add
	mov	w0, #0
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w8, #0
Lloh12:
	adrp	x22, l_.str.1@PAGE
Lloh13:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	sxtb	w9, w24
	add	w8, w9, w8, lsl #3
	sub	w8, w8, #48
	str	w8, [x21]
	ldrb	w24, [x20, #1]!
	cmp	w24, #32
	b.eq	LBB0_6
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	sub	w9, w24, #56
	and	w9, w9, #0xff
	cmp	w9, #247
	b.hi	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_die
	ldr	w8, [x21]
	b	LBB0_15
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid ls response: missing mode: %s"

l_.str.1:                               ; @.str.1
	.asciz	"invalid ls response: mode is not octal: %s"

l_.str.2:                               ; @.str.2
	.asciz	"unexpected ls response: not a tree or blob: %s"

l_.str.3:                               ; @.str.3
	.asciz	"invalid ls response: missing tab: %s"

	.no_dead_strip	_parse_ls_response
.subsections_via_symbols
