	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twos_complement_to_s32
_twos_complement_to_s32:                ## @twos_complement_to_s32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	leal	-1(%rsi), %ecx
	movl	%edi, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	movl	$-1, %eax
	movl	%esi, %ecx
	shll	%cl, %eax
	testl	%edx, %edx
	cmovel	%edx, %eax
	orl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_twos_complement_to_s32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twos_complement_to_s32
_twos_complement_to_s32:                ; @twos_complement_to_s32
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #1
	asr	w8, w0, w8
	mov	w9, #-1
	lsl	w9, w9, w1
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	orr	w0, w8, w0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_twos_complement_to_s32
.subsections_via_symbols
