	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_promisor_remote_get_direct     ## -- Begin function promisor_remote_get_direct
	.p2align	4, 0x90
_promisor_remote_get_direct:            ## @promisor_remote_get_direct
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, -48(%rbp)
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_promisor_remote_init
	movq	_promisors@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_fetch_objects
	movl	$0, %r12d
	testq	%rax, %rax
	jns	LBB0_12
## %bb.3:
	xorl	%r15d, %r15d
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$1, %r13d
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	callq	_remove_fetched_oids
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %r13d
	movl	$1, %r15d
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rsi
	movl	(%rbx), %edi
	movl	%r13d, %edx
	callq	_fetch_objects
	testq	%rax, %rax
	js	LBB0_4
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	testl	%r15d, %r15d
	je	LBB0_14
LBB0_13:
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_14
LBB0_1:
	movl	$-1, %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	$-1, %r12d
	testl	%r15d, %r15d
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_promisors,8,3                  ## @promisors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_promisor_remote_get_direct     ; -- Begin function promisor_remote_get_direct
	.p2align	2
_promisor_remote_get_direct:            ; @promisor_remote_get_direct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	str	x1, [sp, #8]
	bl	_promisor_remote_init
Lloh0:
	adrp	x8, _promisors@GOTPAGE
Lloh1:
	ldr	x8, [x8, _promisors@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	cbz	x22, LBB0_9
; %bb.1:
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x21
	bl	_fetch_objects
	mov	w20, #0
	tbnz	x0, #63, LBB0_4
LBB0_2:
	mov	w19, #0
	cbz	w20, LBB0_10
LBB0_3:
	ldr	x0, [sp, #8]
	bl	_free
	b	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w21, #1
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_remove_fetched_oids
	cbz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	mov	w20, #1
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [sp, #8]
	ldr	w0, [x22]
	mov	x2, x21
	bl	_fetch_objects
	tbnz	x0, #63, LBB0_4
	b	LBB0_2
LBB0_9:
	mov	w19, #-1
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	mov	w19, #-1
	cbnz	w20, LBB0_3
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_promisors,8,3                  ; @promisors
.subsections_via_symbols
