	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_match
_patch_match:                           ## @patch_match
	.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	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pch_ptrn_lines
	movq	%rax, %rcx
	subq	%rbx, %rcx
	cmpq	%rbx, %rcx
	jle	LBB0_17
## %bb.1:
	addq	%r13, %r15
	addq	%rbx, %r15
	shrq	$63, %r13
	xorl	$1, %r13d
	subq	%rbx, %rax
	subq	%rbx, %rax
	incq	%rbx
	xorl	%r12d, %r12d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$10, %cl
	jne	LBB0_16
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	cmpq	%r12, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r15,%r12), %r14
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_ifetch
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r15
	addq	%r12, %rbx
	movq	%rbx, %rdi
	callq	_pfetch
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_pch_line_len
	movq	_canonicalize@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movzwl	%ax, %ebx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_similar
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	callq	_strnNE
	testq	%rax, %rax
	jne	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_input_lines@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_last_line_missing_eol@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movzbl	-1(%rbx,%r13), %ecx
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$10, %cl
	jne	LBB0_3
LBB0_16:
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_13:
	movl	$1, %r14d
LBB0_17:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_canonicalize,8,3               ## @canonicalize
	.comm	_input_lines,8,3                ## @input_lines
	.comm	_last_line_missing_eol,8,3      ## @last_line_missing_eol
	.no_dead_strip	_patch_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_match
_patch_match:                           ; @patch_match
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_pch_ptrn_lines
	sub	x8, x0, x19
	cmp	x8, x19
	b.le	LBB0_11
; %bb.1:
	lsr	x8, x21, #63
	eor	w20, w8, #0x1
	sub	x25, x0, x19, lsl #1
	add	x26, x21, x22
Lloh0:
	adrp	x27, _canonicalize@GOTPAGE
Lloh1:
	ldr	x27, [x27, _canonicalize@GOTPAGEOFF]
Lloh2:
	adrp	x28, _input_lines@GOTPAGE
Lloh3:
	ldr	x28, [x28, _input_lines@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	b.ne	LBB0_11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	subs	x25, x25, #1
	b.eq	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x26, x19
	mov	x0, x21
	mov	x1, x20
	bl	_ifetch
	cbz	x0, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	add	x19, x19, #1
	mov	x0, x19
	bl	_pfetch
	mov	x22, x0
	mov	x0, x19
	bl	_pch_line_len
	mov	x23, x0
	ldr	x8, [x27]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	bl	_similar
	cbnz	w0, LBB0_8
	b	LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	bl	_strnNE
	cbnz	x0, LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	cmp	x21, x8
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh4:
	adrp	x8, _last_line_missing_eol@GOTPAGE
Lloh5:
	ldr	x8, [x8, _last_line_missing_eol@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x8]
	add	x8, x22, w23, uxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	cbz	x9, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	b.ne	LBB0_3
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	w0, #1
	b	LBB0_12
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_canonicalize,8,3               ; @canonicalize
	.comm	_input_lines,8,3                ; @input_lines
	.comm	_last_line_missing_eol,8,3      ; @last_line_missing_eol
	.no_dead_strip	_patch_match
.subsections_via_symbols
