	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function devx_is_general_cmd
_devx_is_general_cmd:                   ## @devx_is_general_cmd
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_general_obj_in_cmd_hdr@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_MLX5_GET
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movq	_vhca_tunnel_commands@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN_64
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	movq	_vhca_tunnel_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_MLX5_GET
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_5
LBB0_2:
	movq	_MLX5_CMD_OP_GENERAL_START@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jl	LBB0_4
## %bb.3:
	movq	_MLX5_CMD_OP_GENERAL_END@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpl	(%rcx), %r14d
	jl	LBB0_5
LBB0_4:
	andl	$-16, %r14d
	xorl	%eax, %eax
	cmpl	$128, %r14d
	sete	%al
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_general_obj_in_cmd_hdr,4,2     ## @general_obj_in_cmd_hdr
	.comm	_vhca_tunnel_commands,4,2       ## @vhca_tunnel_commands
	.comm	_vhca_tunnel_id,4,2             ## @vhca_tunnel_id
	.comm	_MLX5_CMD_OP_GENERAL_START,4,2  ## @MLX5_CMD_OP_GENERAL_START
	.comm	_MLX5_CMD_OP_GENERAL_END,4,2    ## @MLX5_CMD_OP_GENERAL_END
	.comm	_opcode,4,2                     ## @opcode
	.no_dead_strip	_devx_is_general_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function devx_is_general_cmd
_devx_is_general_cmd:                   ; @devx_is_general_cmd
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _general_obj_in_cmd_hdr@GOTPAGE
Lloh1:
	ldr	x22, [x22, _general_obj_in_cmd_hdr@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x20
	bl	_MLX5_GET
	mov	x19, x0
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _vhca_tunnel_commands@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vhca_tunnel_commands@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN_64
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x22]
Lloh5:
	adrp	x8, _vhca_tunnel_id@GOTPAGE
Lloh6:
	ldr	x8, [x8, _vhca_tunnel_id@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_GET
	cbnz	w0, LBB0_4
LBB0_2:
Lloh8:
	adrp	x8, _MLX5_CMD_OP_GENERAL_START@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX5_CMD_OP_GENERAL_START@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _MLX5_CMD_OP_GENERAL_END@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MLX5_CMD_OP_GENERAL_END@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w19, w8
	ccmp	w19, w9, #0, ge
	b.lt	LBB0_4
; %bb.3:
	and	w8, w19, #0xfffffff0
	cmp	w8, #128
	cset	w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #1
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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_general_obj_in_cmd_hdr,4,2     ; @general_obj_in_cmd_hdr
	.comm	_vhca_tunnel_commands,4,2       ; @vhca_tunnel_commands
	.comm	_vhca_tunnel_id,4,2             ; @vhca_tunnel_id
	.comm	_MLX5_CMD_OP_GENERAL_START,4,2  ; @MLX5_CMD_OP_GENERAL_START
	.comm	_MLX5_CMD_OP_GENERAL_END,4,2    ; @MLX5_CMD_OP_GENERAL_END
	.comm	_opcode,4,2                     ; @opcode
	.no_dead_strip	_devx_is_general_cmd
.subsections_via_symbols
