	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diffcore_pickaxe               ## -- Begin function diffcore_pickaxe
	.p2align	4, 0x90
_diffcore_pickaxe:                      ## @diffcore_pickaxe
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movl	8(%rdi), %r13d
	movq	_DIFF_PICKAXE_REGEX@GOTPCREL(%rip), %rax
	movq	_DIFF_PICKAXE_KIND_G@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ecx
	orl	(%rax), %ecx
	testl	%r13d, %ecx
	je	LBB0_7
## %bb.1:
	movq	_REG_EXTENDED@GOTPCREL(%rip), %rax
	movq	_REG_NEWLINE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_DIFF_PICKAXE_IGNORE_CASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	je	LBB0_3
## %bb.2:
	movq	_REG_ICASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	orl	%eax, %edx
	leaq	-52(%rbp), %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_regcomp_or_die
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	_DIFF_PICKAXE_KIND_G@GOTPCREL(%rip), %rdx
	andl	(%rdx), %r13d
	jne	LBB0_12
LBB0_6:
	movq	_has_changes@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	movq	_DIFF_PICKAXE_KIND_S@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_11
## %bb.8:
	movq	_DIFF_PICKAXE_IGNORE_CASE@GOTPCREL(%rip), %rbx
	testl	%r13d, (%rbx)
	je	LBB0_18
## %bb.9:
	movq	%r14, %rdi
	callq	_has_non_ascii
	testq	%rax, %rax
	je	LBB0_19
## %bb.10:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_REG_NEWLINE@GOTPCREL(%rip), %rax
	movq	_REG_ICASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_basic_regex_quote_buf
	movq	-48(%rbp), %rsi
	leaq	-52(%rbp), %r12
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_regcomp_or_die
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	jmp	LBB0_4
LBB0_11:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	andl	(%rdx), %r13d
	je	LBB0_6
LBB0_12:
	movq	_diff_grep@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %r8d
	movq	_diff_queued_diff@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_pickaxe
	testq	%r12, %r12
	je	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	callq	_regfree
LBB0_15:
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_kwsfree
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movb	$1, %al
	jmp	LBB0_20
LBB0_19:
	movl	(%rbx), %eax
	testl	%eax, 8(%r15)
	sete	%al
LBB0_20:
	xorl	%r12d, %r12d
	movl	$0, %edi
	testb	%al, %al
	jne	LBB0_22
## %bb.21:
	movq	_tolower_trans_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_22:
	callq	_kwsalloc
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_kwsincr
	movq	%rbx, %rdi
	callq	_kwsprep
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_DIFF_PICKAXE_REGEX,4,2         ## @DIFF_PICKAXE_REGEX
	.comm	_DIFF_PICKAXE_KIND_G,4,2        ## @DIFF_PICKAXE_KIND_G
	.comm	_REG_EXTENDED,4,2               ## @REG_EXTENDED
	.comm	_REG_NEWLINE,4,2                ## @REG_NEWLINE
	.comm	_DIFF_PICKAXE_IGNORE_CASE,4,2   ## @DIFF_PICKAXE_IGNORE_CASE
	.comm	_REG_ICASE,4,2                  ## @REG_ICASE
	.comm	_DIFF_PICKAXE_KIND_S,4,2        ## @DIFF_PICKAXE_KIND_S
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.comm	_tolower_trans_tbl,8,3          ## @tolower_trans_tbl
	.comm	_diff_queued_diff,4,2           ## @diff_queued_diff
	.comm	_diff_grep,4,2                  ## @diff_grep
	.comm	_has_changes,4,2                ## @has_changes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diffcore_pickaxe               ; -- Begin function diffcore_pickaxe
	.p2align	2
