	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_finish
_fetch_finish:                          ## @fetch_finish
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movl	$1, (%r14)
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.5:
	cmpq	$0, (%rbx)
	jne	LBB0_9
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
	cmpq	$0, (%rbx)
	jne	LBB0_9
LBB0_6:
	leaq	20(%r14), %rdi
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	callq	_string_list_lookup
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	(%rax), %r15
	movq	_commit_missing_in_sub@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%r15, %rdi
	callq	_oid_array_filter
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.8:
	movq	%r15, (%rbx)
	movq	8(%r14), %rdi
	movl	4(%r14), %esi
	incl	%esi
	movl	16(%r14), %edx
	callq	_ALLOC_GROW
	movq	8(%r14), %rax
	movslq	4(%r14), %rcx
	movq	%rbx, (%rax,%rcx,8)
	leal	1(%rcx), %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	_fetch_task_release
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"callback cookie bogus"

	.comm	_commit_missing_in_sub,4,2      ## @commit_missing_in_sub
	.no_dead_strip	_fetch_finish
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_finish
_fetch_finish:                          ; @fetch_finish
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x2
	cbz	w0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x20]
LBB0_2:
	cbz	x19, LBB0_5
; %bb.3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	cbnz	x8, LBB0_9
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
	ldr	x8, [x19]
	cbnz	x8, LBB0_9
LBB0_6:
	add	x0, x20, #20
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	bl	_string_list_lookup
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x21, [x0]
Lloh2:
	adrp	x8, _commit_missing_in_sub@GOTPAGE
Lloh3:
	ldr	x8, [x8, _commit_missing_in_sub@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x21
	bl	_oid_array_filter
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.8:
	str	x21, [x19]
	ldr	x0, [x20, #8]
	ldr	w8, [x20, #4]
	add	w1, w8, #1
	ldr	w2, [x20, #16]
	bl	_ALLOC_GROW
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20, #4]
	str	x19, [x8, x9, lsl #3]
	add	w8, w9, #1
	str	w8, [x20, #4]
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_fetch_task_release
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"callback cookie bogus"

	.comm	_commit_missing_in_sub,4,2      ; @commit_missing_in_sub
	.no_dead_strip	_fetch_finish
.subsections_via_symbols
