	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unpremultiply16offset
_unpremultiply16offset:                 ## @unpremultiply16offset
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, 24(%rbp)
	jle	LBB0_9
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %r14
	movl	40(%rbp), %ebx
	movl	%r9d, %eax
	shrl	$31, %eax
	addl	%r9d, %eax
	sarl	%eax
	movslq	%eax, %rsi
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	movslq	%eax, %rcx
	movl	%r8d, %eax
	shrl	$31, %eax
	addl	%r8d, %eax
	sarl	%eax
	cltq
	movl	16(%rbp), %r13d
	shlq	$2, %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	incl	%ecx
	addq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	addq	-64(%rbp), %r14                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, -48(%rbp)                 ## 8-byte Folded Spill
	cmpl	24(%rbp), %ecx
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, 16(%rbp)
	jle	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	%eax, (%r15,%r12,4)
	incq	%r12
	cmpq	%r12, %r13
	je	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12,4), %ecx
	movl	(%r14,%r12,4), %eax
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpl	%ebx, %ecx
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	48(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	imull	%ebx, %eax
	xorl	%edx, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	divl	(%rcx,%r12,4)
                                        ## kill: def $eax killed $eax def $rax
	movl	48(%rbp), %ecx
	leal	(%rax,%rcx), %edi
	movl	%ebx, %esi
	callq	_FFMIN
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	jmp	LBB0_7
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_unpremultiply16offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unpremultiply16offset
_unpremultiply16offset:                 ; @unpremultiply16offset
	.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
	stp	w7, w6, [sp, #8]                ; 8-byte Folded Spill
	cmp	w7, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	w25, #0
	cmp	w5, #0
	cinc	w8, w5, lt
	asr	w8, w8, #1
	cmp	w3, #0
	cinc	w9, w3, lt
	asr	w9, w9, #1
	cmp	w4, #0
	cinc	w10, w4, lt
	asr	w10, w10, #1
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	mov	w11, w11
	sbfiz	x8, x8, #2, #32
	str	x8, [sp]                        ; 8-byte Folded Spill
	sbfiz	x27, x9, #2, #32
	ldp	w24, w28, [x29, #20]
	sbfiz	x20, x10, #2, #32
	lsl	x19, x11, #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w25, #1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x21, x21, x8
	add	x23, x23, x27
	add	x22, x22, x20
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cmp	w25, w8
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	str	w0, [x21, x26]
	add	x26, x26, #4
	cmp	x19, x26
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x22, x26]
	ldr	w0, [x23, x26]
	cmp	w8, #1
	ccmp	w8, w24, #0, ge
	b.ge	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	sub	w0, w0, w28
	mov	w1, #0
	bl	_FFMAX
	mul	w8, w0, w24
	ldr	w9, [x22, x26]
	udiv	w8, w8, w9
	add	w0, w8, w28
	mov	x1, x24
	bl	_FFMIN
	mov	w1, #0
	bl	_FFMAX
	b	LBB0_5
LBB0_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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_unpremultiply16offset
.subsections_via_symbols
