	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si1145_compress
_si1145_compress:                       ## @si1145_compress
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	testl	%edi, %edi
	je	LBB0_10
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.11:
	movl	$8, %eax
	popq	%rbp
	retq
LBB0_2:
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	sarl	%ecx
	decl	%edx
	addl	$16, %esi
	cmpl	$1, %ecx
	jne	LBB0_3
## %bb.4:
	movl	%edx, %ecx
	notl	%ecx
	cmpl	$3, %ecx
	ja	LBB0_6
## %bb.5:
	addb	$4, %dl
	movl	%edx, %ecx
	shll	%cl, %eax
	andl	$15, %eax
	orl	%esi, %eax
	popq	%rbp
	retq
LBB0_6:
	movl	%edx, %esi
	negl	%esi
	movb	$-5, %cl
	subb	%dl, %cl
	sarl	%cl, %eax
	testb	$1, %al
	je	LBB0_9
## %bb.7:
	addl	$2, %eax
	testb	$64, %al
	je	LBB0_9
## %bb.8:
	movl	$1, %esi
	subl	%edx, %esi
	sarl	%eax
LBB0_9:
	shll	$4, %esi
	shrl	%eax
	andl	$15, %eax
	orl	%esi, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_si1145_compress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si1145_compress
_si1145_compress:                       ; @si1145_compress
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_8
; %bb.1:
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #8
	ret
LBB0_3:
	mov	w8, #0
	mov	w9, #4
	mov	w10, #1
	mov	x12, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x10
	asr	w12, w12, #1
	sub	w9, w9, #1
	add	w10, w10, #1
	add	w8, w8, #16
	cmp	w12, #1
	b.ne	LBB0_4
; %bb.5:
	sub	w12, w10, #2
	cmp	w12, #3
	b.hi	LBB0_7
; %bb.6:
	lsl	w9, w0, w9
	and	w9, w9, #0xf
	orr	w0, w9, w8
	ret
LBB0_7:
	sub	w8, w10, #1
	sub	w9, w10, #6
	asr	w9, w0, w9
	add	w10, w9, #2
	asr	w12, w10, #1
	tst	w10, #0x40
	csinc	w11, w8, w11, eq
	csel	w10, w10, w12, eq
	tst	w9, #0x1
	csel	w8, w8, w11, eq
	csel	w9, w9, w10, eq
	lsl	w0, w8, #4
	bfxil	w0, w9, #1, #4
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_si1145_compress
.subsections_via_symbols
