	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibv_cmd_get_context            ## -- Begin function ibv_cmd_get_context
	.p2align	4, 0x90
_ibv_cmd_get_context:                   ## @ibv_cmd_get_context
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	_abi_ver@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_IB_USER_VERBS_MIN_ABI_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.1:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	%r8, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_GET_CONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rcx
	callq	_IBV_INIT_CMD_RESP
	movl	8(%r14), %edi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_write
	cmpq	%rbx, %rax
	jne	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_VALGRIND_MAKE_MEM_DEFINED
	movl	4(%r12), %eax
	movl	%eax, 4(%r14)
	movl	(%r12), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_abi_ver,8,3                    ## @abi_ver
	.comm	_IB_USER_VERBS_MIN_ABI_VERSION,8,3 ## @IB_USER_VERBS_MIN_ABI_VERSION
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_GET_CONTEXT,4,2                ## @GET_CONTEXT
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibv_cmd_get_context            ; -- Begin function ibv_cmd_get_context
	.p2align	2
_ibv_cmd_get_context:                   ; @ibv_cmd_get_context
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _abi_ver@GOTPAGE
Lloh1:
	ldr	x8, [x8, _abi_ver@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IB_USER_VERBS_MIN_ABI_VERSION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_USER_VERBS_MIN_ABI_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
Lloh8:
	adrp	x8, _GET_CONTEXT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GET_CONTEXT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x1
	mov	x1, x22
	bl	_IBV_INIT_CMD_RESP
	ldr	w0, [x20, #8]
	mov	x1, x23
	mov	x2, x22
	bl	_write
	cmp	x0, x22
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_VALGRIND_MAKE_MEM_DEFINED
	mov	w0, #0
	ldr	d0, [x19]
	str	d0, [x20]
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_abi_ver,8,3                    ; @abi_ver
	.comm	_IB_USER_VERBS_MIN_ABI_VERSION,8,3 ; @IB_USER_VERBS_MIN_ABI_VERSION
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_GET_CONTEXT,4,2                ; @GET_CONTEXT
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
