	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__subprocess                ## -- Begin function cmd__subprocess
	.p2align	4, 0x90
_cmd__subprocess:                       ## @cmd__subprocess
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$0, -20(%rbp)
	leaq	-20(%rbp), %rdi
	callq	_setup_git_directory_gently
	cmpl	$0, -20(%rbp)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_2:
	cmpl	$2, %r14d
	jl	LBB0_5
## %bb.3:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	addq	$8, %rbx
	xorl	%eax, %eax
	callq	_setup_work_tree
LBB0_5:
	movl	$1, -40(%rbp)
	addq	$8, %rbx
	movq	%rbx, -32(%rbp)
	leaq	-40(%rbp), %rdi
	callq	_run_command
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,16,3        ## @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No git repo found"

L_.str.1:                               ## @.str.1
	.asciz	"--setup-work-tree"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__subprocess                ; -- Begin function cmd__subprocess
	.p2align	2
_cmd__subprocess:                       ; @cmd__subprocess
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #16]
	str	wzr, [sp, #12]
	add	x0, sp, #12
	bl	_setup_git_directory_gently
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
	cmp	w20, #2
	b.lt	LBB0_5
; %bb.3:
	mov	x20, x19
	ldr	x0, [x20, #8]!
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_5
; %bb.4:
	bl	_setup_work_tree
	mov	x19, x20
LBB0_5:
	mov	w8, #1
	str	w8, [sp, #16]
	add	x8, x19, #8
	str	x8, [sp, #24]
	add	x0, sp, #16
	bl	_run_command
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,16,3        ; @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No git repo found"

l_.str.1:                               ; @.str.1
	.asciz	"--setup-work-tree"

.subsections_via_symbols
