	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_get_wqe_shift            ## -- Begin function i40iw_get_wqe_shift
	.p2align	4, 0x90
_i40iw_get_wqe_shift:                   ## @i40iw_get_wqe_shift
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$4, %edi
	setl	%al
	cmpl	$49, %esi
	setl	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	movl	$2, %ecx
	subl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$17, %esi
	cmovgel	%ecx, %eax
	cmpl	$2, %edi
	cmovgel	%ecx, %eax
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_get_wqe_shift            ; -- Begin function i40iw_get_wqe_shift
	.p2align	2
_i40iw_get_wqe_shift:                   ; @i40iw_get_wqe_shift
	.cfi_startproc
; %bb.0:
	cmp	w1, #49
	ccmp	w0, #4, #0, lt
	mov	w8, #1
	cinc	w8, w8, ge
	cmp	w1, #16
	ccmp	w0, #1, #0, le
	csel	w8, w8, wzr, gt
	str	w8, [x2]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
