	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_hw_get_target_flip
_fimc_hw_get_target_flip:               ## @fimc_hw_get_target_flip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FIMC_REG_CITRGFMT_FLIP_NORMAL@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	$0, 16(%rdi)
	movl	$0, %ecx
	je	LBB0_2
## %bb.1:
	movq	_FIMC_REG_CITRGFMT_FLIP_Y_MIRROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	orl	(%rdx), %ecx
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.3:
	movq	_FIMC_REG_CITRGFMT_FLIP_X_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%eax, %ecx
	movq	_FIMC_REG_CITRGFMT_FLIP_180@GOTPCREL(%rip), %rdx
	movl	%ecx, %eax
	notl	%eax
	andl	(%rdx), %eax
	cmpl	$91, (%rdi)
	cmovll	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIMC_REG_CITRGFMT_FLIP_NORMAL,4,2 ## @FIMC_REG_CITRGFMT_FLIP_NORMAL
	.comm	_FIMC_REG_CITRGFMT_FLIP_Y_MIRROR,4,2 ## @FIMC_REG_CITRGFMT_FLIP_Y_MIRROR
	.comm	_FIMC_REG_CITRGFMT_FLIP_X_MIRROR,4,2 ## @FIMC_REG_CITRGFMT_FLIP_X_MIRROR
	.comm	_FIMC_REG_CITRGFMT_FLIP_180,4,2 ## @FIMC_REG_CITRGFMT_FLIP_180
	.no_dead_strip	_fimc_hw_get_target_flip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_hw_get_target_flip
_fimc_hw_get_target_flip:               ; @fimc_hw_get_target_flip
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FIMC_REG_CITRGFMT_FLIP_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIMC_REG_CITRGFMT_FLIP_NORMAL@GOTPAGEOFF]
	ldp	x10, x9, [x0, #8]
	cmp	x9, #0
Lloh2:
	adrp	x9, _FIMC_REG_CITRGFMT_FLIP_Y_MIRROR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FIMC_REG_CITRGFMT_FLIP_Y_MIRROR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _FIMC_REG_CITRGFMT_FLIP_X_MIRROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FIMC_REG_CITRGFMT_FLIP_X_MIRROR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _FIMC_REG_CITRGFMT_FLIP_180@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FIMC_REG_CITRGFMT_FLIP_180@GOTPAGEOFF]
	ldr	w10, [x0]
Lloh11:
	ldr	w9, [x9]
	bic	w9, w9, w8
	cmp	w10, #91
	csel	w0, w8, w9, lt
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FIMC_REG_CITRGFMT_FLIP_NORMAL,4,2 ; @FIMC_REG_CITRGFMT_FLIP_NORMAL
	.comm	_FIMC_REG_CITRGFMT_FLIP_Y_MIRROR,4,2 ; @FIMC_REG_CITRGFMT_FLIP_Y_MIRROR
	.comm	_FIMC_REG_CITRGFMT_FLIP_X_MIRROR,4,2 ; @FIMC_REG_CITRGFMT_FLIP_X_MIRROR
	.comm	_FIMC_REG_CITRGFMT_FLIP_180,4,2 ; @FIMC_REG_CITRGFMT_FLIP_180
	.no_dead_strip	_fimc_hw_get_target_flip
.subsections_via_symbols
