	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmppixel
_cmppixel:                              ## @cmppixel
	.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	%r8d, %r13d
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rdi, %rbx
	leaq	-144(%rbp), %rdi
	callq	*64(%rbx)
	cmpq	$0, 40(%rbx)
	movq	56(%rbx), %rax
	movl	48(%rbx), %edx
	je	LBB0_1
## %bb.2:
	leaq	-80(%rbp), %r14
	leaq	-144(%rbp), %rsi
	movq	%r14, %rdi
	callq	*%rax
	leaq	-112(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	*40(%rbx)
	jmp	LBB0_3
LBB0_1:
	leaq	-112(%rbp), %rdi
	leaq	-144(%rbp), %rsi
	callq	*%rax
LBB0_3:
	leaq	-80(%rbp), %rdi
	movl	%r12d, %esi
	callq	*32(%rbx)
	movq	-112(%rbp), %rcx
	movq	-80(%rbp), %rax
	movq	%rcx, %rdi
	subq	%rax, %rdi
	jne	LBB0_7
## %bb.4:
	movq	-104(%rbp), %rdx
	cmpq	-72(%rbp), %rdx
	jne	LBB0_7
## %bb.5:
	movq	-96(%rbp), %rdx
	cmpq	-64(%rbp), %rdx
	jne	LBB0_7
## %bb.6:
	movq	-88(%rbp), %rdx
	movl	$1, %r12d
	cmpq	-56(%rbp), %rdx
	je	LBB0_22
LBB0_7:
	cmpq	$0, 24(%rbx)
	movl	$1, %r12d
	je	LBB0_10
## %bb.8:
	testq	%rcx, %rcx
	jne	LBB0_10
## %bb.9:
	testq	%rax, %rax
	je	LBB0_22
LBB0_10:
	callq	_abs
	movq	(%rbx), %rcx
	cmpl	12(%rcx), %eax
	jle	LBB0_15
## %bb.11:
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.14:
	movl	%eax, 12(%rcx)
LBB0_15:
	cmpq	$0, 24(%rbx)
	je	LBB0_18
## %bb.16:
	cmpq	$0, -112(%rbp)
	je	LBB0_22
## %bb.17:
	cmpq	$0, -80(%rbp)
	je	LBB0_22
LBB0_18:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	-104(%rbp), %rdi
	subq	-72(%rbp), %rdi
	callq	_abs
	movl	%eax, %r14d
	movq	-96(%rbp), %rdi
	subq	-64(%rbp), %rdi
	callq	_abs
	movl	%eax, %r13d
	movq	-88(%rbp), %rdi
	subq	-56(%rbp), %rdi
	callq	_abs
	movl	%r13d, %ecx
	orl	%r14d, %ecx
	orl	%eax, %ecx
	je	LBB0_22
## %bb.19:
	movq	-144(%rbp), %rdx
	movq	(%rbx), %r8
	movq	8(%rbx), %rdi
	xorl	%ecx, %ecx
	testq	%rdx, %rdx
	setg	%cl
	cmpq	%rdi, %rdx
	movl	$2, %esi
	cmovlq	%rcx, %rsi
	cmpl	%r13d, %r14d
	cmovgl	%r14d, %r13d
	cmpl	%eax, %r13d
	cmovlel	%eax, %r13d
	cmpl	(%r8,%rsi,4), %r13d
	jle	LBB0_22
## %bb.20:
	testq	%rdx, %rdx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmovgq	%rax, %rcx
	cmpq	%rdi, %rdx
	leaq	L_.str.1(%rip), %rax
	cmovlq	%rcx, %rax
	cmpq	$0, 16(%rbx)
	je	LBB0_13
## %bb.21:
	movl	%r13d, (%r8,%rsi,4)
	jmp	LBB0_22
LBB0_12:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	leaq	L_.str(%rip), %rax
LBB0_13:
	movq	%rax, (%rsp)
	leaq	-144(%rbp), %rcx
	leaq	-112(%rbp), %r8
	leaq	-80(%rbp), %r9
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_logpixel
	movl	%eax, %r12d
LBB0_22:
	movl	%r12d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alpha"

L_.str.1:                               ## @.str.1
	.asciz	"opaque component"

L_.str.2:                               ## @.str.2
	.asciz	"alpha component"

L_.str.3:                               ## @.str.3
	.asciz	"transparent component (background)"

	.no_dead_strip	_cmppixel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmppixel
_cmppixel:                              ; @cmppixel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x0
	ldr	x8, [x0, #64]
	add	x0, sp, #64
	blr	x8
	ldr	x9, [x21, #40]
	ldr	x8, [x21, #56]
	ldr	w2, [x21, #48]
	cbz	x9, LBB0_2
; %bb.1:
	mov	x0, sp
	add	x1, sp, #64
	blr	x8
	ldr	x8, [x21, #40]
	add	x0, sp, #32
	mov	x1, sp
	mov	x2, #0
	blr	x8
	b	LBB0_3
LBB0_2:
	add	x0, sp, #32
	add	x1, sp, #64
	blr	x8
LBB0_3:
	ldr	x8, [x21, #32]
	mov	x0, sp
	mov	x1, x22
	blr	x8
	ldr	x9, [sp, #32]
	ldr	x8, [sp]
	subs	x0, x9, x8
	b.ne	LBB0_7
; %bb.4:
	ldr	x10, [sp, #40]
	ldr	x11, [sp, #8]
	cmp	x10, x11
	b.ne	LBB0_7
; %bb.5:
	ldr	x10, [sp, #48]
	ldr	x11, [sp, #16]
	cmp	x10, x11
	b.ne	LBB0_7
; %bb.6:
	ldr	x10, [sp, #56]
	ldr	x11, [sp, #24]
	cmp	x10, x11
	b.eq	LBB0_10
LBB0_7:
	ldr	x10, [x21, #24]
	cbz	x10, LBB0_12
; %bb.8:
	cbnz	x9, LBB0_12
; %bb.9:
	cbnz	x8, LBB0_12
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_12:
	bl	_abs
	ldr	x8, [x21]
	ldr	w9, [x8, #12]
	cmp	w0, w9
	b.le	LBB0_15
; %bb.13:
	ldr	x9, [x21, #16]
	cbz	x9, LBB0_22
; %bb.14:
	str	w0, [x8, #12]
LBB0_15:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_18
; %bb.16:
	ldr	x8, [sp, #32]
	mov	w0, #1
	cbz	x8, LBB0_11
; %bb.17:
	ldr	x8, [sp]
	cbz	x8, LBB0_11
LBB0_18:
	ldr	x8, [sp, #40]
	ldr	x9, [sp, #8]
	sub	x0, x8, x9
	bl	_abs
	mov	x22, x0
	ldr	x8, [sp, #48]
	ldr	x9, [sp, #16]
	sub	x0, x8, x9
	bl	_abs
	mov	x23, x0
	ldr	x8, [sp, #56]
	ldr	x9, [sp, #24]
	sub	x0, x8, x9
	bl	_abs
	orr	w8, w23, w22
	orr	w8, w8, w0
	cbz	w8, LBB0_10
; %bb.19:
	ldr	x8, [sp, #64]
	cmp	x8, #0
	cset	w10, gt
	mov	w12, #2
	ldp	x9, x11, [x21]
	cmp	x8, x11
	csel	x10, x10, x12, lt
	cmp	w22, w23
	csel	w12, w22, w23, gt
	cmp	w12, w0
	csel	w12, w12, w0, gt
	ldr	w13, [x9, x10, lsl #2]
	cmp	w12, w13
	b.le	LBB0_10
; %bb.20:
Lloh0:
	adrp	x13, l_.str.3@PAGE
Lloh1:
	add	x13, x13, l_.str.3@PAGEOFF
Lloh2:
	adrp	x14, l_.str.2@PAGE
Lloh3:
	add	x14, x14, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x13, x14, x13, gt
Lloh4:
	adrp	x14, l_.str.1@PAGE
Lloh5:
	add	x14, x14, l_.str.1@PAGEOFF
	cmp	x8, x11
	csel	x6, x13, x14, lt
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_23
; %bb.21:
	str	w12, [x9, x10, lsl #2]
	b	LBB0_10
LBB0_22:
Lloh6:
	adrp	x6, l_.str@PAGE
Lloh7:
	add	x6, x6, l_.str@PAGEOFF
LBB0_23:
	add	x3, sp, #64
	add	x4, sp, #32
	mov	x5, sp
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_logpixel
	b	LBB0_11
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alpha"

l_.str.1:                               ; @.str.1
	.asciz	"opaque component"

l_.str.2:                               ; @.str.2
	.asciz	"alpha component"

l_.str.3:                               ; @.str.3
	.asciz	"transparent component (background)"

	.no_dead_strip	_cmppixel
.subsections_via_symbols
