	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diff_grep
_diff_grep:                             ## @diff_grep
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %r12
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	testq	%r12, %r12
	je	LBB0_4
## %bb.5:
	movq	%rdx, %r13
	leaq	-72(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r15, -56(%rbp)
	movl	$0, -64(%rbp)
	movl	4(%r13), %eax
	movl	%eax, -44(%rbp)
	movl	(%r13), %eax
	movl	%eax, -48(%rbp)
	movq	_discard_hunk_line@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_diffgrep_consume@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-64(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r12, %rsi
	leaq	-72(%rbp), %r9
	callq	_xdi_diff_outf
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	-64(%rbp), %r14d
	jmp	LBB0_7
LBB0_1:
	movl	(%r12), %edx
	movl	4(%r12), %esi
	jmp	LBB0_2
LBB0_4:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
LBB0_2:
	leaq	-64(%rbp), %r8
	movq	%r15, %rdi
	movl	$1, %ecx
	xorl	%r9d, %r9d
	callq	_regexec_buf
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
LBB0_7:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_discard_hunk_line,4,2          ## @discard_hunk_line
	.comm	_diffgrep_consume,4,2           ## @diffgrep_consume
	.no_dead_strip	_diff_grep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diff_grep
_diff_grep:                             ; @diff_grep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x3
	mov	x20, x1
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	cbz	x20, LBB0_4
; %bb.2:
	mov	x22, x2
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, sp
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	x19, [sp, #24]
	str	wzr, [sp, #16]
	ldr	d0, [x22]
	str	d0, [sp]
Lloh0:
	adrp	x8, _discard_hunk_line@GOTPAGE
Lloh1:
	ldr	x8, [x8, _discard_hunk_line@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _diffgrep_consume@GOTPAGE
Lloh4:
	ldr	x8, [x8, _diffgrep_consume@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x4, sp, #16
	add	x5, sp, #8
	mov	x6, sp
	mov	x0, x21
	mov	x1, x20
	bl	_xdi_diff_outf
	ldr	w8, [sp, #16]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_6
LBB0_3:
	ldp	w2, w1, [x20]
	b	LBB0_5
LBB0_4:
	ldp	w2, w1, [x21]
LBB0_5:
	add	x4, sp, #16
	mov	x0, x19
	mov	w3, #1
	mov	w5, #0
	bl	_regexec_buf
	cmp	w0, #0
	cset	w0, eq
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_discard_hunk_line,4,2          ; @discard_hunk_line
	.comm	_diffgrep_consume,4,2           ; @diffgrep_consume
	.no_dead_strip	_diff_grep
.subsections_via_symbols
