	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_ref_format              ## -- Begin function verify_ref_format
	.p2align	4, 0x90
_verify_ref_format:                     ## @verify_ref_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, (%rdi)
	movq	8(%rdi), %r14
	xorl	%eax, %eax
	cmpb	$0, (%r14)
	je	LBB0_14
## %bb.1:
	movq	%rdi, %r12
	leaq	-48(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_strbuf_release
	cmpb	$0, (%r14)
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_find_next
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%r13, %rdi
	movl	$41, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	addq	$2, %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	movq	%r15, %rcx
	callq	_parse_ref_filter_atom
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	_used_atom@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, (%r12)
	jmp	LBB0_9
LBB0_10:
	cmpl	$0, (%r12)
	je	LBB0_13
## %bb.11:
	movl	16(%r12), %edi
	callq	_want_color
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movl	$0, (%r12)
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_error
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malformed format string %s"

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

	.comm	_used_atom,8,3                  ## @used_atom
L_.str.2:                               ## @.str.2
	.asciz	"color:"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_ref_format              ; -- Begin function verify_ref_format
	.p2align	2
_verify_ref_format:                     ; @verify_ref_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w25, -72
	.cfi_offset w26, -80
	str	wzr, [x0]
	ldr	x23, [x0, #8]
	ldrb	w8, [x23]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x25, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh4:
	adrp	x26, _used_atom@GOTPAGE
Lloh5:
	ldr	x26, [x26, _used_atom@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_strbuf_release
	ldrb	w8, [x23, #1]!
	cbz	w8, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_find_next
	cbz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	ldr	w8, [x25]
	str	w8, [sp, #8]
	mov	w1, #41
	bl	_strchr
	cbz	x0, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	add	x1, x24, #2
	add	x3, sp, #8
	mov	x0, x19
	mov	x2, x23
	bl	_parse_ref_filter_atom
	mov	x24, x0
	tbz	w0, #31, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [sp, #8]
	mov	x0, x20
	bl	_die
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x26]
	ldr	w0, [x8, w24, sxtw #2]
	mov	x2, sp
	mov	x1, x21
	bl	_skip_prefix
	cbz	x0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp]
	mov	x1, x22
	bl	_strcmp
	cmp	w0, #0
	cset	w8, ne
	str	w8, [x19]
	b	LBB0_2
LBB0_9:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.10:
	ldr	w0, [x19, #16]
	bl	_want_color
	cbz	w0, LBB0_13
LBB0_11:
	mov	w0, #0
	b	LBB0_14
LBB0_12:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x24
	bl	_error
	b	LBB0_14
LBB0_13:
	str	wzr, [x19]
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malformed format string %s"

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

	.comm	_used_atom,8,3                  ; @used_atom
l_.str.2:                               ; @.str.2
	.asciz	"color:"

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

.subsections_via_symbols
