	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_gamma_bounds
_check_gamma_bounds:                    ## @check_gamma_bounds
	.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	%esi, %ebx
	orl	%edi, %ebx
	xorl	%eax, %eax
	cmpl	$16777215, %ebx                 ## imm = 0xFFFFFF
	ja	LBB0_4
## %bb.1:
	movl	%esi, %ecx
	movl	%edi, %edx
	movzbl	%dl, %esi
	movzbl	%cl, %edi
	cmpl	%edi, %esi
	jae	LBB0_4
## %bb.2:
	movzbl	%dh, %esi
	movzbl	%ch, %edi
	cmpl	%edi, %esi
	jae	LBB0_4
## %bb.3:
	shrl	$16, %edx
	shrl	$16, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	setb	%al
LBB0_4:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_check_gamma_bounds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_gamma_bounds
_check_gamma_bounds:                    ; @check_gamma_bounds
	.cfi_startproc
; %bb.0:
	orr	w8, w1, w0
	lsr	w8, w8, #24
	and	w9, w0, #0xff
	ubfx	w10, w0, #8, #8
	lsr	w11, w1, #8
	lsr	w12, w0, #16
	cmp	w12, w1, lsr #16
	cset	w12, lo
	cmp	w10, w11, uxtb
	csel	w10, wzr, w12, hs
	cmp	w9, w1, uxtb
	csel	w9, wzr, w10, hs
	cmp	w8, #0
	csel	w0, wzr, w9, ne
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_check_gamma_bounds
.subsections_via_symbols
