	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_num64
_parse_num64:                           ## @parse_num64
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_strlen
	xorl	%r15d, %r15d
	cmpq	$3, %rax
	jb	LBB0_9
## %bb.1:
	cmpb	$105, -1(%rax,%rbx)
	jne	LBB0_9
## %bb.2:
	movsbl	-2(%rax,%rbx), %ecx
	cmpl	$107, %ecx
	je	LBB0_3
## %bb.4:
	cmpl	$77, %ecx
	je	LBB0_5
## %bb.6:
	cmpl	$71, %ecx
	jne	LBB0_10
## %bb.7:
	movl	$30, %r15d
	jmp	LBB0_8
LBB0_3:
	movl	$10, %r15d
	jmp	LBB0_8
LBB0_5:
	movl	$20, %r15d
LBB0_8:
	movb	$0, -2(%rbx,%rax)
LBB0_9:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_kstrtou64
	movl	%r15d, %ecx
	shll	%cl, (%r14)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_parse_num64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_num64
_parse_num64:                           ; @parse_num64
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_strlen
	cmp	x0, #3
	b.lo	LBB0_6
; %bb.1:
	add	x8, x0, x20
	ldurb	w8, [x8, #-1]
	cmp	w8, #105
	b.ne	LBB0_6
; %bb.2:
	sub	x8, x0, #2
	ldrsb	w9, [x20, x8]
	cmp	w9, #107
	b.eq	LBB0_7
; %bb.3:
	cmp	w9, #77
	b.eq	LBB0_8
; %bb.4:
	cmp	w9, #71
	b.ne	LBB0_12
; %bb.5:
	mov	w21, #30
	b	LBB0_9
LBB0_6:
	mov	w21, #0
	b	LBB0_10
LBB0_7:
	mov	w21, #10
	b	LBB0_9
LBB0_8:
	mov	w21, #20
LBB0_9:
	strb	wzr, [x20, x8]
LBB0_10:
	mov	x0, x20
	mov	w1, #0
	mov	x2, x19
	bl	_kstrtou64
	ldr	w8, [x19]
	lsl	w8, w8, w21
	str	w8, [x19]
LBB0_11:
	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
LBB0_12:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_parse_num64
.subsections_via_symbols
