	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_raw_packet_qp_state
_query_raw_packet_qp_state:             ## @query_raw_packet_qp_state
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_MLX5_SQ_STATE_NA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_MLX5_RQ_STATE_NA@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, -36(%rbp)
	cmpq	$0, 8(%rsi)
	je	LBB0_2
## %bb.1:
	leaq	20(%rbx), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	callq	_query_raw_packet_qp_sq_state
	testl	%eax, %eax
	jne	LBB0_6
LBB0_2:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.3:
	leaq	16(%rbx), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_query_raw_packet_qp_rq_state
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movl	-36(%rbp), %r12d
LBB0_5:
	movl	-40(%rbp), %edi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_sqrq_state_to_qp_state
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_SQ_STATE_NA,4,2           ## @MLX5_SQ_STATE_NA
	.comm	_MLX5_RQ_STATE_NA,4,2           ## @MLX5_RQ_STATE_NA
	.no_dead_strip	_query_raw_packet_qp_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_raw_packet_qp_state
_query_raw_packet_qp_state:             ; @query_raw_packet_qp_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MLX5_SQ_STATE_NA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_SQ_STATE_NA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _MLX5_RQ_STATE_NA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_RQ_STATE_NA@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	str	w22, [sp, #8]
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x1, x20, #20
	add	x2, sp, #12
	mov	x0, x21
	bl	_query_raw_packet_qp_sq_state
	cbnz	w0, LBB0_6
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.3:
	add	x1, x20, #16
	add	x2, sp, #8
	mov	x0, x21
	bl	_query_raw_packet_qp_rq_state
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	w22, [sp, #8]
LBB0_5:
	ldr	w0, [sp, #12]
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_sqrq_state_to_qp_state
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_SQ_STATE_NA,4,2           ; @MLX5_SQ_STATE_NA
	.comm	_MLX5_RQ_STATE_NA,4,2           ; @MLX5_RQ_STATE_NA
	.no_dead_strip	_query_raw_packet_qp_state
.subsections_via_symbols
