	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_alpha_data
_get_alpha_data:                        ## @get_alpha_data
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %edi
	movl	%r8d, %r13d
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %r12d
	movq	24(%rbp), %rbx
	movl	16(%rbp), %r15d
	movl	%r12d, %r14d
	shll	$4, %r14d
	subl	%ecx, %edi
	movl	%r14d, %esi
	callq	_FFMIN
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	subl	%r13d, %r15d
	movl	%r15d, %edi
	movl	$16, %esi
	callq	_FFMIN
	movl	%r14d, -72(%rbp)                ## 4-byte Spill
	movslq	%r14d, %r13
	testl	%eax, %eax
	jle	LBB0_1
## %bb.6:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	leal	(,%r8,4), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	leal	-1(%r8), %eax
	movslq	%eax, %r14
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	sarl	%eax
	cltq
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	%r8d, %rax
	movl	%eax, %edi
	movl	%edi, %ecx
	andl	$-8, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	addq	$-8, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	shrq	$3, %rcx
	incq	%rcx
	movl	%eax, %edx
	negl	%edx
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	notq	%rax
	addq	%r13, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%rcx, %rax
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	andq	$-2, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	andl	$3, %edx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	leaq	(,%r13,4), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%esi, %esi
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	-152(%rbp), %rbx                ## 8-byte Folded Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r9,%rax,4), %r9
	incl	%esi
	cmpl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	je	LBB0_2
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
                                        ##     Child Loop BB0_35 Depth 2
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %r12
	movq	%r8, %r13
	movq	%rbx, %rdi
	movq	%r9, %r15
	movq	%r9, %rsi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movq	%r13, %r8
	cmpl	$8, 40(%rbp)
	jne	LBB0_8
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	testl	%r8d, %r8d
	movq	%r15, %r9
	movq	%r12, %r13
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jle	LBB0_30
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$8, %r8d
	jae	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	testl	%r8d, %r8d
	movq	%r15, %r9
	movq	%r12, %r13
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jle	LBB0_30
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$8, %r8d
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%rbx,%rax,4), %xmm0
	movdqu	16(%rbx,%rax,4), %xmm1
	movdqu	32(%rbx,%rax,4), %xmm2
	movdqu	48(%rbx,%rax,4), %xmm3
	psrad	$2, %xmm0
	psrad	$2, %xmm1
	movdqu	%xmm0, (%rbx,%rax,4)
	movdqu	%xmm1, 16(%rbx,%rax,4)
	psrad	$2, %xmm2
	psrad	$2, %xmm3
	movdqu	%xmm2, 32(%rbx,%rax,4)
	movdqu	%xmm3, 48(%rbx,%rax,4)
	addq	$16, %rax
	addq	$-2, %rcx
	jne	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, -88(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_7 Depth=1
	movdqu	(%rbx,%rax,4), %xmm0
	movdqu	16(%rbx,%rax,4), %xmm1
	psrad	$2, %xmm0
	psrad	$2, %xmm1
	movdqu	%xmm0, (%rbx,%rax,4)
	movdqu	%xmm1, 16(%rbx,%rax,4)
LBB0_28:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rax
	cmpq	%rdi, %rcx
	je	LBB0_30
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	sarl	$2, (%rbx,%rax,4)
	incq	%rax
	cmpq	%rax, %rdi
	jne	LBB0_29
	jmp	LBB0_30
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%rbx,%rax,4), %xmm0
	movdqu	16(%rbx,%rax,4), %xmm1
	movdqu	32(%rbx,%rax,4), %xmm2
	movdqu	48(%rbx,%rax,4), %xmm3
	movdqa	%xmm0, %xmm4
	pslld	$6, %xmm4
	movdqa	%xmm1, %xmm5
	pslld	$6, %xmm5
	psrad	$4, %xmm0
	por	%xmm4, %xmm0
	psrad	$4, %xmm1
	por	%xmm5, %xmm1
	movdqu	%xmm0, (%rbx,%rax,4)
	movdqu	%xmm1, 16(%rbx,%rax,4)
	movdqa	%xmm2, %xmm0
	pslld	$6, %xmm0
	movdqa	%xmm3, %xmm1
	pslld	$6, %xmm1
	psrad	$4, %xmm2
	por	%xmm0, %xmm2
	psrad	$4, %xmm3
	por	%xmm1, %xmm3
	movdqu	%xmm2, 32(%rbx,%rax,4)
	movdqu	%xmm3, 48(%rbx,%rax,4)
	addq	$16, %rax
	addq	$-2, %rcx
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, -88(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movdqu	(%rbx,%rax,4), %xmm0
	movdqu	16(%rbx,%rax,4), %xmm1
	movdqa	%xmm0, %xmm2
	pslld	$6, %xmm2
	movdqa	%xmm1, %xmm3
	pslld	$6, %xmm3
	psrad	$4, %xmm0
	por	%xmm2, %xmm0
	psrad	$4, %xmm1
	por	%xmm3, %xmm1
	movdqu	%xmm0, (%rbx,%rax,4)
	movdqu	%xmm1, 16(%rbx,%rax,4)
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rax
	cmpq	%rdi, %rcx
	je	LBB0_30
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%rax,4), %ecx
	movl	%ecx, %edx
	shll	$6, %edx
	sarl	$4, %ecx
	orl	%edx, %ecx
	movl	%ecx, (%rbx,%rax,4)
	incq	%rax
	cmpq	%rax, %rdi
	jne	LBB0_18
LBB0_30:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	-72(%rbp), %r8d                 ## 4-byte Folded Reload
	jge	LBB0_36
## %bb.31:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, -112(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	-120(%rbp), %rax                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%r14,4), %edx
	movl	%edx, (%rbx,%rax,4)
	incq	%rax
	decq	%rcx
	jne	LBB0_33
