	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ibv_open_device_1_0          ## -- Begin function __ibv_open_device_1_0
	.p2align	4, 0x90
___ibv_open_device_1_0:                 ## @__ibv_open_device_1_0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$40, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_ibv_open_device
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%r14, 32(%rbx)
	movq	%rax, 24(%rbx)
	movq	_poll_cq_wrapper_1_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_req_notify_cq_wrapper_1_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_post_send_wrapper_1_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_post_recv_wrapper_1_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_post_srq_recv_wrapper_1_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_free
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_poll_cq_wrapper_1_0,4,2        ## @poll_cq_wrapper_1_0
	.comm	_req_notify_cq_wrapper_1_0,4,2  ## @req_notify_cq_wrapper_1_0
	.comm	_post_send_wrapper_1_0,4,2      ## @post_send_wrapper_1_0
	.comm	_post_recv_wrapper_1_0,4,2      ## @post_recv_wrapper_1_0
	.comm	_post_srq_recv_wrapper_1_0,4,2  ## @post_srq_recv_wrapper_1_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ibv_open_device_1_0          ; -- Begin function __ibv_open_device_1_0
	.p2align	2
___ibv_open_device_1_0:                 ; @__ibv_open_device_1_0
	.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	x20, x0
	mov	w0, #40
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w0, [x20]
	bl	_ibv_open_device
	cbz	x0, LBB0_3
; %bb.2:
	stp	x0, x20, [x19, #24]
Lloh0:
	adrp	x8, _poll_cq_wrapper_1_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _poll_cq_wrapper_1_0@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh3:
	adrp	x8, _req_notify_cq_wrapper_1_0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _req_notify_cq_wrapper_1_0@GOTPAGEOFF]
Lloh5:
	adrp	x9, _post_send_wrapper_1_0@GOTPAGE
Lloh6:
	ldr	x9, [x9, _post_send_wrapper_1_0@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh9:
	adrp	x8, _post_recv_wrapper_1_0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _post_recv_wrapper_1_0@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _post_srq_recv_wrapper_1_0@GOTPAGE
Lloh13:
	ldr	x9, [x9, _post_srq_recv_wrapper_1_0@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_poll_cq_wrapper_1_0,4,2        ; @poll_cq_wrapper_1_0
	.comm	_req_notify_cq_wrapper_1_0,4,2  ; @req_notify_cq_wrapper_1_0
	.comm	_post_send_wrapper_1_0,4,2      ; @post_send_wrapper_1_0
	.comm	_post_recv_wrapper_1_0,4,2      ; @post_recv_wrapper_1_0
	.comm	_post_srq_recv_wrapper_1_0,4,2  ; @post_srq_recv_wrapper_1_0
.subsections_via_symbols
