	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function differ
_differ:                                ## @differ
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	16(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fdopen
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	movq	%rax, %r14
	movl	$4, %ebx
	leaq	-48(%rbp), %r15
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EPIPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %r15
	movl	$4, %ebx
	movl	$0, %r13d
	testq	%rax, %rax
	jne	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r12), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_read
	subl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rcx
	addq	%rcx, %r15
	testl	%ebx, %ebx
	jg	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4, %ebx
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax
	cmpl	$128, %eax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	leaq	-48(%rbp), %rdx
	callq	_write_free_diffs
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	leaq	-48(%rbp), %rdx
	callq	_write_inuse_diffs
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	jmp	LBB0_16
LBB0_22:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r12)
	movq	(%rax), %rdi
	movl	8(%r12), %esi
	movl	$4, %edx
	callq	_strerror_r
	movl	12(%r12), %edi
	callq	_close
	movq	$-1, %r14
	jmp	LBB0_21
LBB0_7:
	movq	_EPIPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	xorl	%r13d, %r13d
LBB0_17:
	movq	%r14, %rdi
	callq	_fclose
	movl	12(%r12), %edi
	callq	_close
	movq	$-1, %r14
	testl	%r13d, %r13d
	jne	LBB0_21
## %bb.18:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	xorl	%edi, %edi
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ASSERT
	movl	8(%r12), %ebx
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dgettext
	movl	%ebx, %edi
	movl	$4, %esi
	movq	%rax, %rdx
	callq	_snprintf
	jmp	LBB0_21
LBB0_19:
	xorl	%r14d, %r14d
LBB0_21:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w"

	.comm	_errno,8,3                      ## @errno
	.comm	_EPIPE,8,3                      ## @EPIPE
	.comm	_TEXT_DOMAIN,4,2                ## @TEXT_DOMAIN
L_.str.1:                               ## @.str.1
	.asciz	"Internal error: bad data from diff IOCTL"

	.no_dead_strip	_differ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function differ
_differ:                                ; @differ
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fdopen
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x0
	mov	w21, #4
	add	x22, sp, #8
Lloh2:
	adrp	x23, _EPIPE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _EPIPE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	str	x8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, sp, #8
	mov	w21, #4
	cbnz	x8, LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #12]
	mov	x1, x22
	mov	x2, x21
	bl	_read
	add	x22, x22, w0, sxtw
	sub	w21, w21, w0
	cmp	w0, #1
	ccmp	w21, #0, #4, ge
	b.gt	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w0, #31, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #0
	ccmp	w21, #4, #4, eq
	b.ne	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #8]
	cmp	w8, #128
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #129
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_write_free_diffs
	mov	x21, x0
	cbz	w0, LBB0_12
	b	LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_write_inuse_diffs
	mov	x21, x0
	cbnz	w0, LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	b	LBB0_3
LBB0_13:
Lloh4:
	adrp	x8, _errno@GOTPAGE
Lloh5:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19]
	ldr	x0, [x8]
	ldr	w1, [x19, #8]
	mov	w2, #4
	bl	_strerror_r
	ldr	w0, [x19, #12]
	bl	_close
	b	LBB0_19
LBB0_14:
	mov	w21, #0
	ldr	x8, [x23]
	str	x8, [x19]
	b	LBB0_16
LBB0_15:
	mov	w21, #0
LBB0_16:
	mov	x0, x20
	bl	_fclose
	ldr	w0, [x19, #12]
	bl	_close
	cbnz	w21, LBB0_19
; %bb.17:
	ldr	x8, [x19]
	cbz	x8, LBB0_21
; %bb.18:
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w0, eq
	bl	_ASSERT
	ldr	w19, [x19, #8]
Lloh6:
	adrp	x8, _TEXT_DOMAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dgettext
	mov	x2, x0
	mov	x0, x19
	mov	w1, #4
	bl	_snprintf
LBB0_19:
	mov	x0, #-1
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_21:
	mov	x0, #0
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w"

	.comm	_errno,8,3                      ; @errno
	.comm	_EPIPE,8,3                      ; @EPIPE
	.comm	_TEXT_DOMAIN,4,2                ; @TEXT_DOMAIN
l_.str.1:                               ; @.str.1
	.asciz	"Internal error: bad data from diff IOCTL"

	.no_dead_strip	_differ
.subsections_via_symbols
