	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpp_num_sign_extend            ## -- Begin function cpp_num_sign_extend
	.p2align	4, 0x90
_cpp_num_sign_extend:                   ## @cpp_num_sign_extend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	leaq	16(%rbp), %rdx
	cmpl	$0, 32(%rbp)
	je	LBB0_1
LBB0_9:
	movq	16(%rdx), %rcx
	movq	%rcx, 16(%rax)
	movq	(%rdx), %rcx
	movq	%rcx, (%rax)
	movq	8(%rdx), %rcx
	movq	%rcx, 8(%rax)
	popq	%rbp
	retq
LBB0_1:
	movq	_PART_PRECISION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rsi, %rcx
	jae	LBB0_5
## %bb.2:
	subq	%rcx, %rsi
	cmpq	%rsi, %rcx
	jbe	LBB0_9
## %bb.3:
	movq	(%rdx), %r8
	leal	-1(%rsi), %edi
	movzbl	%dil, %edi
	btq	%rdi, %r8
	jae	LBB0_9
## %bb.4:
	subl	%esi, %ecx
	movq	$-1, %rsi
                                        ## kill: def $cl killed $cl killed $rcx
	shrq	%cl, %rsi
	notq	%rsi
	orq	%rsi, %r8
	movq	%r8, (%rdx)
	jmp	LBB0_9
LBB0_5:
	movq	8(%rdx), %r8
	leal	-1(%rsi), %edi
	movzbl	%dil, %edi
	btq	%rdi, %r8
	jae	LBB0_9
## %bb.6:
	cmpq	%rsi, %rcx
	jbe	LBB0_8
## %bb.7:
	subl	%esi, %ecx
	movq	$-1, %rsi
                                        ## kill: def $cl killed $cl killed $rcx
	shrq	%cl, %rsi
	notq	%rsi
	orq	%rsi, %r8
	movq	%r8, 8(%rdx)
LBB0_8:
	movq	$-1, (%rdx)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_PART_PRECISION,8,3             ## @PART_PRECISION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpp_num_sign_extend            ; -- Begin function cpp_num_sign_extend
	.p2align	2
_cpp_num_sign_extend:                   ; @cpp_num_sign_extend
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0, #16]
	cbnz	w9, LBB0_10
; %bb.1:
Lloh0:
	adrp	x9, _PART_PRECISION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PART_PRECISION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x1
	b.hs	LBB0_5
; %bb.2:
	sub	x11, x1, x9
	subs	x9, x9, x11
	b.ls	LBB0_10
; %bb.3:
	ldr	x10, [x0]
	sub	x11, x11, #1
	lsr	x11, x10, x11
	tbz	w11, #0, LBB0_10
; %bb.4:
	mov	x11, #-1
	lsr	x9, x11, x9
	orn	x9, x10, x9
	b	LBB0_9
LBB0_5:
	ldr	x10, [x0, #8]
	sub	x11, x1, #1
	lsr	x11, x10, x11
	tbz	w11, #0, LBB0_10
; %bb.6:
	subs	x9, x9, x1
	b.ls	LBB0_8
; %bb.7:
	mov	x11, #-1
	lsr	x9, x11, x9
	orn	x9, x10, x9
	str	x9, [x0, #8]
LBB0_8:
	mov	x9, #-1
LBB0_9:
	str	x9, [x0]
LBB0_10:
	ldr	q0, [x0]
	str	q0, [x8]
	ldr	x9, [x0, #16]
	str	x9, [x8, #16]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PART_PRECISION,8,3             ; @PART_PRECISION
.subsections_via_symbols
