	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function valid_format
_valid_format:                          ## @valid_format
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%r13d, %r13d
	leaq	L_.str(%rip), %r14
	leaq	L_.str.1(%rip), %r15
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %ecx
	testb	%al, %al
	je	LBB0_21
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	%rcx, %rbx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	movb	(%rbx), %al
	cmpb	$37, %al
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	1(%rbx), %al
	movl	$2, %ecx
	cmpb	$37, %al
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_7
	jmp	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_22
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_12
	jmp	LBB0_22
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	(%rbx), %al
	cmpb	$46, %al
	jne	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rbx), %eax
	testb	%al, %al
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	incq	%rbx
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movb	(%rbx), %al
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movsbl	%al, %eax
	addl	$-65, %eax
	cmpl	$38, %eax
	ja	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movabsq	$485331304561, %rcx             ## imm = 0x7100000071
	btq	%rax, %rcx
	jae	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	incl	%r13d
	jmp	LBB0_1
LBB0_9:
	xorl	%r12d, %r12d
	jmp	LBB0_22
LBB0_21:
	xorl	%r12d, %r12d
	cmpl	$1, %r13d
	sete	%r12b
LBB0_22:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#0- +'"

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

	.no_dead_strip	_valid_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function valid_format
_valid_format:                          ; @valid_format
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	w22, #0
	mov	w23, #1
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	mov	x24, #113
	movk	x24, #113, lsl #32
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	ldrb	w8, [x19]
	cmp	w8, #37
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	w8, LBB0_20
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #1
	add	x19, x19, x8
	b	LBB0_1
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x19, #1]
	cmp	w8, #37
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #2
	add	x19, x19, x8
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbz	w8, LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x19, x19, #1
LBB0_8:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w1, w8
	mov	x0, x20
	bl	_strchr
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldrb	w8, [x19, #1]!
	cbnz	w8, LBB0_8
	b	LBB0_19
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x19]
	cbz	w8, LBB0_19
LBB0_11:                                ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w1, w8
	mov	x0, x21
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldrb	w8, [x19, #1]!
	cbnz	w8, LBB0_11
	b	LBB0_19
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x19]
	cmp	w8, #46
	b.ne	LBB0_17
LBB0_14:                                ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x19, #1]!
	cbz	w8, LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	sxtb	w1, w8
	mov	x0, x21
	bl	_strchr
	cbnz	x0, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x19]
LBB0_17:                                ;   in Loop: Header=BB0_1 Depth=1
	sxtb	w8, w8
	sub	w8, w8, #65
	cmp	w8, #38
	lsl	x8, x23, x8
	and	x8, x8, x24
	ccmp	x8, #0, #4, ls
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_1 Depth=1
	add	w22, w22, #1
	b	LBB0_1
LBB0_19:
	mov	w0, #0
	b	LBB0_21
LBB0_20:
	cmp	w22, #1
	cset	w0, eq
LBB0_21:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#0- +'"

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

	.no_dead_strip	_valid_format
.subsections_via_symbols