_diffcore_pickaxe:                      ; @diffcore_pickaxe
	.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	x20, [x0]
	ldr	w23, [x0, #8]
Lloh0:
	adrp	x8, _DIFF_PICKAXE_REGEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIFF_PICKAXE_REGEX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x24, _DIFF_PICKAXE_KIND_G@GOTPAGE
Lloh4:
	ldr	x24, [x24, _DIFF_PICKAXE_KIND_G@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w8, w9, w8
	tst	w8, w23
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _REG_EXTENDED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REG_EXTENDED@GOTPAGEOFF]
Lloh7:
	adrp	x9, _REG_NEWLINE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _REG_NEWLINE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _DIFF_PICKAXE_IGNORE_CASE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DIFF_PICKAXE_IGNORE_CASE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _REG_ICASE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _REG_ICASE@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	tst	w9, w23
	csel	w9, wzr, w10, eq
	orr	w2, w8, w9
	add	x22, sp, #12
	add	x0, sp, #12
	mov	x1, x20
	bl	_regcomp_or_die
	mov	x21, #0
	b	LBB0_11
LBB0_2:
Lloh17:
	adrp	x8, _DIFF_PICKAXE_KIND_S@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DIFF_PICKAXE_KIND_S@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_6
; %bb.3:
Lloh20:
	adrp	x21, _DIFF_PICKAXE_IGNORE_CASE@GOTPAGE
Lloh21:
	ldr	x21, [x21, _DIFF_PICKAXE_IGNORE_CASE@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w23
	b.eq	LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_has_non_ascii
	cbz	x0, LBB0_8
; %bb.5:
Lloh22:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _REG_NEWLINE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _REG_NEWLINE@GOTPAGEOFF]
	str	x8, [sp]
Lloh27:
	ldr	w8, [x9]
Lloh28:
	adrp	x9, _REG_ICASE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _REG_ICASE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w21, w9, w8
	mov	x0, sp
	mov	x1, x20
	bl	_basic_regex_quote_buf
	ldr	x1, [sp]
	add	x22, sp, #12
	add	x0, sp, #12
	mov	x2, x21
	bl	_regcomp_or_die
	mov	x0, sp
	bl	_strbuf_release
	mov	x21, #0
	b	LBB0_11
LBB0_6:
	mov	x21, #0
	b	LBB0_10
LBB0_7:
	mov	w8, #1
	b	LBB0_9
LBB0_8:
	ldr	w8, [x19, #8]
	ldr	w9, [x21]
	tst	w9, w8
	cset	w8, eq
LBB0_9:
Lloh31:
	adrp	x9, _tolower_trans_tbl@GOTPAGE
Lloh32:
	ldr	x9, [x9, _tolower_trans_tbl@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	w8, #0
	csel	x0, xzr, x9, ne
	bl	_kwsalloc
	mov	x21, x0
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_kwsincr
	mov	x0, x21
	bl	_kwsprep
LBB0_10:
	mov	x22, #0
LBB0_11:
Lloh34:
	adrp	x8, _diff_grep@GOTPAGE
Lloh35:
	ldr	x8, [x8, _diff_grep@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh36:
	adrp	x10, _has_changes@GOTPAGE
Lloh37:
	ldr	x10, [x10, _has_changes@GOTPAGEOFF]
	tst	w9, w23
	csel	x8, x10, x8, eq
	ldr	w4, [x8]
Lloh38:
	adrp	x0, _diff_queued_diff@GOTPAGE
Lloh39:
	ldr	x0, [x0, _diff_queued_diff@GOTPAGEOFF]
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_pickaxe
	cbz	x22, LBB0_13
; %bb.12:
	mov	x0, x22
	bl	_regfree
LBB0_13:
	cbz	x21, LBB0_15
; %bb.14:
	mov	x0, x21
	bl	_kwsfree
LBB0_15:
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_DIFF_PICKAXE_REGEX,4,2         ; @DIFF_PICKAXE_REGEX
	.comm	_DIFF_PICKAXE_KIND_G,4,2        ; @DIFF_PICKAXE_KIND_G
	.comm	_REG_EXTENDED,4,2               ; @REG_EXTENDED
	.comm	_REG_NEWLINE,4,2                ; @REG_NEWLINE
	.comm	_DIFF_PICKAXE_IGNORE_CASE,4,2   ; @DIFF_PICKAXE_IGNORE_CASE
	.comm	_REG_ICASE,4,2                  ; @REG_ICASE
	.comm	_DIFF_PICKAXE_KIND_S,4,2        ; @DIFF_PICKAXE_KIND_S
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.comm	_tolower_trans_tbl,8,3          ; @tolower_trans_tbl
	.comm	_diff_queued_diff,4,2           ; @diff_queued_diff
	.comm	_diff_grep,4,2                  ; @diff_grep
	.comm	_has_changes,4,2                ; @has_changes
.subsections_via_symbols
