	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_create_srq                ## -- Begin function rdma_create_srq
	.p2align	4, 0x90
_rdma_create_srq:                       ## @rdma_create_srq
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	movq	%rdx, %rsi
	movl	$24, %edx
	callq	_memcpy
	movq	_IBV_SRQ_INIT_ATTR_TYPE@GOTPCREL(%rip), %rax
	movq	_IBV_SRQ_INIT_ATTR_PD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -56(%rbp)
	movq	(%rbx), %rax
	movq	_IBV_QPT_XRC_RECV@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_IBV_SRQT_XRC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IBV_SRQT_BASIC@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	%r12, -48(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_rdma_create_srq_ex
	movl	%eax, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$24, %edx
	callq	_memcpy
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBV_SRQ_INIT_ATTR_TYPE,4,2     ## @IBV_SRQ_INIT_ATTR_TYPE
	.comm	_IBV_SRQ_INIT_ATTR_PD,4,2       ## @IBV_SRQ_INIT_ATTR_PD
	.comm	_IBV_QPT_XRC_RECV,8,3           ## @IBV_QPT_XRC_RECV
	.comm	_IBV_SRQT_XRC,4,2               ## @IBV_SRQT_XRC
	.comm	_IBV_SRQT_BASIC,4,2             ## @IBV_SRQT_BASIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_create_srq                ; -- Begin function rdma_create_srq
	.p2align	2
_rdma_create_srq:                       ; @rdma_create_srq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x0, sp, #8
	mov	x1, x2
	mov	w2, #24
	bl	_memcpy
Lloh0:
	adrp	x8, _IBV_SRQ_INIT_ATTR_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBV_SRQ_INIT_ATTR_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IBV_SRQ_INIT_ATTR_PD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IBV_SRQ_INIT_ATTR_PD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #8]
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _IBV_QPT_XRC_RECV@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IBV_QPT_XRC_RECV@GOTPAGEOFF]
Lloh8:
	adrp	x10, _IBV_SRQT_XRC@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IBV_SRQT_XRC@GOTPAGEOFF]
Lloh10:
	adrp	x11, _IBV_SRQT_BASIC@GOTPAGE
Lloh11:
	ldr	x11, [x11, _IBV_SRQT_BASIC@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	x20, [sp, #16]
	add	x1, sp, #8
	mov	x0, x21
	bl	_rdma_create_srq_ex
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #24
	bl	_memcpy
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh12
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IBV_SRQ_INIT_ATTR_TYPE,4,2     ; @IBV_SRQ_INIT_ATTR_TYPE
	.comm	_IBV_SRQ_INIT_ATTR_PD,4,2       ; @IBV_SRQ_INIT_ATTR_PD
	.comm	_IBV_QPT_XRC_RECV,8,3           ; @IBV_QPT_XRC_RECV
	.comm	_IBV_SRQT_XRC,4,2               ; @IBV_SRQT_XRC
	.comm	_IBV_SRQT_BASIC,4,2             ; @IBV_SRQT_BASIC
.subsections_via_symbols
