	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_get_kcqe_layer_mask
_cnic_get_kcqe_layer_mask:              ## @cnic_get_kcqe_layer_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_KCQE_OPCODE
	movq	_FCOE_RAMROD_CMD_ID_TERMINATE_CONN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_KCQE_FLAGS_LAYER_MASK_L4@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_3
LBB0_1:
	movq	_KCQE_FLAGS_LAYER_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FCOE_RAMROD_CMD_ID_TERMINATE_CONN,8,3 ## @FCOE_RAMROD_CMD_ID_TERMINATE_CONN
	.comm	_KCQE_FLAGS_LAYER_MASK_L4,4,2   ## @KCQE_FLAGS_LAYER_MASK_L4
	.comm	_KCQE_FLAGS_LAYER_MASK,4,2      ## @KCQE_FLAGS_LAYER_MASK
	.no_dead_strip	_cnic_get_kcqe_layer_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_get_kcqe_layer_mask
_cnic_get_kcqe_layer_mask:              ; @cnic_get_kcqe_layer_mask
	.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, x0
	bl	_KCQE_OPCODE
Lloh0:
	adrp	x8, _FCOE_RAMROD_CMD_ID_TERMINATE_CONN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FCOE_RAMROD_CMD_ID_TERMINATE_CONN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_unlikely
Lloh3:
	adrp	x8, _KCQE_FLAGS_LAYER_MASK_L4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KCQE_FLAGS_LAYER_MASK_L4@GOTPAGEOFF]
Lloh5:
	adrp	x9, _KCQE_FLAGS_LAYER_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KCQE_FLAGS_LAYER_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	and	w9, w9, w19
	cmp	x0, #0
	csel	w0, w9, w8, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FCOE_RAMROD_CMD_ID_TERMINATE_CONN,8,3 ; @FCOE_RAMROD_CMD_ID_TERMINATE_CONN
	.comm	_KCQE_FLAGS_LAYER_MASK_L4,4,2   ; @KCQE_FLAGS_LAYER_MASK_L4
	.comm	_KCQE_FLAGS_LAYER_MASK,4,2      ; @KCQE_FLAGS_LAYER_MASK
	.no_dead_strip	_cnic_get_kcqe_layer_mask
.subsections_via_symbols
