	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_generation
_parse_generation:                      ## @parse_generation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdi, -32(%rbp)
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpb	$0, (%rbx)
	je	LBB0_2
## %bb.3:
	movl	$1, %edi
	movl	$12, %esi
	callq	_calloc
	movq	%rax, (%r14)
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_strsep
	movq	(%r14), %rdi
	addq	$8, %rdi
	movq	%rax, %rsi
	callq	_parse_time_string
	movl	$-1, %ebx
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_strsep
	leaq	L_.str.2(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rax, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.5:
	movl	-20(%rbp), %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_strsep
	leaq	L_.str.2(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rax, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.6:
	movl	-20(%rbp), %eax
	decl	%eax
	movq	(%r14), %rcx
	movl	%eax, 4(%rcx)
	jmp	LBB0_7
LBB0_2:
	movq	$0, (%r14)
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

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

L_.str.2:                               ## @.str.2
	.asciz	"%d"

	.no_dead_strip	_parse_generation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_generation
_parse_generation:                      ; @parse_generation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	str	x0, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.1:
	ldrb	w8, [x20]
	cbz	w8, LBB0_6
; %bb.2:
	mov	w0, #1
	mov	w1, #12
	bl	_calloc
	str	x0, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	mov	x1, x0
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_parse_time_string
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.3:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #4
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [sp, #4]
	ldr	x9, [x19]
	str	w8, [x9]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #4
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.5:
	mov	w0, #0
	ldr	w8, [sp, #4]
	sub	w8, w8, #1
	ldr	x9, [x19]
	str	w8, [x9, #4]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_8
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

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

l_.str.2:                               ; @.str.2
	.asciz	"%d"

	.no_dead_strip	_parse_generation
.subsections_via_symbols
