	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_create_ah_from_wc           ## -- Begin function ib_create_ah_from_wc
	.p2align	4, 0x90
_ib_create_ah_from_wc:                  ## @ib_create_ah_from_wc
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rax
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	-24(%rbp), %r8
	movl	%ecx, %esi
	movq	%rax, %rcx
	callq	_ib_init_ah_attr_from_wc
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_2:
	movq	_RDMA_CREATE_AH_SLEEPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_rdma_create_ah
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_rdma_destroy_ah_attr
LBB0_3:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_CREATE_AH_SLEEPABLE,4,2   ## @RDMA_CREATE_AH_SLEEPABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_create_ah_from_wc           ; -- Begin function ib_create_ah_from_wc
	.p2align	2
_ib_create_ah_from_wc:                  ; @ib_create_ah_from_wc
	.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	x8, x2
	mov	x2, x1
	mov	x19, x0
	ldr	w0, [x0]
	add	x4, sp, #8
	mov	x1, x3
	mov	x3, x8
	bl	_ib_init_ah_attr_from_wc
	cbz	w0, LBB0_2
; %bb.1:
	bl	_ERR_PTR
	mov	x19, x0
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _RDMA_CREATE_AH_SLEEPABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_CREATE_AH_SLEEPABLE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_rdma_create_ah
	mov	x19, x0
	add	x0, sp, #8
	bl	_rdma_destroy_ah_attr
LBB0_3:
	mov	x0, x19
	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	_RDMA_CREATE_AH_SLEEPABLE,4,2   ; @RDMA_CREATE_AH_SLEEPABLE
.subsections_via_symbols
