	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ds_init_bufs
_ds_init_bufs:                          ## @ds_init_bufs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rdi
	addq	$4, %rdi
	movl	$1, %esi
	callq	_calloc
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	20(%rbx), %edi
	movq	8(%rbx), %rax
	movl	16(%rax), %esi
	movq	8(%rax), %rdx
	callq	_rdma_reg_msgs
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	20(%rbx), %edi
	movl	16(%rbx), %esi
	movq	8(%rbx), %rax
	movq	(%rax), %rdx
	addq	$4, %rdx
	callq	_rdma_reg_msgs
	movq	%rax, %rcx
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	cmpq	$1, %rcx
	sbbl	%eax, %eax
	jmp	LBB0_4
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
LBB0_2:
	movl	$-1, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ds_init_bufs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ds_init_bufs
_ds_init_bufs:                          ; @ds_init_bufs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	add	x0, x8, #4
	mov	w1, #1
	bl	_calloc
	str	w0, [x19, #16]
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #20]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #16]
	ldr	x2, [x8, #8]
	bl	_rdma_reg_msgs
	str	x0, [x19, #24]
	cbz	x0, LBB0_4
; %bb.2:
	ldp	w1, w0, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	add	x2, x8, #4
	bl	_rdma_reg_msgs
	str	x0, [x19]
	cmp	x0, #0
	csetm	w0, eq
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ds_init_bufs
.subsections_via_symbols
