	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function axisCoordinate
LCPI0_0:
	.long	0x42c80000                      ## float 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_axisCoordinate
	.p2align	4, 0x90
_axisCoordinate:                        ## @axisCoordinate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_analogRead
	movq	%rax, %rdx
	subq	%rbx, %rdx
	je	LBB0_1
## %bb.2:
	jge	LBB0_4
## %bb.3:
	movq	%rbx, %rdx
	subq	%rax, %rdx
	movq	_minAxisValue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$-1, %ecx
	jmp	LBB0_5
LBB0_4:
	movq	_maxAxisValue@GOTPCREL(%rip), %rcx
	movq	%rbx, %rax
	movq	(%rcx), %rbx
	movl	$1, %ecx
LBB0_5:
	cvtsi2ss	%rdx, %xmm0
	subq	%rax, %rbx
	cvtsi2ss	%rbx, %xmm1
	divss	%xmm1, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %rax
	testq	%rax, %rax
	js	LBB0_1
## %bb.6:
	cmpq	$101, %rax
	jb	LBB0_9
## %bb.7:
	imull	$100, %ecx, %eax
	cltq
	jmp	LBB0_10
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_9:
	movslq	%ecx, %rcx
	imulq	%rcx, %rax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_minAxisValue,8,3               ## @minAxisValue
	.comm	_maxAxisValue,8,3               ## @maxAxisValue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_axisCoordinate                 ; -- Begin function axisCoordinate
	.p2align	2
_axisCoordinate:                        ; @axisCoordinate
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [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 w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_analogRead
	subs	x8, x0, x19
	b.eq	LBB0_7
; %bb.1:
	b.ge	LBB0_3
; %bb.2:
	sub	x8, x19, x0
Lloh0:
	adrp	x9, _minAxisValue@GOTPAGE
Lloh1:
	ldr	x9, [x9, _minAxisValue@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
	mov	w9, #-1
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x9, _maxAxisValue@GOTPAGE
Lloh4:
	ldr	x9, [x9, _maxAxisValue@GOTPAGEOFF]
	mov	x10, x19
Lloh5:
	ldr	x19, [x9]
	mov	w9, #1
LBB0_4:
	sub	x10, x19, x10
	scvtf	s0, x8
	scvtf	s1, x10
	fdiv	s0, s0, s1
	mov	w8, #1120403456
	fmov	s1, w8
	fmul	s0, s0, s1
	fcvtzs	x8, s0
	tbnz	x8, #63, LBB0_7
; %bb.5:
	cmp	x8, #101
	b.lo	LBB0_8
; %bb.6:
	mov	w8, #100
	mul	w8, w9, w8
	sxtw	x0, w8
	b	LBB0_9
LBB0_7:
	mov	x0, #0
	b	LBB0_9
LBB0_8:
	sxtw	x9, w9
	mul	x0, x8, x9
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_minAxisValue,8,3               ; @minAxisValue
	.comm	_maxAxisValue,8,3               ; @maxAxisValue
.subsections_via_symbols
