	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getd
_getd:                                  ## @getd
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_fp@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_getc
                                        ## kill: def $eax killed $eax def $rax
	movq	_EOF@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	je	LBB0_5
## %bb.1:
	movabsq	$4294968832, %r15               ## imm = 0x100000600
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$32, %eax
	ja	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	btq	%rcx, %r15
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	callq	_getc
                                        ## kill: def $eax killed $eax def $rax
	cmpl	(%rbx), %eax
	jne	LBB0_2
LBB0_5:
	leal	-48(%rax), %ecx
	movl	$-1, %ebx
	cmpl	$9, %ecx
	ja	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rbx,%rbx,4), %ecx
	leal	(%rax,%rcx,2), %ebx
	addl	$-48, %ebx
	movl	(%r14), %edi
	callq	_getc
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	addl	$-48, %ecx
	cmpl	$10, %ecx
	jb	LBB0_7
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fp,4,2                         ## @fp
	.comm	_EOF,4,2                        ## @EOF
	.no_dead_strip	_getd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getd
_getd:                                  ; @getd
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _fp@GOTPAGE
Lloh1:
	ldr	x20, [x20, _fp@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_getc
Lloh2:
	adrp	x19, _EOF@GOTPAGE
Lloh3:
	ldr	x19, [x19, _EOF@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.1:
	mov	w21, #1
	mov	x22, #1536
	movk	x22, #1, lsl #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w0, #32
	b.hi	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, w0
	lsl	x8, x21, x8
	tst	x8, x22
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	bl	_getc
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_2
LBB0_5:
	sub	w8, w0, #48
	cmp	w8, #9
	b.hi	LBB0_8
; %bb.6:
	mov	w19, #0
	mov	w21, #10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	madd	w8, w19, w21, w0
	sub	w19, w8, #48
	ldr	w0, [x20]
	bl	_getc
	sub	w8, w0, #48
	cmp	w8, #10
	b.lo	LBB0_7
	b	LBB0_9
LBB0_8:
	mov	w19, #-1
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_fp,4,2                         ; @fp
	.comm	_EOF,4,2                        ; @EOF
	.no_dead_strip	_getd
.subsections_via_symbols
