	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_pkey_dev_check_presence
_ipoib_pkey_dev_check_presence:         ## @ipoib_pkey_dev_check_presence
	.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
	movl	$0, -12(%rbp)
	movl	12(%rdi), %edi
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	leaq	-12(%rbp), %rcx
	callq	_ib_find_pkey
	movq	_IPOIB_PKEY_ASSIGNED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_clear_bit
	jmp	LBB0_3
LBB0_2:
	callq	_set_bit
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_PKEY_ASSIGNED,4,2        ## @IPOIB_PKEY_ASSIGNED
	.no_dead_strip	_ipoib_pkey_dev_check_presence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_pkey_dev_check_presence
_ipoib_pkey_dev_check_presence:         ; @ipoib_pkey_dev_check_presence
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	wzr, [sp, #12]
	ldr	w0, [x0, #12]
	ldp	w2, w1, [x19, #4]
	add	x3, sp, #12
	bl	_ib_find_pkey
	mov	x8, x0
Lloh0:
	adrp	x9, _IPOIB_PKEY_ASSIGNED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPOIB_PKEY_ASSIGNED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	mov	x1, x19
	cbz	x8, LBB0_2
; %bb.1:
	bl	_clear_bit
	b	LBB0_3
LBB0_2:
	bl	_set_bit
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_PKEY_ASSIGNED,4,2        ; @IPOIB_PKEY_ASSIGNED
	.no_dead_strip	_ipoib_pkey_dev_check_presence
.subsections_via_symbols
