	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mthca_free_wqe_buf
_mthca_free_wqe_buf:                    ## @mthca_free_wqe_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	16(%rsi), %eax
	movb	20(%rsi), %cl
	shll	%cl, %eax
	movq	%rdi, %r14
	movslq	%eax, %rdi
	addq	24(%rsi), %rdi
	callq	_PAGE_ALIGN
	leaq	12(%rbx), %rdx
	movl	8(%rbx), %ecx
	leaq	4(%rbx), %r8
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_mthca_buf_free
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mthca_free_wqe_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mthca_free_wqe_buf
_mthca_free_wqe_buf:                    ; @mthca_free_wqe_buf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #24]
	ldp	w9, w10, [x1, #16]
	lsl	w9, w9, w10
	add	x0, x8, w9, sxtw
	bl	_PAGE_ALIGN
	mov	x1, x0
	add	x2, x19, #12
	ldr	w3, [x19, #8]
	add	x4, x19, #4
	mov	x0, x20
	bl	_mthca_buf_free
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mthca_free_wqe_buf
.subsections_via_symbols
