	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_node
_init_node:                             ## @init_node
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_ibv_alloc_pd
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_message_count@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	leal	(%rax,%rax), %ecx
	testl	%eax, %eax
	movl	$2, %esi
	cmovnel	%ecx, %esi
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	xorl	%r14d, %r14d
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ibv_create_cq
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	leaq	-80(%rbp), %r15
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	(%r12), %eax
	testl	%eax, %eax
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, -48(%rbp)
	movl	%ecx, -44(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -40(%rbp)
	movq	%rbx, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	_IBV_QPT_UD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -76(%rbp)
	movl	%eax, -80(%rbp)
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	movq	%r15, %rdx
	callq	_rdma_create_qp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	callq	_create_message
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	%ebx, %r14d
	jmp	LBB0_8
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	leaq	L_str(%rip), %rdi
	jmp	LBB0_7
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	leaq	L_str.4(%rip), %rdi
LBB0_7:
	callq	_puts
LBB0_8:
	movl	%r14d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rdi
	callq	_perror
	movl	%r15d, %r14d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_message_count,4,2              ## @message_count
	.comm	_IBV_QPT_UD,4,2                 ## @IBV_QPT_UD
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"mckey: unable to create QP"

L_.str.3:                               ## @.str.3
	.asciz	"mckey: failed to create messages: %d\n"

L_str:                                  ## @str
	.asciz	"mckey: unable to allocate PD"

L_str.4:                                ## @str.4
	.asciz	"mckey: unable to create CQ"

	.no_dead_strip	_init_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_node
_init_node:                             ; @init_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	w0, [x8]
	bl	_ibv_alloc_pd
	str	w0, [x19]
	cbz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x20, _message_count@GOTPAGE
Lloh1:
	ldr	x20, [x20, _message_count@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w9, w8, #1
	mov	w10, #2
	cmp	w8, #0
	csel	w1, w10, w9, eq
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	x2, x19
	mov	x3, #0
	mov	w4, #0
	bl	_ibv_create_cq
	str	w0, [x19, #16]
	cbz	w0, LBB0_6
; %bb.2:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	w8, [x20]
	cmp	w8, #0
	csinc	w8, w8, wzr, ne
	stp	w8, w8, [sp, #48]
	movi.2s	v0, #1
	str	d0, [sp, #56]
	stp	xzr, x19, [sp, #32]
Lloh2:
	adrp	x8, _IBV_QPT_UD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IBV_QPT_UD@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	ldr	w8, [x19, #16]
	stp	w8, w9, [sp, #20]
	str	w8, [sp, #16]
	ldr	x0, [x19, #8]
	ldr	w1, [x19]
	add	x2, sp, #16
	bl	_rdma_create_qp
	cbnz	w0, LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_create_message
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.4:
	str	x20, [sp]
Lloh5:
	adrp	x0, l_.str.3@PAGE
Lloh6:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	b	LBB0_8
LBB0_5:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w20, w8
Lloh10:
	adrp	x0, l_str@PAGE
Lloh11:
	add	x0, x0, l_str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
Lloh15:
	adrp	x0, l_str.4@PAGE
Lloh16:
	add	x0, x0, l_str.4@PAGEOFF
LBB0_7:
	bl	_puts
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	mov	x20, x0
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_perror
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_message_count,4,2              ; @message_count
	.comm	_IBV_QPT_UD,4,2                 ; @IBV_QPT_UD
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"mckey: unable to create QP"

l_.str.3:                               ; @.str.3
	.asciz	"mckey: failed to create messages: %d\n"

l_str:                                  ; @str
	.asciz	"mckey: unable to allocate PD"

l_str.4:                                ; @str.4
	.asciz	"mckey: unable to create CQ"

	.no_dead_strip	_init_node
.subsections_via_symbols
