	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xtensa_imm12s
_xtensa_imm12s:                         ## @xtensa_imm12s
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rsi), %ecx
	movl	8(%rsi), %eax
	sarl	$4, %ecx
	shll	$4, %eax
	orl	%ecx, %eax
	testl	$2048, %eax                     ## imm = 0x800
	jne	LBB0_1
## %bb.2:
	cltq
	addq	%rdi, %rax
	addq	$4, %rax
	popq	%rbp
	retq
LBB0_1:
	cltq
	addq	%rdi, %rax
	addq	$-4092, %rax                    ## imm = 0xF004
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xtensa_imm12s
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xtensa_imm12s
_xtensa_imm12s:                         ; @xtensa_imm12s
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x1, #4]
	lsl	w9, w9, #4
	orr	w8, w9, w8, asr #4
	add	x9, x0, w8, sxtw
	add	x10, x9, #4
	sub	x9, x9, #4092
	tst	w8, #0x800
	csel	x0, x10, x9, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xtensa_imm12s
.subsections_via_symbols
