	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function venus_get_queue_size
_venus_get_queue_size:                  ## @venus_get_queue_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IFACEQ_NUM@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jbe	LBB0_2
## %bb.1:
	movq	(%rdi), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	8(%rax), %rdi
	subq	(%rax), %rdi
	popq	%rbp
	jmp	_abs                            ## TAILCALL
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFACEQ_NUM,4,2                 ## @IFACEQ_NUM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_venus_get_queue_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function venus_get_queue_size
_venus_get_queue_size:                  ; @venus_get_queue_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IFACEQ_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFACEQ_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ls	LBB0_3
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8, w1, uxtw #3]
	cbz	x8, LBB0_3
; %bb.2:
	ldp	x8, x9, [x8]
	sub	x0, x9, x8
	b	_abs
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IFACEQ_NUM,4,2                 ; @IFACEQ_NUM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_venus_get_queue_size
.subsections_via_symbols
