	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ade_get_blending_params
_ade_get_blending_params:               ## @ade_get_blending_params
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %ebx
	callq	_has_Alpha_channel
	testl	%eax, %eax
	movq	_ADE_ALP_PIXEL_AND_GLB@GOTPCREL(%rip), %rax
	movq	_ADE_ALP_GLOBAL@GOTPCREL(%rip), %rcx
	cmovneq	_ADE_ALP_PIXEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %eax
	cmovel	%ecx, %eax
	cmpl	$255, %ebx
	cmovgel	%ecx, %eax
	movl	%eax, (%r12)
	movq	_ADE_ALP_MUL_COEFF_3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_ADE_ALP_MUL_COEFF_2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADE_ALP_PIXEL_AND_GLB,4,2      ## @ADE_ALP_PIXEL_AND_GLB
	.comm	_ADE_ALP_PIXEL,4,2              ## @ADE_ALP_PIXEL
	.comm	_ADE_ALP_GLOBAL,4,2             ## @ADE_ALP_GLOBAL
	.comm	_ADE_ALP_MUL_COEFF_3,4,2        ## @ADE_ALP_MUL_COEFF_3
	.comm	_ADE_ALP_MUL_COEFF_2,4,2        ## @ADE_ALP_MUL_COEFF_2
	.no_dead_strip	_ade_get_blending_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ade_get_blending_params
_ade_get_blending_params:               ; @ade_get_blending_params
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	bl	_has_Alpha_channel
	cmp	w0, #0
Lloh0:
	adrp	x8, _ADE_ALP_PIXEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADE_ALP_PIXEL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ADE_ALP_GLOBAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ADE_ALP_GLOBAL@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	mov	w9, #255
Lloh4:
	adrp	x10, _ADE_ALP_PIXEL_AND_GLB@GOTPAGE
Lloh5:
	ldr	x10, [x10, _ADE_ALP_PIXEL_AND_GLB@GOTPAGEOFF]
	ccmp	w22, w9, #0, ne
	csel	x8, x10, x8, lt
	ldr	w8, [x8]
	str	w8, [x21]
Lloh6:
	adrp	x8, _ADE_ALP_MUL_COEFF_3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADE_ALP_MUL_COEFF_3@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh9:
	adrp	x8, _ADE_ALP_MUL_COEFF_2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADE_ALP_MUL_COEFF_2@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ADE_ALP_PIXEL_AND_GLB,4,2      ; @ADE_ALP_PIXEL_AND_GLB
	.comm	_ADE_ALP_PIXEL,4,2              ; @ADE_ALP_PIXEL
	.comm	_ADE_ALP_GLOBAL,4,2             ; @ADE_ALP_GLOBAL
	.comm	_ADE_ALP_MUL_COEFF_3,4,2        ; @ADE_ALP_MUL_COEFF_3
	.comm	_ADE_ALP_MUL_COEFF_2,4,2        ; @ADE_ALP_MUL_COEFF_2
	.no_dead_strip	_ade_get_blending_params
.subsections_via_symbols
