	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_sx
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_sx:                                ## @get_sx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	(%rdi), %ecx
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ecx
	je	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	cmpl	$130, %ecx
	jne	LBB0_6
## %bb.3:
	cvtsi2ssq	8(%rdi), %xmm0
	movss	4(%rdi), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	cvtsi2ss	%esi, %xmm2
	divss	%xmm0, %xmm1
	mulss	%xmm1, %xmm2
	cvttss2si	%xmm2, %eax
	jmp	LBB0_6
LBB0_4:
	cvttss2si	4(%rdi), %eax
	cvtsi2sd	%esi, %xmm0
	cvtsi2sdq	8(%rdi), %xmm1
	addsd	LCPI0_0(%rip), %xmm1
	divsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %esi
	movl	%eax, %edi
	addq	$16, %rsp
	popq	%rbp
	jmp	_pow                            ## TAILCALL
LBB0_5:
	movss	4(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rbp)                 ## 4-byte Spill
	cvttss2si	%xmm0, %eax
	movq	8(%rdi), %rcx
	notl	%esi
	movslq	%esi, %rdx
	addq	%rcx, %rdx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rdx, %xmm0
	cvtsi2sd	%rcx, %xmm1
	addsd	LCPI0_0(%rip), %xmm1
	divsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %esi
	movl	%eax, %edi
	callq	_pow
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	-4(%rbp), %xmm1                 ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	cvttss2si	%xmm1, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_sx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_sx
_get_sx:                                ; @get_sx
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-32]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.3:
	ldr	s0, [x0, #4]
	ldr	x8, [x0, #8]
	scvtf	s1, x8
	fdiv	s0, s0, s1
	scvtf	s1, w1
	fmul	s0, s0, s1
	b	LBB0_6
LBB0_4:
	ldr	s0, [x0, #4]
	fcvtzs	w8, s0
	scvtf	d0, w1
	ldr	d1, [x0, #8]
	scvtf	d1, d1
	fmov	d2, #-1.00000000
	fadd	d1, d1, d2
	fdiv	d0, d0, d1
	fcvtzs	w1, d0
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	b	_pow
LBB0_5:
	ldr	s8, [x0, #4]
	fcvtzs	w8, s8
	ldr	x9, [x0, #8]
	mvn	w10, w1
	add	x10, x9, w10, sxtw
	scvtf	d0, x10
	scvtf	d1, x9
	fmov	d2, #-1.00000000
	fadd	d1, d1, d2
	fdiv	d0, d0, d1
	fcvtzs	w1, d0
	mov	x0, x8
	bl	_pow
	scvtf	s0, w0
	fsub	s0, s8, s0
LBB0_6:
	fcvtzs	w0, s0
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_sx
.subsections_via_symbols
