	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function repaper_even_pixels
_repaper_even_pixels:                   ## @repaper_even_pixels
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movl	(%rdi), %eax
	addl	$7, %eax
	cmpl	$15, %eax
	jae	LBB0_1
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%r11d, %r11d
	addl	$-128, %r9d
	leaq	LJTI0_0(%rip), %r10
	jmp	LBB0_2
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	shrl	%r15d
	orl	$170, %r15d
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	$85, %r15d
	andl	%r14d, %r15d
	xorl	$85, %r15d
	movl	%r15d, %r14d
	shrl	$6, %r14d
	movl	%r15d, %ebx
	shrl	$2, %ebx
	andl	$12, %ebx
	orl	%r14d, %ebx
	movl	%r15d, %eax
	andl	$12, %eax
	leal	(%rbx,%rax,4), %eax
	shll	$6, %r15d
	movzbl	%r15b, %ebx
	orl	%eax, %ebx
	movq	(%rsi), %r14
	leaq	4(%r14), %rax
	movq	%rax, (%rsi)
	movl	%ebx, (%r14)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	movl	(%rdi), %eax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$3, %ebx
	cmpq	%rbx, %r11
	jae	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdx,%r11,4), %r15d
	testq	%r8, %r8
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r8,%r11,4), %ebx
	xorl	%r15d, %ebx
	andl	$170, %ebx
	movl	%ebx, %r14d
	shrl	%r14d
	orl	%ebx, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi), %rax
	leaq	4(%rax), %rbx
	movq	%rbx, (%rsi)
	movl	%ecx, (%rax)
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$255, %r14d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	andl	$170, %r15d
	cmpl	$3, %r9d
	ja	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r10,%r9,4), %rbx
	addq	%r10, %rbx
	jmpq	*%rbx
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	shrl	%r15d
	xorl	$85, %r15d
	addl	$85, %r15d
	jmp	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	$255, %r15d
	jmp	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	shrl	%r15d
	xorl	$255, %r15d
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_repaper_even_pixels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function repaper_even_pixels
_repaper_even_pixels:                   ; @repaper_even_pixels
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w8, w8, #7
	cmp	w8, #15
	b.hs	LBB0_2
LBB0_1:
	ret
LBB0_2:
	mov	x8, #0
	mov	w9, #170
	sub	w10, w5, #128
	mov	w11, #85
Lloh0:
	adrp	x12, lJTI0_0@PAGE
Lloh1:
	add	x12, x12, lJTI0_0@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	orr	w14, w9, w14, lsr #1
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	and	w14, w14, w13
	bic	w13, w11, w13
	orr	w13, w14, w13
	lsr	w14, w13, #2
	and	w15, w14, #0xc
	orr	w15, w15, w13, lsr #6
	bfi	w15, w14, #4, #2
	bfi	w15, w13, #6, #2
	ldr	x13, [x1]
	str	w15, [x13], #4
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x13, [x1]
	add	x8, x8, #1
	ldr	w13, [x0]
	add	w14, w13, #7
	cmp	w13, #0
	csel	w13, w14, w13, lt
	asr	w13, w13, #3
	cmp	x8, x13
	b.hs	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x2, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w14, [x2, x8, lsl #2]
	cbz	x4, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w13, [x4, x8, lsl #2]
	eor	w13, w13, w14
	and	w13, w13, w9
	orr	w13, w13, w13, lsr #1
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x13, [x1]
	str	w3, [x13], #4
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w13, #255
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w14, w14, w9
	cmp	w10, #3
	b.hi	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	adr	x15, LBB0_3
	ldrb	w16, [x12, x10]
	add	x15, x15, x16, lsl #2
	br	x15
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	eor	w14, w11, w14, lsr #1
	add	w14, w14, #85
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	eor	w14, w14, #0xff
	b	LBB0_4
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	lsr	w14, w14, #1
	eor	w14, w14, #0xff
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
                                        ; -- End function
	.no_dead_strip	_repaper_even_pixels
.subsections_via_symbols
