	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dirac_gptopts
_dirac_gptopts:                         ## @dirac_gptopts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	movl	%edx, %r8d
	shrl	$14, %r8d
	andl	$65280, %r8d                    ## imm = 0xFF00
	movzbl	%al, %edx
	orl	%r8d, %edx
	jne	LBB0_2
## %bb.1:
	movq	(%rdi), %rdx
	movq	(%rdx), %rdx
	movslq	%esi, %rsi
	movq	_AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	%edi, (%rdx,%rsi,4)
LBB0_2:
	movl	%eax, %edx
	sarl	$31, %edx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movl	%edx, (%rcx)
LBB0_4:
	shrl	$9, %eax
	andl	$8191, %eax                     ## imm = 0x1FFF
	addl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PKT_FLAG_KEY,4,2            ## @AV_PKT_FLAG_KEY
	.no_dead_strip	_dirac_gptopts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dirac_gptopts
_dirac_gptopts:                         ; @dirac_gptopts
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	lsr	w8, w2, #14
	and	w8, w8, #0xff00
	bfxil	w8, w2, #0, #8
	cbz	w8, LBB0_4
; %bb.1:
	asr	w8, w2, #31
	cbz	x3, LBB0_3
LBB0_2:
	str	w8, [x3]
LBB0_3:
	ubfx	w9, w2, #9, #13
	add	w0, w9, w8
	ret
LBB0_4:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sbfiz	x10, x1, #2, #32
	ldr	w11, [x8, x10]
	orr	w9, w11, w9
	str	w9, [x8, x10]
	asr	w8, w2, #31
	cbnz	x3, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PKT_FLAG_KEY,4,2            ; @AV_PKT_FLAG_KEY
	.no_dead_strip	_dirac_gptopts
.subsections_via_symbols
