	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibv_cmd_create_srq             ## -- Begin function ibv_cmd_create_srq
	.p2align	4, 0x90
_ibv_cmd_create_srq:                    ## @ibv_cmd_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	16(%rbp), %r8
	movq	_CREATE_SRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rcx, %rdi
	movq	%r14, %rsi
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r9, %rcx
	callq	_IBV_INIT_CMD_RESP
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, (%r12)
	movl	8(%rbx), %eax
	movl	%eax, 20(%r12)
	movl	4(%r13), %eax
	movl	%eax, 16(%r12)
	movl	(%r13), %eax
	movl	%eax, 12(%r12)
	movl	8(%r13), %eax
	movl	%eax, 8(%r12)
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_write
	cmpq	%r14, %rax
	jne	LBB0_1
## %bb.2:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	16(%rbp), %r14
	movq	%r14, %rsi
	callq	_VALGRIND_MAKE_MEM_DEFINED
	movl	8(%r15), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 8(%rcx)
	movq	(%rbx), %rax
	movq	%rax, (%rcx)
	movq	_abi_ver@GOTPCREL(%rip), %rax
	cmpl	$6, (%rax)
	jl	LBB0_4
## %bb.3:
	movl	4(%r15), %eax
	movl	%eax, 4(%r13)
	movl	(%r15), %eax
	movl	%eax, (%r13)
	jmp	LBB0_5
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_4:
	leaq	12(%r15), %rdi
	addq	$4, %r15
	addq	$-12, %r14
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_memmove
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CREATE_SRQ,4,2                 ## @CREATE_SRQ
	.comm	_errno,4,2                      ## @errno
	.comm	_abi_ver,4,2                    ## @abi_ver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibv_cmd_create_srq             ; -- Begin function ibv_cmd_create_srq
	.p2align	2
_ibv_cmd_create_srq:                    ; @ibv_cmd_create_srq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x20, x5
	mov	x24, x4
	mov	x25, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _CREATE_SRQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CREATE_SRQ@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x3
	mov	x1, x4
	mov	x3, x5
	mov	x4, x6
	bl	_IBV_INIT_CMD_RESP
	str	x22, [x25]
	ldr	w8, [x23, #8]
	str	w8, [x25, #20]
	ldr	d0, [x21]
	stur	d0, [x25, #12]
	ldr	w8, [x21, #8]
	str	w8, [x25, #8]
	ldr	x8, [x23]
	ldr	w0, [x8]
	mov	x1, x25
	mov	x2, x24
	bl	_write
	cmp	x0, x24
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_VALGRIND_MAKE_MEM_DEFINED
	ldr	w8, [x20, #8]
	str	w8, [x22, #8]
	ldr	x8, [x23]
	str	x8, [x22]
Lloh3:
	adrp	x8, _abi_ver@GOTPAGE
Lloh4:
	ldr	x8, [x8, _abi_ver@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #6
	b.lt	LBB0_4
; %bb.2:
	mov	w0, #0
	ldr	d0, [x20]
	str	d0, [x21]
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	add	x0, x20, #12
	add	x1, x20, #4
	sub	x2, x19, #12
	bl	_memmove
	mov	w0, #0
LBB0_5:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CREATE_SRQ,4,2                 ; @CREATE_SRQ
	.comm	_errno,4,2                      ; @errno
	.comm	_abi_ver,4,2                    ; @abi_ver
.subsections_via_symbols
