	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdiff_set_find_func            ## -- Begin function xdiff_set_find_func
	.p2align	4, 0x90
_xdiff_set_find_func:                   ## @xdiff_set_find_func
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_ff_regexp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movl	$16, %edi
	callq	_xmalloc
	movq	%rax, %r12
	movq	%rax, (%r14)
	movl	$1, (%rax)
	movl	$1, %esi
	movq	%r15, %rax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%esi
	movl	%esi, (%r12)
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	cmpb	$10, %cl
	je	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%cl, %cl
	jne	LBB0_11
## %bb.3:
	movq	8(%r12), %rdi
	callq	_ALLOC_ARRAY
	movl	(%r12), %r14d
	testl	%r14d, %r14d
	jle	LBB0_16
## %bb.4:
	movl	$4, %r13d
	xorl	%ebx, %ebx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_free
	incq	%r15
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movslq	(%r12), %r14
	addq	$8, %r13
	cmpq	%r14, %rbx
	jge	LBB0_16
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %r12
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	cmpb	$33, (%r15)
	sete	%al
	movl	%eax, -4(%r12,%r13)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%r14d
	cmpq	%r14, %rbx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_die
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	cmpb	$33, (%r15)
	sete	%r14b
	addq	%r15, %r14
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %esi
	subl	%r14d, %esi
	movq	%r14, %rdi
	callq	_xstrndup
	movq	%rax, %r14
	movq	%rax, %rbx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	%r13, %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_regcomp
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_die
	jmp	LBB0_15
LBB0_16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_regexp,4,2                  ## @ff_regexp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Last expression must not be negated: %s"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid regexp to look for hunk header: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdiff_set_find_func            ; -- Begin function xdiff_set_find_func
	.p2align	2
_xdiff_set_find_func:                   ; @xdiff_set_find_func
	.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
Lloh0:
	adrp	x8, _ff_regexp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_regexp@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	mov	w0, #16
	bl	_xmalloc
	mov	x20, x0
	str	x0, [x22]
	mov	w1, #1
	str	w1, [x0]
	mov	x8, x21
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w1, w1, #1
	str	w1, [x20]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8]
	cmp	w9, #10
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w9, LBB0_2
; %bb.5:
	ldr	x0, [x20, #8]
	bl	_ALLOC_ARRAY
	ldr	w25, [x20]
	cmp	w25, #1
	b.lt	LBB0_15
; %bb.6:
	mov	x26, #0
	mov	x27, #0
Lloh3:
	adrp	x22, l_.str.1@PAGE
Lloh4:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh5:
	adrp	x23, l_.str@PAGE
Lloh6:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
	bl	_free
	add	x21, x24, #1
	add	x27, x27, #1
	ldrsw	x25, [x20]
	add	x26, x26, #8
	cmp	x27, x25
	b.ge	LBB0_15
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x20, #8]
	mov	x0, x21
	mov	w1, #10
	bl	_strchr
	mov	x24, x0
	ldrb	w8, [x21]
	sub	w9, w25, #1
	cmp	w8, #33
	cset	w8, eq
	str	w8, [x28, x26]
	ccmp	x27, x9, #0, eq
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	x1, x21
	bl	_die
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, x21
	ldrb	w9, [x8], #1
	cmp	w9, #33
	csel	x21, x21, x8, ne
	cbz	x24, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	sub	w1, w24, w21
	mov	x0, x21
	bl	_xstrndup
	mov	x21, x0
	mov	x25, x0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, #0
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x28, x26
	add	x0, x8, #4
	mov	x1, x21
	mov	x2, x19
	bl	_regcomp
	cbz	x0, LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_die
	b	LBB0_7
LBB0_15:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_regexp,4,2                  ; @ff_regexp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Last expression must not be negated: %s"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid regexp to look for hunk header: %s"

.subsections_via_symbols
