	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpb_add
_dpb_add:                               ## @dpb_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	movq	(%rdi), %rcx
	movslq	%esi, %rsi
	movl	%eax, (%rcx,%rsi,4)
	movl	4(%rdx), %eax
	movq	16(%rdi), %rcx
	movl	%eax, (%rcx,%rsi,4)
	movq	_HEVC_FRAME_FLAG_LONG_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rdx), %eax
	setne	%cl
	movq	8(%rdi), %rax
	movl	%ecx, (%rax,%rsi,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HEVC_FRAME_FLAG_LONG_REF,4,2   ## @HEVC_FRAME_FLAG_LONG_REF
	.no_dead_strip	_dpb_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpb_add
_dpb_add:                               ; @dpb_add
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x2, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x8]
	b	LBB0_3
LBB0_2:
	mov	w8, #-1
LBB0_3:
	sbfiz	x9, x1, #2, #32
	ldp	x10, x11, [x0]
	str	w8, [x10, x9]
	ldr	w8, [x2, #4]
	ldr	x10, [x0, #16]
	str	w8, [x10, x9]
Lloh0:
	adrp	x8, _HEVC_FRAME_FLAG_LONG_REF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HEVC_FRAME_FLAG_LONG_REF@GOTPAGEOFF]
	ldr	w10, [x2]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w10
	cset	w8, ne
	str	w8, [x11, x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HEVC_FRAME_FLAG_LONG_REF,4,2   ; @HEVC_FRAME_FLAG_LONG_REF
	.no_dead_strip	_dpb_add
.subsections_via_symbols