LBB0_34:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$3, -144(%rbp)                  ## 8-byte Folded Reload
	jb	LBB0_36
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%r14,4), %ecx
	movl	%ecx, (%rbx,%rax,4)
	movl	(%rbx,%r14,4), %ecx
	movl	%ecx, 4(%rbx,%rax,4)
	movl	(%rbx,%r14,4), %ecx
	movl	%ecx, 8(%rbx,%rax,4)
	movl	(%rbx,%r14,4), %ecx
	movl	%ecx, 12(%rbx,%rax,4)
	addq	$4, %rax
	cmpq	%rax, %r13
	jne	LBB0_35
	jmp	LBB0_36
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	testb	$1, -88(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_27
	jmp	LBB0_28
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	testb	$1, -88(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_16
	jmp	LBB0_17
LBB0_2:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	cmpl	$15, %r15d
	movl	32(%rbp), %r12d
	jbe	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	shll	$6, %r12d
	shlq	$2, %r13
	movq	%r13, %r14
	negq	%r14
	addl	$-16, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r14), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_memcpy
	addq	%r13, %rbx
	incl	%r15d
	jne	LBB0_4
LBB0_5:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_alpha_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_alpha_data
_get_alpha_data:                        ; @get_alpha_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x7
	mov	x21, x6
	mov	x24, x4
	mov	x28, x2
	mov	x22, x1
	ldr	w25, [x29, #16]
	lsl	w20, w25, #4
	sub	w0, w5, w3
	mov	x1, x20
	bl	_FFMIN
	mov	x23, x0
	sub	w0, w21, w24
	mov	w1, #16
	bl	_FFMIN
	cmp	w0, #1
	b.lt	LBB0_23
; %bb.1:
	str	w25, [sp, #4]                   ; 4-byte Folded Spill
	mov	w27, #0
	lsl	w8, w23, #2
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	ldr	w8, [x29, #20]
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	sub	w8, w23, #1
	sxtw	x26, w8
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	mov	x8, x20
	sxtw	x25, w8
	sbfx	x10, x28, #1, #31
	sxtw	x9, w23
	stp	x9, x10, [sp, #16]              ; 16-byte Folded Spill
	mov	w28, w23
	and	x9, x28, #0xfffffff0
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	lsl	x9, x28, #2
	and	x24, x9, #0x3ffffffc0
	sbfiz	x21, x8, #2, #32
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, x21
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x22, x22, x8, lsl #2
	add	w27, w27, #1
	cmp	w27, w0
	b.eq	LBB0_21
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	mov	x20, x0
	mov	x0, x19
	mov	x1, x22
	ldr	w2, [sp, #36]                   ; 4-byte Folded Reload
	bl	_memcpy
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cmp	w8, #8
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, #1
	mov	x0, x20
	b.lt	LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, #16
	b.hs	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, #1
	mov	x0, x20
	b.lt	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, #16
	b.hs	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	b	LBB0_17
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x9, x19, x8
	ldp	q0, q1, [x9]
	ldp	q2, q3, [x9, #32]
	sshr.4s	v0, v0, #2
	sshr.4s	v1, v1, #2
	sshr.4s	v2, v2, #2
	sshr.4s	v3, v3, #2
	stp	q0, q1, [x9]
	stp	q2, q3, [x9, #32]
	add	x8, x8, #64
	cmp	x24, x8
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	mov	x8, x9
	cmp	x9, x28
	b.eq	LBB0_18
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x9, x8, #2
	ldr	w10, [x19, x9]
	asr	w10, w10, #2
	str	w10, [x19, x9]
	add	x8, x8, #1
	cmp	x28, x8
	b.ne	LBB0_13
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x9, x19, x8
	ldp	q0, q1, [x9]
	ldp	q2, q3, [x9, #32]
	shl.4s	v4, v0, #6
	shl.4s	v5, v1, #6
	shl.4s	v6, v2, #6
	shl.4s	v7, v3, #6
	sshr.4s	v0, v0, #4
	sshr.4s	v1, v1, #4
	sshr.4s	v2, v2, #4
	sshr.4s	v3, v3, #4
	orr.16b	v0, v4, v0
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	stp	q0, q1, [x9]
	stp	q2, q3, [x9, #32]
	add	x8, x8, #64
	cmp	x24, x8
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	mov	x8, x9
	cmp	x9, x28
	b.eq	LBB0_18
LBB0_17:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x9, x8, #2
	ldr	w10, [x19, x9]
	lsl	w11, w10, #6
	orr	w10, w11, w10, asr #4
	str	w10, [x19, x9]
	add	x8, x8, #1
	cmp	x28, x8
	b.ne	LBB0_17
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cmp	w23, w8
	b.ge	LBB0_2
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
LBB0_20:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x19, x26, lsl #2]
	str	w9, [x19, x8, lsl #2]
	add	x8, x8, #1
	cmp	x25, x8
	b.ne	LBB0_20
	b	LBB0_2
LBB0_21:
	cmp	w0, #15
	b.hi	LBB0_26
; %bb.22:
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w25, [sp, #4]                   ; 4-byte Folded Reload
	b	LBB0_24
LBB0_23:
	mov	w0, #0
LBB0_24:
	lsl	w22, w25, #6
	sbfiz	x20, x20, #2, #32
	neg	x21, x20
	sub	w23, w0, #16
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	add	x1, x19, x21
	mov	x0, x19
	mov	x2, x22
	bl	_memcpy
	add	x19, x19, x20
	adds	w23, w23, #1
	b.lo	LBB0_25
LBB0_26:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_alpha_data
.subsections_via_symbols
