	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_get_q_logical_state      ## -- Begin function bnx2x_get_q_logical_state
	.p2align	4, 0x90
_bnx2x_get_q_logical_state:             ## @bnx2x_get_q_logical_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_5
## %bb.1:
	movl	$247, %ecx
	btl	%eax, %ecx
	jae	LBB0_3
## %bb.2:
	movq	_BNX2X_Q_LOGICAL_STATE_STOPPED@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_BNX2X_Q_LOGICAL_STATE_ACTIVE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_Q_LOGICAL_STATE_ACTIVE,4,2 ## @BNX2X_Q_LOGICAL_STATE_ACTIVE
	.comm	_BNX2X_Q_LOGICAL_STATE_STOPPED,4,2 ## @BNX2X_Q_LOGICAL_STATE_STOPPED
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_get_q_logical_state      ; -- Begin function bnx2x_get_q_logical_state
	.p2align	2
_bnx2x_get_q_logical_state:             ; @bnx2x_get_q_logical_state
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_4
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #247
	tst	w8, w9
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _BNX2X_Q_LOGICAL_STATE_STOPPED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_Q_LOGICAL_STATE_STOPPED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh3:
	adrp	x8, _BNX2X_Q_LOGICAL_STATE_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_Q_LOGICAL_STATE_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_Q_LOGICAL_STATE_ACTIVE,4,2 ; @BNX2X_Q_LOGICAL_STATE_ACTIVE
	.comm	_BNX2X_Q_LOGICAL_STATE_STOPPED,4,2 ; @BNX2X_Q_LOGICAL_STATE_STOPPED
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
