	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eedi2_remove_small_gaps        ## -- Begin function eedi2_remove_small_gaps
	.p2align	4, 0x90
_eedi2_remove_small_gaps:               ## @eedi2_remove_small_gaps
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %r12d
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %rdx
	movq	%rbx, %rdi
	movl	%ecx, %esi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%r15d, %ecx
	movl	%r9d, %r8d
	movl	%r12d, %r9d
	callq	_eedi2_bit_blit
	cmpl	$3, %r12d
	jl	LBB0_24
## %bb.1:
	movslq	%r15d, %r8
	movslq	%r13d, %r9
	leal	-3(%r14), %edx
	addl	$-2, %r12d
	leaq	(%rbx,%r9,4), %rsi
	shlq	$2, %r9
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r8,4), %rdi
	shlq	$2, %r8
	movl	$1, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rax), %ecx
	addq	%r9, %rsi
	addq	%r8, %rdi
	cmpl	%r12d, %eax
	movl	%ecx, %eax
	je	LBB0_24
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	$7, %r14d
	jl	LBB0_23
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$3, %ebx
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=2
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=2
	movl	%ecx, (%rsi,%rbx,4)
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%rbx
	cmpq	%rbx, %rdx
	je	LBB0_23
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, (%rdi,%rbx,4)
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, -12(%rdi,%rbx,4)
	jne	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, -8(%rdi,%rbx,4)
	jne	LBB0_22
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, -4(%rdi,%rbx,4)
	jne	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, 4(%rdi,%rbx,4)
	jne	LBB0_22
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, 8(%rdi,%rbx,4)
	jne	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, 12(%rdi,%rbx,4)
	jne	LBB0_22
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, 4(%rdi,%rbx,4)
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	$255, %ecx
	cmpl	$0, -4(%rdi,%rbx,4)
	jne	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, -8(%rdi,%rbx,4)
	jne	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, -12(%rdi,%rbx,4)
	jne	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, 8(%rdi,%rbx,4)
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	$255, %ecx
	cmpl	$0, -4(%rdi,%rbx,4)
	jne	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, -8(%rdi,%rbx,4)
	jne	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, 12(%rdi,%rbx,4)
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	$255, %ecx
	cmpl	$0, -4(%rdi,%rbx,4)
	jne	LBB0_21
	jmp	LBB0_22
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eedi2_remove_small_gaps        ; -- Begin function eedi2_remove_small_gaps
	.p2align	2
_eedi2_remove_small_gaps:               ; @eedi2_remove_small_gaps
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x5
	mov	x22, x4
	mov	x23, x3
	mov	x20, x2
	mov	x24, x1
	mov	x21, x0
	mov	x0, x2
	mov	x1, x3
	mov	x2, x21
	mov	x3, x24
	mov	x4, x5
	mov	x5, x22
	bl	_eedi2_bit_blit
	cmp	w22, #3
	b.lt	LBB0_24
; %bb.1:
	sxtw	x12, w24
	sxtw	x9, w23
	sub	w11, w19, #3
	sub	w8, w22, #2
	lsl	x9, x9, #2
	add	x10, x9, #12
	sub	x11, x11, #3
	lsl	x12, x12, #2
	add	x13, x12, x21
	add	x13, x13, #12
	mov	w14, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w15, w14, #1
	add	x20, x20, x9
	add	x13, x13, x12
	cmp	w14, w8
	mov	x14, x15
	b.eq	LBB0_24
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	cmp	w19, #7
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x15, x13
	mov	x16, x11
	mov	x17, x10
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	w0, #255
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	str	w0, [x20, x17]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x17, x17, #4
	add	x15, x15, #4
	subs	x16, x16, #1
	b.eq	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x15]
	cbz	w0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldur	w0, [x15, #-12]
	cbnz	w0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldur	w0, [x15, #-8]
	cbnz	w0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	ldur	w0, [x15, #-4]
	cbnz	w0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x15, #4]
	cbnz	w0, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x15, #8]
	cbnz	w0, LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x15, #12]
	cbnz	w0, LBB0_7
	b	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x15, #4]
	cbz	w0, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=2
	ldur	w0, [x15, #-4]
	cbnz	w0, LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=2
	ldur	w0, [x15, #-8]
	cbnz	w0, LBB0_5
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=2
	ldur	w0, [x15, #-12]
	cbnz	w0, LBB0_5
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x15, #8]
	cbz	w0, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=2
	ldur	w0, [x15, #-4]
	cbnz	w0, LBB0_5
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=2
	ldur	w0, [x15, #-8]
	cbnz	w0, LBB0_5
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x15, #12]
	cbz	w0, LBB0_7
; %bb.23:                               ;   in Loop: Header=BB0_8 Depth=2
	ldur	w0, [x15, #-4]
	cbnz	w0, LBB0_5
	b	LBB0_7
LBB0_24:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
