	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_venus_helper_get_opb_size      ## -- Begin function venus_helper_get_opb_size
	.p2align	4, 0x90
_venus_helper_get_opb_size:             ## @venus_helper_get_opb_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	(%rdi), %rax
	movq	_VIDC_SESSION_TYPE_ENC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.2:
	movq	16(%rdi), %rcx
	movq	_HFI_BUFFER_OUTPUT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_4
LBB0_1:
	addq	$8, %rdi
LBB0_6:
	movl	(%rdi), %eax
LBB0_7:
	popq	%rbp
	retq
LBB0_4:
	movq	_HFI_BUFFER_OUTPUT2@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.5:
	addq	$24, %rdi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDC_SESSION_TYPE_ENC,8,3      ## @VIDC_SESSION_TYPE_ENC
	.comm	_HFI_BUFFER_OUTPUT,8,3          ## @HFI_BUFFER_OUTPUT
	.comm	_HFI_BUFFER_OUTPUT2,8,3         ## @HFI_BUFFER_OUTPUT2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_venus_helper_get_opb_size      ; -- Begin function venus_helper_get_opb_size
	.p2align	2
_venus_helper_get_opb_size:             ; @venus_helper_get_opb_size
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _VIDC_SESSION_TYPE_ENC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VIDC_SESSION_TYPE_ENC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0, #16]
Lloh3:
	adrp	x9, _HFI_BUFFER_OUTPUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HFI_BUFFER_OUTPUT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	add	x8, x0, #8
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh6:
	adrp	x9, _HFI_BUFFER_OUTPUT2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HFI_BUFFER_OUTPUT2@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	add	x8, x0, #24
	ldr	w0, [x8]
	ret
LBB0_5:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDC_SESSION_TYPE_ENC,8,3      ; @VIDC_SESSION_TYPE_ENC
	.comm	_HFI_BUFFER_OUTPUT,8,3          ; @HFI_BUFFER_OUTPUT
	.comm	_HFI_BUFFER_OUTPUT2,8,3         ; @HFI_BUFFER_OUTPUT2
.subsections_via_symbols
