	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips16_get_imm
_mips16_get_imm:                        ## @mips16_get_imm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%ecx, %r9d
	movl	%esi, %eax
	movl	%edi, %ecx
	andl	$63488, %ecx                    ## imm = 0xF800
	cmpl	$61440, %ecx                    ## imm = 0xF000
	jne	LBB0_2
## %bb.1:
	movl	%edi, %ecx
	shll	$11, %ecx
	movzwl	%cx, %ecx
	movl	%edi, %edx
	andl	$2016, %edx                     ## imm = 0x7E0
	leal	(%rcx,%rdx), %esi
	testb	$16, %dil
	leal	-65536(%rcx,%rdx), %ecx
	cmovel	%esi, %ecx
	andl	$31, %eax
	orl	%ecx, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %esi
	movl	%edx, %ecx
	shll	%cl, %esi
	leal	-1(%rsi), %ecx
	movzwl	%ax, %eax
	andl	%ecx, %eax
	testl	%r8d, %r8d
	je	LBB0_4
## %bb.3:
	movl	%esi, %ecx
	sarl	%ecx
	andl	%eax, %ecx
	cmovnel	%esi, %ecx
	subl	%ecx, %eax
LBB0_4:
	imull	%r9d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mips16_get_imm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips16_get_imm
_mips16_get_imm:                        ; @mips16_get_imm
	.cfi_startproc
; %bb.0:
	and	w8, w0, #0xf800
	mov	w9, #1
	lsl	w9, w9, w2
	sub	w10, w9, #1
	and	w10, w10, w1
	tst	w10, w9, asr #1
	csel	w9, wzr, w9, eq
	sub	w9, w10, w9
	cmp	w4, #0
	csel	w9, w10, w9, eq
	mul	w9, w9, w3
	and	w10, w0, #0x7e0
	bfi	w10, w0, #11, #5
	orr	w11, w10, #0xffff0000
	tst	w0, #0x10
	csel	w10, w10, w11, eq
	bfxil	w10, w1, #0, #5
	cmp	w8, #15, lsl #12                ; =61440
	csel	w0, w9, w10, ne
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mips16_get_imm
.subsections_via_symbols
