	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function new_ramdac580
_new_ramdac580:                         ## @new_ramdac580
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$6817032, %edi                  ## imm = 0x680508
	movl	$256, %eax                      ## imm = 0x100
	movl	$268435456, %ecx                ## imm = 0x10000000
	cmovel	%eax, %ecx
	movl	$-257, %edi                     ## imm = 0xFEFF
	movl	$-268435457, %eax               ## imm = 0xEFFFFFFF
	cmovel	%edi, %eax
	orl	%edx, %ecx
	andl	%edx, %eax
	testl	%esi, %esi
	cmovnel	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_new_ramdac580
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function new_ramdac580
_new_ramdac580:                         ; @new_ramdac580
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #1664, lsl #12          ; =6815744
	mov	w9, #268435456
	mov	w10, #256
	cmp	w8, #1288
	csel	w8, w10, w9, eq
	orr	w8, w8, w2
	mov	w9, #-268435457
	mov	w10, #-257
	csel	w9, w10, w9, eq
	and	w9, w9, w2
	cmp	w1, #0
	csel	w0, w9, w8, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_new_ramdac580
.subsections_via_symbols
