	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_ib_dev_open_default      ## -- Begin function ipoib_ib_dev_open_default
	.p2align	4, 0x90
_ipoib_ib_dev_open_default:             ## @ipoib_ib_dev_open_default
	.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, %rbx
	callq	_ipoib_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ipoib_init_qp
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_ipoib_ib_post_receives
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_5:
	movq	%rbx, %rdi
	callq	_ipoib_cm_dev_open
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
LBB0_2:
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ipoib_warn
	movl	$-1, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	_IPOIB_FLAG_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_ipoib_napi_enable
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ipoib_init_qp returned %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"ipoib_ib_post_receives returned %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"ipoib_cm_dev_open returned %d\n"

	.comm	_IPOIB_FLAG_INITIALIZED,4,2     ## @IPOIB_FLAG_INITIALIZED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_ib_dev_open_default      ; -- Begin function ipoib_ib_dev_open_default
	.p2align	2
_ipoib_ib_dev_open_default:             ; @ipoib_ib_dev_open_default
	.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
	bl	_ipoib_priv
	mov	x19, x0
	mov	x0, x20
	bl	_ipoib_init_qp
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	mov	x0, x20
	bl	_ipoib_ib_post_receives
	cbz	w0, LBB0_4
; %bb.3:
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_ipoib_cm_dev_open
	cbz	w0, LBB0_8
; %bb.5:
	mov	x2, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_ipoib_warn
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh6:
	adrp	x8, _IPOIB_FLAG_INITIALIZED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IPOIB_FLAG_INITIALIZED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_ipoib_napi_enable
LBB0_10:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ipoib_init_qp returned %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"ipoib_ib_post_receives returned %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"ipoib_cm_dev_open returned %d\n"

	.comm	_IPOIB_FLAG_INITIALIZED,4,2     ; @IPOIB_FLAG_INITIALIZED
.subsections_via_symbols
