	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function builtin_diffstat
_builtin_diffstat:                      ## @builtin_diffstat
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rbp), %r12
	movq	%r12, %rdi
	callq	_DIFF_PAIR_UNMERGED
	movb	$1, %dl
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	(%r12), %rax
	movq	_DIFF_STATUS_MODIFIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 8(%r12)
	sete	%dl
LBB0_3:
	movb	%dl, -41(%rbp)                  ## 1-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_diffstat_add
	movq	%rax, %rbx
	movq	(%r12), %rax
	movq	_DIFF_STATUS_UNKNOWN@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	setne	%dl
	movl	%edx, (%rbx)
	cmpq	$0, 24(%r13)
	je	LBB0_5
## %bb.4:
	movl	32(%rbx), %esi
	movq	%r12, %rdi
	callq	_get_compact_summary
	movl	%eax, 36(%rbx)
LBB0_5:
	testq	%r15, %r15
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_7
## %bb.6:
	testq	%r14, %r14
	je	LBB0_7
## %bb.8:
	leaq	12(%r15), %rdi
	leaq	12(%r14), %rsi
	callq	_oideq
	movl	%eax, %r12d
	movl	20(%r13), %edi
	movq	%r15, %rsi
	callq	_diff_filespec_is_binary
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movl	20(%r13), %edi
	movq	%r14, %rsi
	callq	_diff_filespec_is_binary
	testq	%rax, %rax
	je	LBB0_13
LBB0_10:
	movl	$1, 8(%rbx)
	testl	%r12d, %r12d
	je	LBB0_12
## %bb.11:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	jmp	LBB0_22
LBB0_7:
	movl	$1, 4(%rbx)
	jmp	LBB0_23
LBB0_12:
	movl	20(%r13), %edi
	movq	%r14, %rsi
	callq	_diff_filespec_size
	movq	%rax, 16(%rbx)
	movl	20(%r13), %edi
	movq	%r15, %rsi
	callq	_diff_filespec_size
	movq	%rax, 24(%rbx)
LBB0_22:
	movq	%r15, %rdi
	callq	_diff_free_filespec_data
	movq	%r14, %rdi
	callq	_diff_free_filespec_data
LBB0_23:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_14
## %bb.15:
	testl	%r12d, %r12d
	jne	LBB0_22
## %bb.16:
	movl	20(%r13), %edi
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdx
	callq	_fill_mmfile
	testq	%rax, %rax
	js	LBB0_18
## %bb.17:
	movl	20(%r13), %edi
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdx
	callq	_fill_mmfile
	testq	%rax, %rax
	jns	LBB0_19
