	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diff_l
_diff_l:                                ## @diff_l
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	-40(%rbp), %rdx
	movl	$1, %esi
	callq	_getpatt
	movq	%rax, %rbx
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_getpatt
	movq	%rax, %r14
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_tocharset
	movq	_ISCHARSET@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_tocharset
	cmpq	(%rbx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_newcharset
	movq	%rax, %rbx
	movq	_i@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-56(%rbp), %rax
	movq	-48(%rbp), %rcx
	movl	(%rcx,%rdi,4), %esi
	notl	%esi
	andl	(%rax,%rdi,4), %esi
	movq	8(%rbx), %rax
	movl	%esi, (%rax,%rdi,4)
	callq	_loopset
	movq	%rbx, %rdi
	callq	_correctset
	jmp	LBB0_6
LBB0_3:
	movq	%r14, %rdi
	callq	_isheadfail
	movl	-36(%rbp), %ecx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	-40(%rbp), %eax
	leal	(%rcx,%rax), %esi
	incl	%esi
	movq	%r15, %rdi
	callq	_newpatt
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	$2, %edx
	callq	_addpatt
	movslq	%eax, %r12
	leaq	(%rbx,%r12,8), %r14
	movslq	-36(%rbp), %rax
	leal	1(%rax), %esi
	shlq	$3, %rax
	movq	%r14, %rdi
	subq	%rax, %rdi
	callq	_check2test
	leaq	(%rbx,%r12,8), %rbx
	addq	$8, %rbx
	movq	_IFail@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_setinst
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_addpatt
	jmp	LBB0_6
LBB0_5:
	movl	-40(%rbp), %eax
	leal	(%rcx,%rax), %esi
	addl	$2, %esi
	movq	%r15, %rdi
	callq	_newpatt
	movq	%rax, %r14
	leaq	8(%rax), %rbx
	movq	_IChoice@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-36(%rbp), %edx
	addl	$2, %edx
	movl	%r14d, %edi
	callq	_setinst
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_addpatt
	cltq
	leaq	(%r14,%rax,8), %rdi
	addq	$8, %rdi
	leaq	16(%r14,%rax,8), %rbx
	movq	_IFailTwice@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	xorl	%edx, %edx
	callq	_setinst
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_addpatt
	movq	%r14, %rdi
	callq	_optimizechoice
LBB0_6:
	movl	$1, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISCHARSET,8,3                  ## @ISCHARSET
	.comm	_i,8,3                          ## @i
	.comm	_IFail,4,2                      ## @IFail
	.comm	_IChoice,4,2                    ## @IChoice
	.comm	_IFailTwice,4,2                 ## @IFailTwice
	.no_dead_strip	_diff_l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diff_l
_diff_l:                                ; @diff_l
	.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, x0
	add	x2, sp, #28
	mov	w1, #1
	bl	_getpatt
	mov	x21, x0
	add	x2, sp, #24
	mov	x0, x19
	mov	w1, #2
	bl	_getpatt
	mov	x20, x0
	add	x1, sp, #16
	mov	x0, x21
	bl	_tocharset
Lloh0:
	adrp	x21, _ISCHARSET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ISCHARSET@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	add	x1, sp, #8
	mov	x0, x20
	bl	_tocharset
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_newcharset
	mov	x19, x0
Lloh2:
	adrp	x8, _i@GOTPAGE
Lloh3:
	ldr	x8, [x8, _i@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	ldp	x10, x8, [sp, #8]
	lsl	x9, x0, #2
	ldr	w8, [x8, x9]
	ldr	w10, [x10, x9]
	bic	w1, w8, w10
	ldr	x8, [x19, #8]
	str	w1, [x8, x9]
	bl	_loopset
	mov	x0, x19
	bl	_correctset
	b	LBB0_6
LBB0_3:
	mov	x0, x20
	bl	_isheadfail
	ldr	w8, [sp, #24]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w9, [sp, #28]
	add	w8, w8, w9
	add	w1, w8, #1
	mov	x0, x19
	bl	_newpatt
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2
	bl	_addpatt
	add	x20, x20, w0, sxtw #3
	ldrsw	x8, [sp, #24]
	sub	x0, x20, x8, lsl #3
	add	w1, w8, #1
	bl	_check2test
	add	x21, x20, #8
Lloh5:
	adrp	x8, _IFail@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IFail@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_setinst
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_addpatt
	b	LBB0_6
LBB0_5:
	ldr	w9, [sp, #28]
	add	w8, w8, w9
	add	w1, w8, #2
	mov	x0, x19
	bl	_newpatt
	mov	x20, x0
	add	x21, x0, #8
Lloh8:
	adrp	x8, _IChoice@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IChoice@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w8, [sp, #24]
	add	w2, w8, #2
	bl	_setinst
	mov	x0, x19
	mov	x1, x21
	mov	w2, #2
	bl	_addpatt
	add	x0, x21, w0, sxtw #3
	add	x21, x0, #8
Lloh11:
	adrp	x8, _IFailTwice@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IFailTwice@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w2, #0
	bl	_setinst
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_addpatt
	mov	x0, x20
	bl	_optimizechoice
LBB0_6:
	mov	w0, #1
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ISCHARSET,8,3                  ; @ISCHARSET
	.comm	_i,8,3                          ; @i
	.comm	_IFail,4,2                      ; @IFail
	.comm	_IChoice,4,2                    ; @IChoice
	.comm	_IFailTwice,4,2                 ; @IFailTwice
	.no_dead_strip	_diff_l
.subsections_via_symbols
