	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function builtin_checkdiff
_builtin_checkdiff:                     ## @builtin_checkdiff
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	testq	%r8, %r8
	je	LBB0_14
## %bb.1:
	movq	%r9, %r12
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-120(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	testq	%rbx, %rbx
	cmovneq	%rbx, %r15
	movq	%r15, -120(%rbp)
	movq	$0, -72(%rbp)
	movq	%r12, -80(%rbp)
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_whitespace_rule
	movl	%eax, -112(%rbp)
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_ll_merge_marker_size
	movl	%eax, -88(%rbp)
	movq	8(%r12), %rdi
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdx
	callq	_fill_mmfile
	testq	%rax, %rax
	movq	%r14, %r13
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r12, %rbx
	js	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdx
	callq	_fill_mmfile
	testq	%rax, %rax
	jns	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_4:
	movq	%rbx, %r12
	movq	8(%rbx), %rdi
	movq	%r15, %rsi
	callq	_diff_filespec_is_binary
	testq	%rax, %rax
	je	LBB0_5
LBB0_12:
	movq	%r13, %rdi
	callq	_diff_free_filespec_data
	movq	%r15, %rdi
	callq	_diff_free_filespec_data
	cmpl	$0, -104(%rbp)
	je	LBB0_14
## %bb.13:
	movl	$1, (%r12)
LBB0_14:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	-232(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	leaq	-176(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movl	$1, -164(%rbp)
	movq	$0, -208(%rbp)
	movq	_checkdiff_consume_hunk@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_checkdiff_consume@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, (%rsp)
	leaq	-48(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-120(%rbp), %r8
	movq	%rbx, %r9
	callq	_xdi_diff_outf
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r13), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_7:
	movl	-112(%rbp), %eax
	movq	_WS_BLANK_AT_EOF@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_12
## %bb.8:
	movl	%eax, -56(%rbp)
	leaq	-48(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_check_blank_at_eof
	movl	-52(%rbp), %r14d
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.9:
	movq	_builtin_checkdiff.err(%rip), %r8
	testq	%r8, %r8
	jne	LBB0_11
## %bb.10:
	movl	(%rbx), %edi
	callq	_whitespace_error_string
	movq	%rax, %r8
	movq	%rax, _builtin_checkdiff.err(%rip)
LBB0_11:
	movl	4(%r12), %edi
	movq	-120(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %ecx
	callq	_fprintf
	movl	$1, -104(%rbp)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to read files to diff"

	.comm	_checkdiff_consume_hunk,4,2     ## @checkdiff_consume_hunk
	.comm	_checkdiff_consume,4,2          ## @checkdiff_consume
L_.str.1:                               ## @.str.1
	.asciz	"unable to generate checkdiff for %s"

	.comm	_WS_BLANK_AT_EOF,4,2            ## @WS_BLANK_AT_EOF
.zerofill __DATA,__bss,_builtin_checkdiff.err,8,3 ## @builtin_checkdiff.err
L_.str.2:                               ## @.str.2
	.asciz	"%s:%d: %s.\n"

	.no_dead_strip	_builtin_checkdiff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function builtin_checkdiff
_builtin_checkdiff:                     ; @builtin_checkdiff
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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 w27, -72
	.cfi_offset w28, -80
	cbz	x4, LBB0_7
; %bb.1:
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	add	x0, sp, #128
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	cmp	x23, #0
	csel	x8, x24, x23, eq
	stp	x19, xzr, [sp, #168]
	str	x8, [sp, #128]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	x1, x22
	bl	_whitespace_rule
	str	w0, [sp, #136]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	x1, x22
	bl	_ll_merge_marker_size
	str	w0, [sp, #160]
	ldr	x0, [x19, #8]
	sub	x1, x29, #68
	mov	x2, x21
	bl	_fill_mmfile
	tbnz	x0, #63, LBB0_3
; %bb.2:
	ldr	x0, [x19, #8]
	sub	x1, x29, #72
	mov	x2, x20
	bl	_fill_mmfile
	tbz	x0, #63, LBB0_4
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_4:
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_diff_filespec_is_binary
	cbz	x0, LBB0_8
LBB0_5:
	mov	x0, x21
	bl	_diff_free_filespec_data
	mov	x0, x20
	bl	_diff_free_filespec_data
	ldr	w8, [sp, #144]
	cbz	w8, LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_8:
	add	x0, sp, #72
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	mov	w8, #1
	str	w8, [sp, #28]
	str	xzr, [sp, #96]
Lloh2:
	adrp	x8, _checkdiff_consume_hunk@GOTPAGE
Lloh3:
	ldr	x8, [x8, _checkdiff_consume_hunk@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _checkdiff_consume@GOTPAGE
Lloh6:
	ldr	x8, [x8, _checkdiff_consume@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	sub	x0, x29, #68
	sub	x1, x29, #72
	add	x4, sp, #128
	add	x5, sp, #72
	add	x6, sp, #16
	bl	_xdi_diff_outf
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w8, [x21]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_10:
	ldr	w8, [sp, #136]
Lloh10:
	adrp	x23, _WS_BLANK_AT_EOF@GOTPAGE
Lloh11:
	ldr	x23, [x23, _WS_BLANK_AT_EOF@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.11:
	str	w8, [sp, #8]
	sub	x0, x29, #68
	sub	x1, x29, #72
	add	x2, sp, #8
	bl	_check_blank_at_eof
	ldr	w22, [sp, #12]
	cbz	w22, LBB0_5
; %bb.12:
	adrp	x24, _builtin_checkdiff.err@PAGE
	ldr	x4, [x24, _builtin_checkdiff.err@PAGEOFF]
	cbnz	x4, LBB0_14
; %bb.13:
	ldr	w0, [x23]
	bl	_whitespace_error_string
	mov	x4, x0
	str	x0, [x24, _builtin_checkdiff.err@PAGEOFF]
LBB0_14:
	ldr	w0, [x19, #4]
	ldr	x2, [sp, #128]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x3, x22
	bl	_fprintf
	mov	w8, #1
	str	w8, [sp, #144]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to read files to diff"

	.comm	_checkdiff_consume_hunk,4,2     ; @checkdiff_consume_hunk
	.comm	_checkdiff_consume,4,2          ; @checkdiff_consume
l_.str.1:                               ; @.str.1
	.asciz	"unable to generate checkdiff for %s"

	.comm	_WS_BLANK_AT_EOF,4,2            ; @WS_BLANK_AT_EOF
.zerofill __DATA,__bss,_builtin_checkdiff.err,8,3 ; @builtin_checkdiff.err
l_.str.2:                               ; @.str.2
	.asciz	"%s:%d: %s.\n"

	.no_dead_strip	_builtin_checkdiff
.subsections_via_symbols
