	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function normal2x_work_cb_rgb565
_normal2x_work_cb_rgb565:               ## @normal2x_work_cb_rgb565
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	8(%rsi), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r13
	movl	(%rsi), %edx
	movl	4(%rsi), %ecx
	movl	%ecx, %r9d
	sarl	%r9d
	sarl	%edx
	movq	16(%rsi), %rbx
	movq	24(%rsi), %r12
	andl	$-2, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	12(%rsi), %ecx
	shlq	$2, %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %r9
	xorl	%edi, %edi
	leaq	-56(%rbp), %r15
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rbx,%rdx,4), %rbx
	incl	%edi
	addq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	cmpl	%eax, %edi
	jae	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%ecx, %ecx
	movl	$0, %ecx
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12,%r14,4), %eax
	movl	%eax, -56(%rbp)
	movl	%eax, -52(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax), %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
	addq	$8, %rbx
	incq	%r14
	movl	12(%r13), %ecx
	cmpq	%rcx, %r14
	jb	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r13), %eax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_normal2x_work_cb_rgb565
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function normal2x_work_cb_rgb565
_normal2x_work_cb_rgb565:               ; @normal2x_work_cb_rgb565
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x1
	mov	w21, #0
	ldp	w10, w9, [x1]
	asr	w11, w9, #1
	asr	w10, w10, #1
	ldp	x22, x23, [x1, #16]
	and	x24, x9, #0xfffffffe
	ldr	w9, [x1, #12]
	lsl	x25, x10, #2
	lsl	x26, x11, #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, x24, lsl #2
	add	w21, w21, #1
	add	x23, x23, x25
	cmp	w21, w8
	b.hs	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cbz	w9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, #0
	mov	x20, x22
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x23, x27, lsl #2]
	stp	w8, w8, [sp]
	mov	x1, sp
	mov	x0, x20
	mov	w2, #8
	bl	_memcpy
	add	x0, x20, x26
	mov	x1, sp
	mov	w2, #8
	bl	_memcpy
	add	x20, x20, #8
	add	x27, x27, #1
	ldr	w9, [x19, #12]
	cmp	x27, x9
	b.lo	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #8]
	b	LBB0_2
LBB0_7:
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_normal2x_work_cb_rgb565
.subsections_via_symbols
