	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_ib_dev_up                ## -- Begin function ipoib_ib_dev_up
	.p2align	4, 0x90
_ipoib_ib_dev_up:                       ## @ipoib_ib_dev_up
	.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
	callq	_ipoib_pkey_dev_check_presence
	movq	_IPOIB_PKEY_ASSIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_IPOIB_FLAG_OPER_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ipoib_mcast_start_thread       ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ipoib_dbg
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_PKEY_ASSIGNED,4,2        ## @IPOIB_PKEY_ASSIGNED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PKEY is not assigned.\n"

	.comm	_IPOIB_FLAG_OPER_UP,4,2         ## @IPOIB_FLAG_OPER_UP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_ib_dev_up                ; -- Begin function ipoib_ib_dev_up
	.p2align	2
_ipoib_ib_dev_up:                       ; @ipoib_ib_dev_up
	.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
	bl	_ipoib_pkey_dev_check_presence
Lloh0:
	adrp	x8, _IPOIB_PKEY_ASSIGNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_PKEY_ASSIGNED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IPOIB_FLAG_OPER_UP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPOIB_FLAG_OPER_UP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ipoib_mcast_start_thread
LBB0_2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ipoib_dbg
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_PKEY_ASSIGNED,4,2        ; @IPOIB_PKEY_ASSIGNED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PKEY is not assigned.\n"

	.comm	_IPOIB_FLAG_OPER_UP,4,2         ; @IPOIB_FLAG_OPER_UP
.subsections_via_symbols
