	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_get_bth_pkey
_cm_get_bth_pkey:                       ## @cm_get_bth_pkey
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	8(%rcx), %rdx
	movq	(%rdx), %rbx
	movl	(%rcx), %r14d
	movq	(%rax), %rax
	movl	(%rax), %r15d
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_ib_get_cached_pkey
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_dev_warn_ratelimited
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movl	-28(%rbp), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ib_cm: Couldn't retrieve pkey for incoming request (port %d, pkey index %d). %d\n"

	.no_dead_strip	_cm_get_bth_pkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_get_bth_pkey
_cm_get_bth_pkey:                       ; @cm_get_bth_pkey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldp	x9, x8, [x0]
	ldr	x10, [x8, #8]
	ldr	x21, [x10]
	ldr	w19, [x8]
	ldr	x8, [x9]
	ldr	w20, [x8]
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_ib_get_cached_pkey
	cbz	w0, LBB0_2
; %bb.1:
	mov	x4, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	mov	x3, x20
	bl	_dev_warn_ratelimited
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	w0, [sp, #12]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ib_cm: Couldn't retrieve pkey for incoming request (port %d, pkey index %d). %d\n"

	.no_dead_strip	_cm_get_bth_pkey
.subsections_via_symbols
