	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function getval
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
LCPI0_1:
	.long	0x44000000                      ## float 512
LCPI0_2:
	.long	0x44800000                      ## float 1024
LCPI0_3:
	.long	0x49800000                      ## float 1048576
LCPI0_4:
	.long	0x4e800000                      ## float 1.07374182E+9
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_getval:                                ## @getval
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_short2str
	movl	%eax, %edi
	callq	_atof
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	movabsq	$36028797027352577, %r12        ## imm = 0x80000000800001
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_Isdigit
	testq	%rax, %rax
	jne	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rbx), %eax
	leal	-46(%rax), %ecx
	cmpb	$55, %cl
	ja	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%cl, %ecx
	btq	%rcx, %r12
	jb	LBB0_9
LBB0_3:
	testb	%al, %al
	jne	LBB0_6
## %bb.4:
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	je	LBB0_10
## %bb.5:
	movb	(%rbx), %al
LBB0_6:
	movsbl	%al, %eax
	addl	$-71, %eax
	cmpl	$46, %eax
	ja	LBB0_18
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movb	$103, (%rbx)
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	callq	_limtail2
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	LCPI0_4(%rip), %xmm1
	jmp	LBB0_19
LBB0_10:
	movss	(%r14), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	addss	LCPI0_0(%rip), %xmm0
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_restrict_limit                 ## TAILCALL
LBB0_18:
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	movq	_ERR_SCALEF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_stderror
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	jmp	LBB0_19
LBB0_13:
	movb	$109, (%rbx)
LBB0_14:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_limtail2
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	LCPI0_3(%rip), %xmm1
	jmp	LBB0_19
LBB0_15:
	leaq	L_.str.4(%rip), %rsi
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	callq	_limtail2
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	LCPI0_2(%rip), %xmm1
	jmp	LBB0_19
LBB0_17:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_limtail
	movq	_RLIM_INFINITY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_21
LBB0_16:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_limtail
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	LCPI0_1(%rip), %xmm1
LBB0_19:
	movq	_RLIM_INFINITY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	addss	LCPI0_0(%rip), %xmm1
	ucomiss	%xmm0, %xmm1
	ja	LBB0_21
## %bb.20:
	cvttss2si	%xmm1, %rax
LBB0_21:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_13
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_16
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_12
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_15
	.long	L0_0_set_18
	.long	L0_0_set_14
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"megabytes"

L_.str.1:                               ## @.str.1
	.asciz	"mbytes"

L_.str.2:                               ## @.str.2
	.asciz	"gigabytes"

L_.str.3:                               ## @.str.3
	.asciz	"gbytes"

L_.str.4:                               ## @.str.4
	.asciz	"kilobytes"

L_.str.5:                               ## @.str.5
	.asciz	"kbytes"

L_.str.6:                               ## @.str.6
	.asciz	"blocks"

L_.str.7:                               ## @.str.7
	.asciz	"unlimited"

	.comm	_RLIM_INFINITY,8,3              ## @RLIM_INFINITY
	.comm	_ERR_NAME,4,2                   ## @ERR_NAME
	.comm	_ERR_SCALEF,4,2                 ## @ERR_SCALEF
	.comm	_ERR_TOOLARGE,4,2               ## @ERR_TOOLARGE
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_INT_MIN,8,3                    ## @INT_MIN
	.comm	_RLIMIT_CPU,4,2                 ## @RLIMIT_CPU
	.no_dead_strip	_getval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getval
_getval:                                ; @getval
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x1]
	mov	x0, x19
	bl	_short2str
	bl	_atof
	fmov	s8, s0
	mov	w22, #1
	mov	x23, #36028797027352576
	movk	x23, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19]
	bl	_Isdigit
	cbnz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x19]
	sub	w9, w8, #46
	cmp	w9, #55
	lsl	x9, x22, x9
	and	x9, x9, x23
	ccmp	x9, #0, #4, ls
	b.ne	LBB0_1
; %bb.4:
	cbnz	w8, LBB0_7
; %bb.5:
	ldr	x19, [x21, #8]
	cbz	x19, LBB0_11
; %bb.6:
	ldrb	w8, [x19]
LBB0_7:
	sxtb	w8, w8
	sub	w8, w8, #71
	cmp	w8, #46
	b.hi	LBB0_12
; %bb.8:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
	mov	w8, #103
	strb	w8, [x19]
LBB0_10:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh4:
	adrp	x2, l_.str.3@PAGE
Lloh5:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_limtail2
	mov	w8, #1317011456
	b	LBB0_16
LBB0_11:
	ldr	s0, [x20]
	fmul	s0, s8, s0
	fmov	s1, #0.50000000
	fadd	s0, s0, s1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	b	_restrict_limit
LBB0_12:
Lloh6:
	adrp	x8, _ERR_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_NAME@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ERR_SCALEF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ERR_SCALEF@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_stderror
	b	LBB0_17
LBB0_13:
	mov	w8, #109
	strb	w8, [x19]
LBB0_14:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_limtail2
	mov	w8, #1233125376
	b	LBB0_16
LBB0_15:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
Lloh18:
	adrp	x2, l_.str.5@PAGE
Lloh19:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_limtail2
	mov	w8, #1149239296
LBB0_16:
	fmov	s0, w8
	fmul	s8, s8, s0
LBB0_17:
	fmov	s0, #0.50000000
	fadd	s0, s8, s0
Lloh20:
	adrp	x8, _RLIM_INFINITY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RLIM_INFINITY@GOTPAGEOFF]
Lloh22:
	ldr	x0, [x8]
	scvtf	s1, x0
	fcmp	s0, s1
	b.gt	LBB0_20
; %bb.18:
	fcvtzs	x0, s0
	b	LBB0_20
LBB0_19:
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_limtail
Lloh25:
	adrp	x8, _RLIM_INFINITY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RLIM_INFINITY@GOTPAGEOFF]
Lloh27:
	ldr	x0, [x8]
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
LBB0_21:
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_limtail
	movi.2s	v0, #68, lsl #24
	fmul	s8, s8, s0
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_19-LBB0_9)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"megabytes"

l_.str.1:                               ; @.str.1
	.asciz	"mbytes"

l_.str.2:                               ; @.str.2
	.asciz	"gigabytes"

l_.str.3:                               ; @.str.3
	.asciz	"gbytes"

l_.str.4:                               ; @.str.4
	.asciz	"kilobytes"

l_.str.5:                               ; @.str.5
	.asciz	"kbytes"

l_.str.6:                               ; @.str.6
	.asciz	"blocks"

l_.str.7:                               ; @.str.7
	.asciz	"unlimited"

	.comm	_RLIM_INFINITY,8,3              ; @RLIM_INFINITY
	.comm	_ERR_NAME,4,2                   ; @ERR_NAME
	.comm	_ERR_SCALEF,4,2                 ; @ERR_SCALEF
	.comm	_ERR_TOOLARGE,4,2               ; @ERR_TOOLARGE
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_INT_MIN,8,3                    ; @INT_MIN
	.comm	_RLIMIT_CPU,4,2                 ; @RLIMIT_CPU
	.no_dead_strip	_getval
.subsections_via_symbols
