	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_refs_stdin
_update_refs_stdin:                     ## @update_refs_stdin
	.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
	movq	%rdi, %r14
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$1000, %edx                     ## imm = 0x3E8
	callq	_strbuf_read
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_die_errno
LBB0_2:
	movq	-64(%rbp), %rax
	movq	%rax, -48(%rbp)
	cmpl	$0, -56(%rbp)
	jle	LBB0_21
## %bb.3:
	movq	_line_termination@GOTPCREL(%rip), %r13
	leaq	L_.str.1(%rip), %rbx
	leaq	-48(%rbp), %r12
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax
	incq	%rax
	movq	%rax, -48(%rbp)
	movslq	-56(%rbp), %rcx
	addq	-64(%rbp), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_21
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %eax
	cmpb	(%r13), %al
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movsbl	%al, %edi
	callq	_isspace
	movq	-48(%rbp), %rsi
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_20
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rsi, %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdx
	callq	_skip_prefix
	movq	-48(%rbp), %rdx
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-64(%rbp), %rsi
	callq	_parse_cmd_update
	movq	%rax, -48(%rbp)
	jmp	LBB0_20
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdx
	callq	_skip_prefix
	movq	-48(%rbp), %rdx
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-64(%rbp), %rsi
	callq	_parse_cmd_create
	movq	%rax, -48(%rbp)
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdx
	callq	_skip_prefix
	movq	-48(%rbp), %rdx
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-64(%rbp), %rsi
	callq	_parse_cmd_delete
	movq	%rax, -48(%rbp)
	jmp	LBB0_20
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, %rdi
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdx
	callq	_skip_prefix
	movq	-48(%rbp), %rdx
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-64(%rbp), %rsi
	callq	_parse_cmd_verify
	movq	%rax, -48(%rbp)
	jmp	LBB0_20
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, %rdi
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdx
	callq	_skip_prefix
	movq	-48(%rbp), %rsi
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	-64(%rbp), %rdi
	callq	_parse_cmd_option
	movq	%rax, -48(%rbp)
	jmp	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_19
LBB0_21:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not read from stdin"

	.comm	_line_termination,1,0           ## @line_termination
L_.str.1:                               ## @.str.1
	.asciz	"empty command in input"

L_.str.2:                               ## @.str.2
	.asciz	"whitespace before command: %s"

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

L_.str.4:                               ## @.str.4
	.asciz	"create "

L_.str.5:                               ## @.str.5
	.asciz	"delete "

L_.str.6:                               ## @.str.6
	.asciz	"verify "

L_.str.7:                               ## @.str.7
	.asciz	"option "

L_.str.8:                               ## @.str.8
	.asciz	"unknown command: %s"

	.no_dead_strip	_update_refs_stdin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_refs_stdin
_update_refs_stdin:                     ; @update_refs_stdin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp, #16]
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #1000
	bl	_strbuf_read
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die_errno
LBB0_2:
	ldr	x8, [sp, #16]
	str	x8, [sp, #8]
	ldr	w9, [sp, #24]
	cmp	w9, #1
	b.lt	LBB0_21
; %bb.3:
Lloh5:
	adrp	x28, _line_termination@GOTPAGE
Lloh6:
	ldr	x28, [x28, _line_termination@GOTPAGEOFF]
Lloh7:
	adrp	x20, l_.str.1@PAGE
Lloh8:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh9:
	adrp	x21, l_.str.3@PAGE
Lloh10:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh11:
	adrp	x22, l_.str.4@PAGE
Lloh12:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh13:
	adrp	x23, l_.str.5@PAGE
Lloh14:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh15:
	adrp	x24, l_.str.6@PAGE
Lloh16:
	add	x24, x24, l_.str.6@PAGEOFF
Lloh17:
	adrp	x25, l_.str.7@PAGE
Lloh18:
	add	x25, x25, l_.str.7@PAGEOFF
Lloh19:
	adrp	x26, l_.str.8@PAGE
Lloh20:
	add	x26, x26, l_.str.8@PAGEOFF
Lloh21:
	adrp	x27, l_.str.2@PAGE
Lloh22:
	add	x27, x27, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_die
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldp	x8, x9, [sp, #8]
	add	x8, x8, #1
	str	x8, [sp, #8]
	ldrsw	x10, [sp, #24]
	add	x9, x9, x10
	cmp	x8, x9
	b.hs	LBB0_21
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x8]
	ldrb	w9, [x28]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtb	w0, w8
	bl	_isspace
	mov	x8, x0
	ldr	x0, [sp, #8]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	str	x0, [sp]
	mov	x0, x27
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #8
	mov	x1, x21
	bl	_skip_prefix
	ldr	x8, [sp, #8]
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x8
	bl	_parse_cmd_update
	str	x0, [sp, #8]
	b	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #8
	mov	x0, x8
	mov	x1, x22
	bl	_skip_prefix
	ldr	x8, [sp, #8]
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x8
	bl	_parse_cmd_create
	str	x0, [sp, #8]
	b	LBB0_6
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #8
	mov	x0, x8
	mov	x1, x23
	bl	_skip_prefix
	ldr	x8, [sp, #8]
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x8
	bl	_parse_cmd_delete
	str	x0, [sp, #8]
	b	LBB0_6
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #8
	mov	x0, x8
	mov	x1, x24
	bl	_skip_prefix
	ldr	x8, [sp, #8]
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x8
	bl	_parse_cmd_verify
	str	x0, [sp, #8]
	b	LBB0_6
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #8
	mov	x0, x8
	mov	x1, x25
	bl	_skip_prefix
	ldr	x1, [sp, #8]
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #16
	bl	_parse_cmd_option
	str	x0, [sp, #8]
	b	LBB0_6
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	str	x1, [sp]
	mov	x0, x26
	b	LBB0_5
LBB0_21:
	add	x0, sp, #16
	bl	_strbuf_release
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not read from stdin"

	.comm	_line_termination,1,0           ; @line_termination
l_.str.1:                               ; @.str.1
	.asciz	"empty command in input"

l_.str.2:                               ; @.str.2
	.asciz	"whitespace before command: %s"

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

l_.str.4:                               ; @.str.4
	.asciz	"create "

l_.str.5:                               ; @.str.5
	.asciz	"delete "

l_.str.6:                               ; @.str.6
	.asciz	"verify "

l_.str.7:                               ; @.str.7
	.asciz	"option "

l_.str.8:                               ; @.str.8
	.asciz	"unknown command: %s"

	.no_dead_strip	_update_refs_stdin
.subsections_via_symbols
