	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_clean_worktree
_check_clean_worktree:                  ## @check_clean_worktree
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ARGV_ARRAY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	callq	_validate_no_submodules
	movq	_GIT_DIR_ENVIRONMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_argv_array_pushf
	movq	_GIT_WORK_TREE_ENVIRONMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_argv_array_pushf
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	leaq	-40(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.4(%rip), %rcx
	xorl	%r8d, %r8d
	callq	_argv_array_pushl
	movl	-32(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	$1, -56(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)
	movl	$-1, -52(%rbp)
	movq	%r15, %rdi
	callq	_start_command
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_die_errno
LBB0_2:
	movl	-52(%rbp), %edi
	leaq	-25(%rbp), %rsi
	movl	$1, %edx
	callq	_xread
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_die
LBB0_4:
	movl	-52(%rbp), %edi
	callq	_close
	leaq	-56(%rbp), %rdi
	callq	_finish_command
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_die_errno
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARGV_ARRAY_INIT,4,2            ## @ARGV_ARRAY_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s=%s/.git"

	.comm	_GIT_DIR_ENVIRONMENT,4,2        ## @GIT_DIR_ENVIRONMENT
L_.str.1:                               ## @.str.1
	.asciz	"%s=%s"

	.comm	_GIT_WORK_TREE_ENVIRONMENT,4,2  ## @GIT_WORK_TREE_ENVIRONMENT
L_.str.2:                               ## @.str.2
	.asciz	"status"

L_.str.3:                               ## @.str.3
	.asciz	"--porcelain"

L_.str.4:                               ## @.str.4
	.asciz	"--ignore-submodules=none"

L_.str.5:                               ## @.str.5
	.asciz	"failed to run 'git status' on '%s'"

L_.str.6:                               ## @.str.6
	.asciz	"'%s' contains modified or untracked files, use --force to delete it"

L_.str.7:                               ## @.str.7
	.asciz	"failed to run 'git status' on '%s', code %d"

	.no_dead_strip	_check_clean_worktree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function check_clean_worktree
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_check_clean_worktree:                  ; @check_clean_worktree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _ARGV_ARRAY_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARGV_ARRAY_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	bl	_validate_no_submodules
Lloh3:
	adrp	x8, _GIT_DIR_ENVIRONMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GIT_DIR_ENVIRONMENT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	w3, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_pushf
Lloh8:
	adrp	x8, _GIT_WORK_TREE_ENVIRONMENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GIT_WORK_TREE_ENVIRONMENT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	w3, [x20]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_pushf
	add	x21, sp, #16
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	add	x0, x21, #16
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh17:
	adrp	x3, l_.str.4@PAGE
Lloh18:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x4, #0
	bl	_argv_array_pushl
	ldr	w8, [sp, #40]
	ldr	w9, [x20]
	stp	w9, w8, [sp, #24]
Lloh19:
	adrp	x8, lCPI0_0@PAGE
Lloh20:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
	add	x0, sp, #16
	bl	_start_command
	cbz	w0, LBB0_2
; %bb.1:
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die_errno
LBB0_2:
	ldr	w0, [sp, #20]
	add	x1, sp, #15
	mov	w2, #1
	bl	_xread
	cbz	w0, LBB0_4
; %bb.3:
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
LBB0_4:
	ldr	w0, [sp, #20]
	bl	_close
	add	x0, sp, #16
	bl	_finish_command
	cbz	w0, LBB0_6
; %bb.5:
	mov	x20, x0
Lloh25:
	adrp	x0, l_.str.7@PAGE
Lloh26:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	str	x20, [sp]
	mov	x1, x19
	bl	_die_errno
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ARGV_ARRAY_INIT,4,2            ; @ARGV_ARRAY_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s=%s/.git"

	.comm	_GIT_DIR_ENVIRONMENT,4,2        ; @GIT_DIR_ENVIRONMENT
l_.str.1:                               ; @.str.1
	.asciz	"%s=%s"

	.comm	_GIT_WORK_TREE_ENVIRONMENT,4,2  ; @GIT_WORK_TREE_ENVIRONMENT
l_.str.2:                               ; @.str.2
	.asciz	"status"

l_.str.3:                               ; @.str.3
	.asciz	"--porcelain"

l_.str.4:                               ; @.str.4
	.asciz	"--ignore-submodules=none"

l_.str.5:                               ; @.str.5
	.asciz	"failed to run 'git status' on '%s'"

l_.str.6:                               ; @.str.6
	.asciz	"'%s' contains modified or untracked files, use --force to delete it"

l_.str.7:                               ; @.str.7
	.asciz	"failed to run 'git status' on '%s', code %d"

	.no_dead_strip	_check_clean_worktree
.subsections_via_symbols