LBB0_18:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_19:
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	leaq	-120(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movl	16(%r13), %eax
	movl	%eax, -80(%rbp)
	movl	12(%r13), %eax
	movl	%eax, -84(%rbp)
	movl	8(%r13), %eax
	movl	%eax, -88(%rbp)
	movl	4(%r13), %eax
	movl	%eax, -116(%rbp)
	movl	(%r13), %eax
	movl	%eax, -120(%rbp)
	movq	_discard_hunk_line@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_diffstat_consume@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, (%rsp)
	leaq	-52(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	%r14, %r9
	callq	_xdi_diff_outf
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_21:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_14:
	movl	20(%r13), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_diff_populate_filespec
	movl	20(%r13), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_diff_populate_filespec
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	callq	_count_lines
	movq	%rax, 24(%rbx)
	movl	4(%r14), %esi
	movl	8(%r14), %edi
	callq	_count_lines
	movq	%rax, 16(%rbx)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_DIFF_STATUS_MODIFIED,8,3       ## @DIFF_STATUS_MODIFIED
	.comm	_DIFF_STATUS_UNKNOWN,8,3        ## @DIFF_STATUS_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to read files to diff"

	.comm	_discard_hunk_line,4,2          ## @discard_hunk_line
	.comm	_diffstat_consume,4,2           ## @diffstat_consume
L_.str.1:                               ## @.str.1
	.asciz	"unable to generate diffstat for %s"

	.no_dead_strip	_builtin_diffstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function builtin_diffstat
_builtin_diffstat:                      ; @builtin_diffstat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x6
	mov	x21, x5
	mov	x22, x4
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x25, x0
	mov	x0, x6
	bl	_DIFF_PAIR_UNMERGED
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x24]
Lloh0:
	adrp	x9, _DIFF_STATUS_MODIFIED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DIFF_STATUS_MODIFIED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x24, #8]
	cmp	x8, #0
	cset	w26, eq
	b	LBB0_4
LBB0_3:
	mov	w26, #1
LBB0_4:
	mov	x0, x22
	mov	x1, x25
	mov	x2, x23
	bl	_diffstat_add
	mov	x23, x0
Lloh3:
	adrp	x8, _DIFF_STATUS_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIFF_STATUS_UNKNOWN@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x8
	cset	w8, ne
	str	w8, [x0]
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w1, [x23, #32]
	mov	x0, x24
	bl	_get_compact_summary
	str	w0, [x23, #36]
LBB0_6:
	cbz	x20, LBB0_12
; %bb.7:
	cbz	x19, LBB0_12
; %bb.8:
	add	x0, x20, #12
	add	x1, x19, #12
	bl	_oideq
	mov	x24, x0
	ldr	w0, [x21, #20]
	mov	x1, x20
	bl	_diff_filespec_is_binary
	cbnz	x0, LBB0_10
; %bb.9:
	ldr	w0, [x21, #20]
	mov	x1, x19
	bl	_diff_filespec_is_binary
	cbz	x0, LBB0_16
LBB0_10:
	mov	w8, #1
	str	w8, [x23, #8]
	cbz	w24, LBB0_13
; %bb.11:
	stp	xzr, xzr, [x23, #16]
	b	LBB0_14
LBB0_12:
	mov	w8, #1
	str	w8, [x23, #4]
	b	LBB0_15
LBB0_13:
	ldr	w0, [x21, #20]
	mov	x1, x19
	bl	_diff_filespec_size
	str	x0, [x23, #16]
	ldr	w0, [x21, #20]
	mov	x1, x20
	bl	_diff_filespec_size
	str	x0, [x23, #24]
LBB0_14:
	mov	x0, x20
	bl	_diff_free_filespec_data
	mov	x0, x19
	bl	_diff_free_filespec_data
LBB0_15:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_16:
	tbz	w26, #0, LBB0_23
; %bb.17:
	cbnz	w24, LBB0_14
; %bb.18:
	ldr	w0, [x21, #20]
	add	x1, sp, #60
	mov	x2, x20
	bl	_fill_mmfile
	tbnz	x0, #63, LBB0_20
; %bb.19:
	ldr	w0, [x21, #20]
	add	x1, sp, #56
	mov	x2, x19
	bl	_fill_mmfile
	tbz	x0, #63, LBB0_21
LBB0_20:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_21:
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	ldr	w8, [x21, #16]
	str	w8, [sp, #48]
	ldp	d1, d0, [x21]
	str	d0, [sp, #40]
	str	d1, [sp, #8]
Lloh8:
	adrp	x8, _discard_hunk_line@GOTPAGE
Lloh9:
	ldr	x8, [x8, _discard_hunk_line@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _diffstat_consume@GOTPAGE
Lloh12:
	ldr	x8, [x8, _diffstat_consume@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	add	x0, sp, #60
	add	x1, sp, #56
	add	x5, sp, #32
	add	x6, sp, #8
	mov	x4, x22
	bl	_xdi_diff_outf
	cbz	x0, LBB0_14
; %bb.22:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
	b	LBB0_14
LBB0_23:
	ldr	w0, [x21, #20]
	mov	x1, x20
	mov	w2, #0
	bl	_diff_populate_filespec
	ldr	w0, [x21, #20]
	mov	x1, x19
	mov	w2, #0
	bl	_diff_populate_filespec
	ldp	w1, w0, [x20, #4]
	bl	_count_lines
	str	x0, [x23, #24]
	ldp	w1, w0, [x19, #4]
	bl	_count_lines
	str	x0, [x23, #16]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_DIFF_STATUS_MODIFIED,8,3       ; @DIFF_STATUS_MODIFIED
	.comm	_DIFF_STATUS_UNKNOWN,8,3        ; @DIFF_STATUS_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to read files to diff"

	.comm	_discard_hunk_line,4,2          ; @discard_hunk_line
	.comm	_diffstat_consume,4,2           ; @diffstat_consume
l_.str.1:                               ; @.str.1
	.asciz	"unable to generate diffstat for %s"

	.no_dead_strip	_builtin_diffstat
.subsections_via_symbols
