	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reg2temp
_reg2temp:                              ## @reg2temp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CONFIG5_TWOSCOMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	imull	$250, %esi, %ecx
	leal	-256000(%rcx), %eax
	cmpl	$512, %esi                      ## imm = 0x200
	cmovll	%ecx, %eax
	popq	%rbp
	retq
LBB0_2:
	imull	$250, %esi, %eax
	addl	$-64000, %eax                   ## imm = 0xFFFF0600
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG5_TWOSCOMP,4,2           ## @CONFIG5_TWOSCOMP
	.no_dead_strip	_reg2temp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reg2temp
_reg2temp:                              ; @reg2temp
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _CONFIG5_TWOSCOMP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CONFIG5_TWOSCOMP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	w10, #250
	mov	w11, #-64000
	madd	w11, w1, w10, w11
	mul	w10, w1, w10
	sub	w12, w10, #62, lsl #12          ; =253952
	sub	w12, w12, #2048
	cmp	w1, #511
	csel	w10, w12, w10, gt
	tst	w9, w8
	csel	w0, w11, w10, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG5_TWOSCOMP,4,2           ; @CONFIG5_TWOSCOMP
	.no_dead_strip	_reg2temp
.subsections_via_symbols
