	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hisi_qm_set_vft                ## -- Begin function hisi_qm_set_vft
	.p2align	4, 0x90
_hisi_qm_set_vft:                       ## @hisi_qm_set_vft
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r8
	cmpq	%rdx, %r8
	jle	LBB0_3
## %bb.1:
	cmpq	%rcx, %r8
	jl	LBB0_3
## %bb.2:
	leaq	(%rcx,%rdx), %rax
	cmpq	%r8, %rax
	jg	LBB0_3
## %bb.4:
	popq	%rbp
	jmp	_qm_set_sqc_cqc_vft             ## TAILCALL
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hisi_qm_set_vft                ; -- Begin function hisi_qm_set_vft
	.p2align	2
_hisi_qm_set_vft:                       ; @hisi_qm_set_vft
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	add	x9, x3, x2
	cmp	x8, x2
	ccmp	x8, x3, #8, gt
	ccmp	x9, x8, #0, ge
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	b	_qm_set_sqc_cqc_vft
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
