	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__oidmap                    ## -- Begin function cmd__oidmap
	.p2align	4, 0x90
_cmd__oidmap:                           ## @cmd__oidmap
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	_OIDMAP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	xorl	%eax, %eax
	callq	_setup_git_directory
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_oidmap_init
	movq	_stdin@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-56(%rbp), %rdi
	callq	_strbuf_getline
	movq	_EOF@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_1
LBB0_34:
	leaq	-56(%rbp), %rdi
	callq	_strbuf_release
	leaq	-48(%rbp), %rdi
	movl	$1, %esi
	callq	_oidmap_free
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_DELIM@GOTPCREL(%rip), %r13
	leaq	-56(%rbp), %rbx
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_puts
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_free
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_stdin@GOTPCREL(%rip), %r15
	movq	_EOF@GOTPCREL(%rip), %r12
	leaq	-56(%rbp), %rbx
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_strbuf_getline
	cmpq	(%r12), %rax
	je	LBB0_34
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_28 Depth 2
	movq	-56(%rbp), %rdi
	movl	(%r13), %esi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_33
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	cmpb	$35, (%rax)
	je	LBB0_33
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	xorl	%edi, %edi
	callq	_strtok
	movq	%rax, %r12
	movl	$0, %r15d
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	xorl	%edi, %edi
	callq	_strtok
	movq	%rax, %r15
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-64(%rbp), %r14
	movq	%r14, %rsi
	callq	_get_oid
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_FLEX_ALLOC_STR
	leaq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_oidcpy
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_oidmap_put
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rdi
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	jmp	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_get_oid
	testq	%rax, %rax
	jne	LBB0_10
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_oidmap_get
	leaq	L_.str.2(%rip), %rdi
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rdi
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	_puts
	jmp	LBB0_32
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	leaq	-64(%rbp), %r15
	jne	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_24
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_32
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_26
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rsi
	jmp	LBB0_31
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_oidmap_remove
	jmp	LBB0_12
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_oidmap_iter_init
	movq	%r15, %rdi
	callq	_oidmap_iter_next
	testq	%rax, %rax
	leaq	L_.str.6(%rip), %r14
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	8(%rbx), %rdi
	callq	_oid_to_hex
	movq	(%rbx), %rdx
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%r15, %rdi
	callq	_oidmap_iter_next
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_28
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.comm	_OIDMAP_INIT,4,2                ## @OIDMAP_INIT
	.comm	_stdin,4,2                      ## @stdin
	.comm	_EOF,8,3                        ## @EOF
	.comm	_DELIM,4,2                      ## @DELIM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"put"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown oid: %s\n"

	.comm	_name,4,2                       ## @name
L_.str.2:                               ## @.str.2
	.asciz	"NULL"

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"%s %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"Unknown command %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__oidmap                    ; -- Begin function cmd__oidmap
	.p2align	2
_cmd__oidmap:                           ; @cmd__oidmap
	.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
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _OIDMAP_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OIDMAP_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	bl	_setup_git_directory
	add	x0, sp, #16
	mov	w1, #0
	bl	_oidmap_init
Lloh6:
	adrp	x22, _stdin@GOTPAGE
Lloh7:
	ldr	x22, [x22, _stdin@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x0, sp, #24
	bl	_strbuf_getline
Lloh8:
	adrp	x21, _EOF@GOTPAGE
Lloh9:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_1:
	add	x0, sp, #24
	bl	_strbuf_release
	add	x0, sp, #16
	mov	w1, #1
	bl	_oidmap_free
	mov	w0, #0
	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
LBB0_2:
Lloh10:
	adrp	x20, _DELIM@GOTPAGE
Lloh11:
	ldr	x20, [x20, _DELIM@GOTPAGEOFF]
Lloh12:
	adrp	x19, l_.str@PAGE
Lloh13:
	add	x19, x19, l_.str@PAGEOFF
Lloh14:
	adrp	x23, l_.str.6@PAGE
Lloh15:
	add	x23, x23, l_.str.6@PAGEOFF
                                        ; implicit-def: $x26
Lloh16:
	adrp	x25, l_.str.1@PAGE
Lloh17:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_7 Depth=1
Lloh18:
	adrp	x8, _name@GOTPAGE
Lloh19:
	ldr	x8, [x8, _name@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x26
	mov	x2, x24
	bl	_FLEX_ALLOC_STR
	add	x0, x26, #8
	add	x1, sp, #8
	bl	_oidcpy
	add	x0, sp, #16
	mov	x1, x26
	bl	_oidmap_put
	mov	x26, x0
	cbz	x0, LBB0_29
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x26]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_puts
	mov	x0, x26
	bl	_free
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x22]
	add	x0, sp, #24
	bl	_strbuf_getline
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_1
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
	ldr	x0, [sp, #24]
	ldr	w1, [x20]
	bl	_strtok
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x28, x0
	ldrb	w8, [x0]
	cmp	w8, #35
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x20]
	mov	x0, #0
	bl	_strtok
	mov	x27, x0
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x20]
	mov	x0, #0
	bl	_strtok
	mov	x24, x0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, #0
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x28
	bl	_strcmp
	cmp	w0, #0
	ccmp	x27, #0, #4, eq
	ccmp	x24, #0, #4, ne
	b.ne	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x28
	bl	_strcmp
	cmp	w0, #0
	ccmp	x27, #0, #4, eq
	b.ne	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x28
	bl	_strcmp
	cmp	w0, #0
	ccmp	x27, #0, #4, eq
	b.ne	LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x28
	bl	_strcmp
	cbz	w0, LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh27:
	adrp	x0, l_.str.7@PAGE
Lloh28:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x28
	b	LBB0_23
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #8
	mov	x0, x27
	bl	_get_oid
	cbnz	x0, LBB0_22
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #8
	mov	x0, x27
	bl	_get_oid
	cbnz	x0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_oidmap_get
	mov	x26, x0
	cbz	x0, LBB0_30
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x26]
	bl	_puts
	b	LBB0_6
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #8
	mov	x0, x27
	bl	_get_oid
	cbz	x0, LBB0_28
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	mov	x1, x27
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_printf
	b	LBB0_6
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_oidmap_iter_init
	add	x0, sp, #8
	bl	_oidmap_iter_next
	cbz	x0, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x0
LBB0_26:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x24, #8
	bl	_oid_to_hex
	mov	x1, x0
	ldr	x8, [x24]
	str	x8, [sp]
	mov	x0, x23
	bl	_printf
	add	x0, sp, #8
	bl	_oidmap_iter_next
	mov	x24, x0
	cbnz	x0, LBB0_26
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, #0
	b	LBB0_6
LBB0_28:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_oidmap_remove
	mov	x26, x0
	cbnz	x0, LBB0_4
LBB0_29:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_30:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_puts
	b	LBB0_6
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.comm	_OIDMAP_INIT,4,2                ; @OIDMAP_INIT
	.comm	_stdin,4,2                      ; @stdin
	.comm	_EOF,8,3                        ; @EOF
	.comm	_DELIM,4,2                      ; @DELIM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"put"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown oid: %s\n"

	.comm	_name,4,2                       ; @name
l_.str.2:                               ; @.str.2
	.asciz	"NULL"

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"%s %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"Unknown command %s\n"

.subsections_via_symbols
