	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_flags
_get_flags:                             ## @get_flags
	.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), %rcx
	movq	_AV_CODEC_FLAG_QPEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movq	_FLAG_QPEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	movq	_FLAG_DIRECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_4:
	addl	%esi, %eax
	testl	%edx, %edx
	je	LBB0_6
## %bb.5:
	movq	_FLAG_CHROMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_6:
	addl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_FLAG_QPEL,4,2         ## @AV_CODEC_FLAG_QPEL
	.comm	_FLAG_QPEL,4,2                  ## @FLAG_QPEL
	.comm	_FLAG_DIRECT,4,2                ## @FLAG_DIRECT
	.comm	_FLAG_CHROMA,4,2                ## @FLAG_CHROMA
	.no_dead_strip	_get_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_flags
_get_flags:                             ; @get_flags
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _AV_CODEC_FLAG_QPEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_CODEC_FLAG_QPEL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _FLAG_QPEL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FLAG_QPEL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w9, w8
Lloh6:
	adrp	x8, _FLAG_DIRECT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FLAG_DIRECT@GOTPAGEOFF]
	csel	w9, wzr, w10, eq
Lloh8:
	ldr	w8, [x8]
	cmp	w1, #0
	csel	w8, wzr, w8, eq
Lloh9:
	adrp	x10, _FLAG_CHROMA@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FLAG_CHROMA@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w2, #0
	csel	w10, wzr, w10, eq
	add	w8, w9, w8
	add	w0, w8, w10
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_FLAG_QPEL,4,2         ; @AV_CODEC_FLAG_QPEL
	.comm	_FLAG_QPEL,4,2                  ; @FLAG_QPEL
	.comm	_FLAG_DIRECT,4,2                ; @FLAG_DIRECT
	.comm	_FLAG_CHROMA,4,2                ; @FLAG_CHROMA
	.no_dead_strip	_get_flags
.subsections_via_symbols
