	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function repaper_odd_pixels
_repaper_odd_pixels:                    ## @repaper_odd_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movl	(%rdi), %edi
	leal	7(%rdi), %r14d
	cmpl	$15, %r14d
	jb	LBB0_1
## %bb.2:
	testl	%edi, %edi
	cmovnsl	%edi, %r14d
	sarl	$3, %r14d
	addl	$-128, %r9d
	leaq	LJTI0_0(%rip), %r10
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rsi), %rax
	leaq	4(%rax), %rdi
	movq	%rdi, (%rsi)
	movl	%ecx, (%rax)
	decl	%r14d
	testl	%r14d, %r14d
	je	LBB0_1
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%r14d
	movl	(%rdx,%r14,4), %edi
	testq	%r8, %r8
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r8,%r14,4), %eax
	xorl	%edi, %eax
	andl	$85, %eax
	leal	(%rax,%rax,2), %r11d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$255, %r11d
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	andl	$85, %edi
	cmpl	$3, %r9d
	ja	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movslq	(%r10,%r9,4), %rax
	addq	%r10, %rax
	jmpq	*%rax
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	$85, %edi
	addl	$85, %edi
	jmp	LBB0_4
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	orl	$170, %edi
	jmp	LBB0_4
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	%edi, %edi
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	$255, %edi
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	$85, %edi
	andl	%r11d, %edi
	xorl	$85, %edi
	movq	(%rsi), %rax
	leaq	4(%rax), %rbx
	movq	%rbx, (%rsi)
	movl	%edi, (%rax)
	testl	%r14d, %r14d
	jne	LBB0_5
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_3
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_repaper_odd_pixels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function repaper_odd_pixels
_repaper_odd_pixels:                    ; @repaper_odd_pixels
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w9, w8, #7
	cmp	w9, #15
	b.lo	LBB0_14
; %bb.1:
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	mov	w9, #85
	sub	w10, w5, #128
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	mov	w12, #170
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x1]
	str	w3, [x13], #4
	str	x13, [x1]
	sub	w8, w8, #1
	cbz	w8, LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x2, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w8, #1
	ldr	w14, [x2, w8, uxtw #2]
	cbz	x4, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w13, [x4, x8, lsl #2]
	eor	w13, w13, w14
	and	w13, w13, w9
	orr	w13, w13, w13, lsl #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w13, #255
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	and	w14, w14, w9
	cmp	w10, #3
	b.hi	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x15, LBB0_9
	ldrb	w16, [x11, x10]
	add	x15, x15, x16, lsl #2
	br	x15
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	eor	w14, w14, w9
	add	w14, w14, #85
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	orr	w14, w14, w12
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	w14, w14, #1
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	eor	w14, w14, #0xff
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w14, w14, w13
	bic	w13, w9, w13
	orr	w13, w14, w13
	ldr	x14, [x1]
	str	w13, [x14], #4
	str	x14, [x1]
	cbnz	w8, LBB0_3
LBB0_14:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_11-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
                                        ; -- End function
	.no_dead_strip	_repaper_odd_pixels
.subsections_via_symbols
