	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_ib_post_pv_qp_buf
_mlx4_ib_post_pv_qp_buf:                ## @mlx4_ib_post_pv_qp_buf
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rsi), %rax
	movslq	%edx, %r12
	movl	(%rax,%r12,4), %eax
	movl	%eax, -40(%rbp)
	movl	$4, -48(%rbp)
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	$0, -56(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -64(%rbp)
	movl	$1, -72(%rbp)
	movq	_MLX4_TUN_WRID_RECV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	orl	%r12d, %ebx
	movl	16(%rsi), %edi
	callq	_MLX4_TUN_SET_WRID_QPN
	orl	%ebx, %eax
	movl	%eax, -68(%rbp)
	movl	(%r14), %edi
	movq	8(%r15), %rax
	movl	(%rax,%r12,4), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_ib_dma_sync_single_for_device
	movq	(%r15), %rdi
	leaq	-72(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	callq	_ib_post_recv
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QPT_UD,8,3                  ## @IB_QPT_UD
	.comm	_MLX4_TUN_WRID_RECV,4,2         ## @MLX4_TUN_WRID_RECV
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_mlx4_ib_post_pv_qp_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_ib_post_pv_qp_buf
_mlx4_ib_post_pv_qp_buf:                ; @mlx4_ib_post_pv_qp_buf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	sbfiz	x21, x2, #2, #32
	ldr	w8, [x8, x21]
	mov	w9, #4
	str	w8, [sp, #40]
	str	w9, [sp, #32]
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	str	w8, [sp, #36]
	add	x8, sp, #32
	stp	x8, xzr, [sp, #16]
	mov	w8, #1
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _MLX4_TUN_WRID_RECV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_TUN_WRID_RECV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w22, w8, w2
	ldr	w0, [x1, #16]
	bl	_MLX4_TUN_SET_WRID_QPN
	orr	w8, w22, w0
	str	w8, [sp, #12]
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x21]
Lloh3:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_ib_dma_sync_single_for_device
	ldr	x0, [x19]
	add	x1, sp, #8
	mov	x2, sp
	bl	_ib_post_recv
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QPT_UD,8,3                  ; @IB_QPT_UD
	.comm	_MLX4_TUN_WRID_RECV,4,2         ; @MLX4_TUN_WRID_RECV
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_mlx4_ib_post_pv_qp_buf
.subsections_via_symbols
