	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phosphor2x_work_cb_rgb565
_phosphor2x_work_cb_rgb565:             ## @phosphor2x_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rsi), %r9
	movq	24(%rsi), %r14
	movl	(%rsi), %r10d
	movl	4(%rsi), %r11d
	movl	20(%rsi), %ecx
	movl	16(%rsi), %r8d
	movl	8(%rsi), %eax
	movq	_SOFTFILTER_BPP_RGB565@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	cltd
	idivl	%ebx
	movl	%eax, %r15d
	movl	12(%rsi), %eax
	cltd
	idivl	%ebx
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movl	%r10d, %esi
	movl	%r11d, %edx
	pushq	%rax
	pushq	%r14
	pushq	%r15
	callq	_phosphor2x_generic_rgb565
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOFTFILTER_BPP_RGB565,4,2      ## @SOFTFILTER_BPP_RGB565
	.no_dead_strip	_phosphor2x_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 phosphor2x_work_cb_rgb565
_phosphor2x_work_cb_rgb565:             ; @phosphor2x_work_cb_rgb565
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldp	x7, x5, [x1, #24]
	ldp	w8, w2, [x1]
Lloh0:
	adrp	x9, _SOFTFILTER_BPP_RGB565@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOFTFILTER_BPP_RGB565@GOTPAGEOFF]
	ldp	w4, w3, [x1, #16]
Lloh2:
	ldr	w9, [x9]
	ldp	w10, w11, [x1, #8]
	sdiv	w6, w10, w9
	sdiv	w9, w11, w9
	str	w9, [sp]
	mov	x1, x8
	bl	_phosphor2x_generic_rgb565
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SOFTFILTER_BPP_RGB565,4,2      ; @SOFTFILTER_BPP_RGB565
	.no_dead_strip	_phosphor2x_work_cb_rgb565
.subsections_via_symbols
