	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cin_get_num
_cin_get_num:                           ## @cin_get_num
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_R_NUMCALC_STRSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movb	$0, (%rax)
	leaq	-49(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_cin_get
	xorl	%r15d, %r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	leaq	-49(%rbp), %rdx
	callq	_cin_get
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-49(%rbp), %r13d
	leal	-46(%r13), %eax
	cmpb	$49, %al
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %eax
	movabsq	$562949953425409, %rcx          ## imm = 0x2000000001001
	btq	%rax, %rcx
	jb	LBB0_10
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movsbl	%r13b, %r14d
	movl	%r14d, %edi
	callq	_isalnum
	testl	%eax, %eax
	je	LBB0_5
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_R_NUMCALC_STRSZ@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r15d, %rax
	incl	%r15d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movb	%r13b, (%rcx,%rax)
	jmp	LBB0_12
LBB0_5:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_cin_putback
LBB0_6:
	movslq	%r15d, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movb	$0, (%rbx,%rax)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_r_num_get
	movl	%eax, %edi
	callq	_Nset
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movsd	%xmm0, (%r15)
	movsd	%xmm1, 8(%r15)
	movsbl	(%rbx), %edi
	callq	_IS_DIGIT
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	movq	%rbx, %rdi
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:
	leaq	L_.str(%rip), %rsi
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_9
## %bb.13:
	movsd	-72(%rbp), %xmm0                ## xmm0 = mem[0],zero
	ucomisd	(%r15), %xmm0
	jbe	LBB0_15
## %bb.14:
	callq	_Nsetf
	movsd	%xmm0, (%r15)
	movsd	-72(%rbp), %xmm0                ## xmm0 = mem[0],zero
LBB0_15:
	movsd	%xmm0, 8(%r15)
	jmp	LBB0_16
LBB0_9:
	xorl	%r14d, %r14d
LBB0_16:
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_R_NUMCALC_STRSZ,4,2            ## @R_NUMCALC_STRSZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lf"

	.no_dead_strip	_cin_get_num
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cin_get_num
_cin_get_num:                           ; @cin_get_num
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x24, _R_NUMCALC_STRSZ@GOTPAGE
Lloh4:
	ldr	x24, [x24, _R_NUMCALC_STRSZ@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #1
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	strb	wzr, [x20]
	sub	x2, x29, #97
	bl	_cin_get
	mov	w25, #0
	cbz	x0, LBB0_8
; %bb.1:
	mov	w26, #1
	mov	x27, #4097
	movk	x27, #2, lsl #48
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x2, x29, #97
	mov	x0, x21
	mov	x1, x22
	bl	_cin_get
	cbz	x0, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldursb	w0, [x29, #-97]
	and	w28, w0, #0xff
	sub	w8, w28, #46
	cmp	w8, #49
	lsl	x8, x26, x8
	and	x8, x8, x27
	ccmp	x8, #0, #4, ls
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_isalnum
	cbz	w0, LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	cmp	w25, w8
	b.ge	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	w28, [x20, w25, sxtw]
	add	w25, w25, #1
	b	LBB0_2
LBB0_7:
	sxtb	w2, w28
	mov	x0, x21
	mov	x1, x22
	bl	_cin_putback
LBB0_8:
	strb	wzr, [x20, w25, sxtw]
	mov	x0, x21
	mov	x1, x20
	bl	_r_num_get
	bl	_Nset
	stp	d0, d1, [x19]
	ldrsb	w0, [x20]
	bl	_IS_DIGIT
	cbz	x0, LBB0_14
; %bb.9:
	mov	x0, x20
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_14
; %bb.10:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #96
	mov	x0, x20
	bl	_sscanf
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.11:
	ldr	d1, [x19]
	ldur	d0, [x29, #-96]
	fcmp	d1, d0
	b.pl	LBB0_13
; %bb.12:
	bl	_Nsetf
	str	d0, [x19]
	ldur	d0, [x29, #-96]
LBB0_13:
	str	d0, [x19, #8]
LBB0_14:
	mov	w0, #1
LBB0_15:
	mov	sp, x23
	ldur	x8, [x29, #-88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.16:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	mov	w0, #0
	b	LBB0_15
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_R_NUMCALC_STRSZ,4,2            ; @R_NUMCALC_STRSZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lf"

	.no_dead_strip	_cin_get_num
.subsections_via_symbols
