	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s5p_mfc_dec_init               ## -- Begin function s5p_mfc_dec_init
	.p2align	4, 0x90
_s5p_mfc_dec_init:                      ## @s5p_mfc_dec_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_V4L2_PIX_FMT_H264@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_MFC_FMT_DEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdi
	callq	_find_format
	movq	%rax, 8(%rbx)
	movl	16(%rbx), %edi
	callq	_IS_MFCV8_PLUS
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_V4L2_PIX_FMT_NV12M@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movl	16(%rbx), %edi
	callq	_IS_MFCV6_PLUS
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_V4L2_PIX_FMT_NV12MT_16X16@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_V4L2_PIX_FMT_NV12MT@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_MFC_FMT_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdi
	callq	_find_format
	movq	%rax, (%rbx)
	movq	8(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%rax, %rcx
	callq	_mfc_debug
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_PIX_FMT_H264,4,2          ## @V4L2_PIX_FMT_H264
	.comm	_MFC_FMT_DEC,4,2                ## @MFC_FMT_DEC
	.comm	_V4L2_PIX_FMT_NV12M,4,2         ## @V4L2_PIX_FMT_NV12M
	.comm	_V4L2_PIX_FMT_NV12MT_16X16,4,2  ## @V4L2_PIX_FMT_NV12MT_16X16
	.comm	_V4L2_PIX_FMT_NV12MT,4,2        ## @V4L2_PIX_FMT_NV12MT
	.comm	_MFC_FMT_RAW,4,2                ## @MFC_FMT_RAW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Default src_fmt is %p, dest_fmt is %p\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s5p_mfc_dec_init               ; -- Begin function s5p_mfc_dec_init
	.p2align	2
_s5p_mfc_dec_init:                      ; @s5p_mfc_dec_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _V4L2_PIX_FMT_H264@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_PIX_FMT_H264@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _MFC_FMT_DEC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MFC_FMT_DEC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_find_format
	str	x0, [x19, #8]
	ldr	w0, [x19, #16]
	bl	_IS_MFCV8_PLUS
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _V4L2_PIX_FMT_NV12M@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_PIX_FMT_NV12M@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	ldr	w0, [x19, #16]
	bl	_IS_MFCV6_PLUS
	cbz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _V4L2_PIX_FMT_NV12MT_16X16@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_PIX_FMT_NV12MT_16X16@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _V4L2_PIX_FMT_NV12MT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _V4L2_PIX_FMT_NV12MT@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh12:
	adrp	x8, _MFC_FMT_RAW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MFC_FMT_RAW@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_find_format
	mov	x3, x0
	str	x0, [x19]
	ldr	x2, [x19, #8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_mfc_debug
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_PIX_FMT_H264,4,2          ; @V4L2_PIX_FMT_H264
	.comm	_MFC_FMT_DEC,4,2                ; @MFC_FMT_DEC
	.comm	_V4L2_PIX_FMT_NV12M,4,2         ; @V4L2_PIX_FMT_NV12M
	.comm	_V4L2_PIX_FMT_NV12MT_16X16,4,2  ; @V4L2_PIX_FMT_NV12MT_16X16
	.comm	_V4L2_PIX_FMT_NV12MT,4,2        ; @V4L2_PIX_FMT_NV12MT
	.comm	_MFC_FMT_RAW,4,2                ; @MFC_FMT_RAW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Default src_fmt is %p, dest_fmt is %p\n"

.subsections_via_symbols
