	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scaler_argb8888_point_special  ## -- Begin function scaler_argb8888_point_special
	.p2align	4, 0x90
_scaler_argb8888_point_special:         ## @scaler_argb8888_point_special
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %edi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %r14d
	movl	%r9d, %eax
	shll	$15, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ebx
	shll	$16, %edi
	movl	%edi, %eax
	cltd
	idivl	%ecx
	movl	%eax, %edi
	movl	%r14d, %eax
	shll	$16, %eax
	cltd
	idivl	%r8d
	cmpl	$32769, %ebx                    ## imm = 0x8001
	movl	$32768, %r13d                   ## imm = 0x8000
	cmovll	%r13d, %ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_10
## %bb.1:
	movl	%eax, %r11d
	movl	32(%rbp), %ebx
	movl	24(%rbp), %r9d
	addl	$-32768, -44(%rbp)              ## 4-byte Folded Spill
                                        ## imm = 0x8000
	shll	$15, %r14d
	movl	%r14d, %eax
	cltd
	idivl	%r8d
	cmpl	$32769, %eax                    ## imm = 0x8001
	cmovgel	%eax, %r13d
	addl	$-32768, %r13d                  ## imm = 0x8000
	sarl	$2, %ebx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	sarl	$2, %r9d
	movslq	%r9d, %r12
	movl	%ecx, %edx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx def $rdx
	andl	$-2, %edx
	shlq	$2, %r12
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	addl	%r11d, %r13d
	addq	%r12, %rsi
	cmpl	%r8d, %r14d
	je	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %ebx
	sarl	$16, %ebx
	imull	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movslq	%ebx, %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rbx
	xorl	%r9d, %r9d
	cmpl	$1, %ecx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r15d, %r10d
	sarl	$16, %r10d
	movslq	%r10d, %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, (%rsi,%r9,4)
	addl	%edi, %r15d
	movl	%r15d, %eax
	sarl	$16, %eax
	cltq
	movl	(%rbx,%rax,4), %eax
	movl	%eax, 4(%rsi,%r9,4)
	addq	$2, %r9
	addl	%edi, %r15d
	cmpq	%r9, %rdx
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, -56(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	sarl	$16, %r15d
	movslq	%r15d, %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, (%rsi,%r9,4)
	jmp	LBB0_9
LBB0_10:
	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	_scaler_argb8888_point_special  ; -- Begin function scaler_argb8888_point_special
	.p2align	2
_scaler_argb8888_point_special:         ; @scaler_argb8888_point_special
	.cfi_startproc
; %bb.0:
	lsl	w8, w5, #15
	sdiv	w8, w8, w3
	mov	w11, #32768
	cmp	w8, #8, lsl #12                 ; =32768
	csel	w10, w8, w11, gt
	cmp	w4, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w8, #0
	ldr	w12, [sp]
	lsl	w9, w5, #16
	sdiv	w9, w9, w3
	lsl	w15, w6, #16
	sub	w10, w10, #8, lsl #12           ; =32768
	lsl	w13, w6, #15
	sdiv	w13, w13, w4
	cmp	w13, #8, lsl #12                ; =32768
	csel	w11, w13, w11, gt
	sub	w11, w11, #8, lsl #12           ; =32768
	asr	w12, w12, #2
	asr	w13, w7, #2
	mov	w14, w3
	sbfiz	x13, x13, #2, #32
	lsl	x14, x14, #2
	sdiv	w15, w15, w4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w8, #1
	add	w11, w11, w15
	add	x1, x1, x13
	cmp	w8, w4
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w3, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x16, #0
	asr	w17, w11, #16
	mul	w17, w17, w12
	add	x17, x2, w17, sxtw #2
	mov	x0, x10
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	asr	w5, w0, #16
	ldr	w5, [x17, w5, sxtw #2]
	str	w5, [x1, x16]
	add	w0, w0, w9
	add	x16, x16, #4
	cmp	x14, x16
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
