	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_tx_qp
_get_tx_qp:                             ## @get_tx_qp
	.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, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movl	(%rax), %edi
	callq	_to_mdev
	movslq	(%r14), %r14
	movq	%rax, %rdi
	callq	_mlx5_ib_deth_sqpn_cap
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	(%rbx), %r14d
	jge	LBB0_3
## %bb.4:
	shlq	$3, %r14
	addq	8(%rbx), %r14
	movq	%r14, %rbx
	jmp	LBB0_5
LBB0_1:
	addq	$16, %rbx
LBB0_5:
	movq	(%rbx), %rax
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_tx_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_tx_qp
_get_tx_qp:                             ; @get_tx_qp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	mov	x21, x0
	ldr	x8, [x21, #16]!
	ldr	w0, [x8]
	bl	_to_mdev
	ldrsw	x20, [x20]
	bl	_mlx5_ib_deth_sqpn_cap
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x19]
	cmp	w20, w8
	b.ge	LBB0_4
; %bb.2:
	ldr	x8, [x19, #8]
	add	x21, x8, x20, lsl #3
LBB0_3:
	ldr	x0, [x21]
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_tx_qp
.subsections_via_symbols
