	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_pkey_dev_check_presence  ## -- Begin function ipoib_pkey_dev_check_presence
	.p2align	4, 0x90
_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_ipoib_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_netdev_priv
	movl	(%rbx), %edx
	testl	$32767, %edx                    ## imm = 0x7FFF
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	movl	12(%rbx), %esi
	movl	16(%rbx), %edi
	leaq	8(%rbx), %r12
	movq	%r12, %rcx
	callq	_ib_find_pkey
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	movq	_IPOIB_PKEY_ASSIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$4, %rbx
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
LBB0_2:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	*%rax
LBB0_4:
	movq	_IPOIB_PKEY_ASSIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$4, %rbx
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_PKEY_ASSIGNED,4,2        ## @IPOIB_PKEY_ASSIGNED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_pkey_dev_check_presence  ; -- Begin function ipoib_pkey_dev_check_presence
	.p2align	2
_ipoib_pkey_dev_check_presence:         ; @ipoib_pkey_dev_check_presence
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	bl	_ipoib_priv
	mov	x19, x0
	mov	x0, x20
	bl	_netdev_priv
	ldr	w2, [x19]
	tst	w2, #0x7fff
	b.eq	LBB0_2
; %bb.1:
	mov	x21, x0
	ldp	w1, w0, [x19, #12]
	add	x22, x19, #8
	mov	x3, x22
	bl	_ib_find_pkey
	cbz	x0, LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _IPOIB_PKEY_ASSIGNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_PKEY_ASSIGNED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_clear_bit
LBB0_3:
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w1, [x22]
	mov	x0, x20
	blr	x8
LBB0_5:
Lloh3:
	adrp	x8, _IPOIB_PKEY_ASSIGNED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPOIB_PKEY_ASSIGNED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_set_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_PKEY_ASSIGNED,4,2        ; @IPOIB_PKEY_ASSIGNED
.subsections_via_symbols
