	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function val_parse_ts
_val_parse_ts:                          ## @val_parse_ts
	.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, %r14
	movq	%rdi, %rbx
	callq	_strlen
	cmpq	$3, %rax
	jb	LBB0_4
## %bb.1:
	cmpb	$48, (%rbx)
	jne	LBB0_4
## %bb.2:
	cmpb	$120, 1(%rbx)
	jne	LBB0_4
## %bb.3:
	addq	$2, %rbx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	leaq	-44(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	leaq	-36(%rbp), %r8
	movq	%rbx, %rdi
	callq	_sscanf
	xorl	%r15d, %r15d
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.6:
	movslq	-36(%rbp), %r12
	movq	%rbx, %rdi
	callq	_strlen
	cmpq	%r12, %rax
	jne	LBB0_8
## %bb.7:
	movl	-44(%rbp), %eax
	bswapl	%eax
	movl	%eax, (%r14)
	movl	-40(%rbp), %eax
	bswapl	%eax
	movl	%eax, 4(%r14)
	movl	$1, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%x.%x%n"

L_.str.1:                               ## @.str.1
	.asciz	"%d.%d%n"

	.no_dead_strip	_val_parse_ts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function val_parse_ts
_val_parse_ts:                          ; @val_parse_ts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	bl	_strlen
	cmp	x0, #3
	b.lo	LBB0_4
; %bb.1:
	ldrb	w8, [x20]
	cmp	w8, #48
	b.ne	LBB0_4
; %bb.2:
	ldrb	w8, [x20, #1]
	cmp	w8, #120
	b.ne	LBB0_4
; %bb.3:
	add	x20, x20, #2
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	add	x2, sp, #8
	add	x3, sp, #4
	add	x4, sp, #12
	mov	x0, x20
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_8
; %bb.6:
	ldrsw	x21, [sp, #12]
	mov	x0, x20
	bl	_strlen
	cmp	x0, x21
	b.ne	LBB0_8
; %bb.7:
	ldp	w9, w8, [sp, #4]
	rev	w8, w8
	rev	w9, w9
	stp	w8, w9, [x19]
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%x.%x%n"

l_.str.1:                               ; @.str.1
	.asciz	"%d.%d%n"

	.no_dead_strip	_val_parse_ts
.subsections_via_symbols
