	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function external_diff
_external_diff:                         ## @external_diff
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpb	$1, _external_diff.done_preparing(%rip)
	jne	LBB0_2
## %bb.1:
	movq	_external_diff.external_diff_cmd(%rip), %rax
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movl	%eax, %edi
	callq	_xstrdup_or_null
	movq	%rax, _external_diff.external_diff_cmd(%rip)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_external_diff_cmd_cfg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, _external_diff.external_diff_cmd(%rip)
LBB0_4:
	movb	$1, _external_diff.done_preparing(%rip)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_external_diff.external_diff_cmd,8,3 ## @external_diff.external_diff_cmd
.zerofill __DATA,__bss,_external_diff.done_preparing,1,2 ## @external_diff.done_preparing
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GIT_EXTERNAL_DIFF"

	.comm	_external_diff_cmd_cfg,8,3      ## @external_diff_cmd_cfg
	.no_dead_strip	_external_diff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function external_diff
_external_diff:                         ; @external_diff
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	adrp	x19, _external_diff.done_preparing@PAGE
	ldrb	w8, [x19, _external_diff.done_preparing@PAGEOFF]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _external_diff.external_diff_cmd@PAGE
Lloh1:
	ldr	x0, [x8, _external_diff.external_diff_cmd@PAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	bl	_xstrdup_or_null
	adrp	x8, _external_diff.external_diff_cmd@PAGE
	str	x0, [x8, _external_diff.external_diff_cmd@PAGEOFF]
	cbnz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x9, _external_diff_cmd_cfg@GOTPAGE
Lloh5:
	ldr	x9, [x9, _external_diff_cmd_cfg@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x9]
	str	x0, [x8, _external_diff.external_diff_cmd@PAGEOFF]
LBB0_4:
	mov	w8, #1
	strb	w8, [x19, _external_diff.done_preparing@PAGEOFF]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_external_diff.external_diff_cmd,8,3 ; @external_diff.external_diff_cmd
.zerofill __DATA,__bss,_external_diff.done_preparing,1,2 ; @external_diff.done_preparing
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GIT_EXTERNAL_DIFF"

	.comm	_external_diff_cmd_cfg,8,3      ; @external_diff_cmd_cfg
	.no_dead_strip	_external_diff
.subsections_via_symbols
