	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function color_over_fgpremult
_color_over_fgpremult:                  ## @color_over_fgpremult
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	cmpl	$16777216, %esi                 ## imm = 0x1000000
	jb	LBB0_2
## %bb.1:
	movl	%esi, %ecx
	movl	%esi, %r9d
	shrl	$24, %ecx
	movl	%ebx, %eax
	shrl	$24, %eax
	movl	%ecx, %edx
	xorl	$255, %edx
	imull	%eax, %edx
	movl	$2155905153, %esi               ## imm = 0x80808081
	imulq	%rdx, %rsi
	shrq	$39, %rsi
	addl	%esi, %ecx
	movzbl	%bl, %edx
	imull	%esi, %edx
	movzbl	%r9b, %edi
	movl	%edi, %eax
	shll	$8, %eax
	subl	%edi, %eax
	addl	%edx, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r8d
	movl	%r9d, %eax
	movzbl	%ah, %edx
	movl	%edx, %eax
	shll	$8, %eax
	subl	%edx, %eax
	movzbl	%bh, %edx
	imull	%esi, %edx
	addl	%edx, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %edi
	shrl	$16, %ebx
	movzbl	%bl, %edx
	imull	%esi, %edx
	movl	%r9d, %eax
	shrl	$16, %eax
	movzbl	%al, %esi
	movl	%esi, %eax
	shll	$8, %eax
	subl	%esi, %eax
	addl	%edx, %eax
	xorl	%edx, %edx
	divl	%ecx
	shll	$24, %ecx
	shll	$16, %eax
	shll	$8, %edi
	orl	%r8d, %ecx
	orl	%edi, %ecx
	orl	%eax, %ecx
	movl	%ecx, %ebx
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_color_over_fgpremult
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function color_over_fgpremult
_color_over_fgpremult:                  ; @color_over_fgpremult
	.cfi_startproc
; %bb.0:
	lsr	w8, w1, #24
	cbz	w8, LBB0_2
; %bb.1:
	lsr	w9, w0, #24
	eor	w10, w8, #0xff
	mul	w9, w10, w9
	mov	w10, #32897
	movk	w10, #32896, lsl #16
	umull	x9, w9, w10
	lsr	x9, x9, #39
	add	w8, w9, w8
	and	w10, w0, #0xff
	and	w11, w1, #0xff
	lsl	w12, w11, #8
	sub	w11, w12, w11
	madd	w10, w9, w10, w11
	udiv	w10, w10, w8
	ubfx	w11, w0, #8, #8
	ubfx	w12, w1, #8, #8
	lsl	w13, w12, #8
	sub	w12, w13, w12
	madd	w11, w9, w11, w12
	udiv	w11, w11, w8
	ubfx	w12, w0, #16, #8
	ubfx	w13, w1, #16, #8
	lsl	w14, w13, #8
	sub	w13, w14, w13
	madd	w9, w9, w12, w13
	orr	w10, w10, w8, lsl #24
	orr	w10, w10, w11, lsl #8
	udiv	w8, w9, w8
	orr	w0, w10, w8, lsl #16
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_color_over_fgpremult
.subsections_via_symbols
