	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__sha1_array                ## -- Begin function cmd__sha1_array
	.p2align	4, 0x90
_cmd__sha1_array:                       ## @cmd__sha1_array
	.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	_OID_ARRAY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	_stdin@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-64(%rbp), %rdi
	callq	_strbuf_getline
	movq	_EOF@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_1
LBB0_17:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %r15
	leaq	-56(%rbp), %r14
	leaq	-72(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_oid_array_append
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %esi
	leaq	-64(%rbp), %rdi
	callq	_strbuf_getline
	cmpq	(%r13), %rax
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_die
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_oid_array_lookup
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
	jmp	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r14
	movq	%r13, %r15
	movq	-64(%rbp), %r13
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.6(%rip), %rdi
	movq	%r13, %rsi
	callq	_die
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	callq	_oid_array_clear
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_print_oid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	callq	_oid_array_for_each_unique
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r13
	movq	%r14, %r15
	leaq	-56(%rbp), %r14
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_OID_ARRAY_INIT,4,2             ## @OID_ARRAY_INIT
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.comm	_stdin,4,2                      ## @stdin
	.comm	_EOF,8,3                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"append "

L_.str.1:                               ## @.str.1
	.asciz	"not a hexadecimal SHA1: %s"

L_.str.2:                               ## @.str.2
	.asciz	"lookup "

L_.str.3:                               ## @.str.3
	.asciz	"%d\n"

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

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

	.comm	_print_oid,4,2                  ## @print_oid
L_.str.6:                               ## @.str.6
	.asciz	"unknown command: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__sha1_array                ; -- Begin function cmd__sha1_array
	.p2align	2
_cmd__sha1_array:                       ; @cmd__sha1_array
	.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, _OID_ARRAY_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OID_ARRAY_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STRBUF_INIT@GOTPAGEOFF]
	str	w8, [sp, #24]
Lloh5:
	ldr	x8, [x9]
	str	x8, [sp, #16]
Lloh6:
	adrp	x27, _stdin@GOTPAGE
Lloh7:
	ldr	x27, [x27, _stdin@GOTPAGEOFF]
	ldr	w1, [x27]
	add	x0, sp, #16
	bl	_strbuf_getline
Lloh8:
	adrp	x28, _EOF@GOTPAGE
Lloh9:
	ldr	x28, [x28, _EOF@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_1:
	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	x19, l_.str@PAGE
Lloh11:
	add	x19, x19, l_.str@PAGEOFF
Lloh12:
	adrp	x20, l_.str.2@PAGE
Lloh13:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh14:
	adrp	x21, l_.str.4@PAGE
Lloh15:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh16:
	adrp	x22, l_.str.5@PAGE
Lloh17:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh18:
	adrp	x23, l_.str.6@PAGE
Lloh19:
	add	x23, x23, l_.str.6@PAGEOFF
Lloh20:
	adrp	x24, l_.str.3@PAGE
Lloh21:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh22:
	adrp	x25, l_.str.1@PAGE
Lloh23:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #24
	mov	x1, sp
	bl	_oid_array_append
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x27]
	add	x0, sp, #16
	bl	_strbuf_getline
	ldr	x8, [x28]
	cmp	x0, x8
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #16]
	add	x2, sp, #8
	mov	x1, x19
	bl	_skip_prefix
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #8]
	mov	x1, sp
	bl	_get_oid_hex
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x25
	bl	_die
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #16]
	add	x2, sp, #8
	mov	x1, x20
	bl	_skip_prefix
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #8]
	mov	x1, sp
	bl	_get_oid_hex
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x25
	bl	_die
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #24
	mov	x1, sp
	bl	_oid_array_lookup
	mov	x1, x0
	mov	x0, x24
	bl	_printf
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x26, [sp, #16]
	mov	x0, x26
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x22
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x26
	bl	_die
	b	LBB0_4
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #24
	bl	_oid_array_clear
	b	LBB0_4
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh24:
	adrp	x8, _print_oid@GOTPAGE
Lloh25:
	ldr	x8, [x8, _print_oid@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	add	x0, sp, #24
	mov	x2, #0
	bl	_oid_array_for_each_unique
	b	LBB0_4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_OID_ARRAY_INIT,4,2             ; @OID_ARRAY_INIT
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.comm	_stdin,4,2                      ; @stdin
	.comm	_EOF,8,3                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"append "

l_.str.1:                               ; @.str.1
	.asciz	"not a hexadecimal SHA1: %s"

l_.str.2:                               ; @.str.2
	.asciz	"lookup "

l_.str.3:                               ; @.str.3
	.asciz	"%d\n"

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

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

	.comm	_print_oid,4,2                  ; @print_oid
l_.str.6:                               ; @.str.6
	.asciz	"unknown command: %s"

.subsections_via_symbols
