	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_hw_get_in_flip
_fimc_hw_get_in_flip:                   ## @fimc_hw_get_in_flip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_FIMC_REG_MSCTRL_FLIP_NORMAL@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rdi)
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_FIMC_REG_MSCTRL_FLIP_Y_MIRROR@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rdi)
	je	LBB0_5
LBB0_4:
	movq	_FIMC_REG_MSCTRL_FLIP_X_MIRROR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ecx
	movq	_FIMC_REG_MSCTRL_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_MSCTRL_FLIP_NORMAL,4,2 ## @FIMC_REG_MSCTRL_FLIP_NORMAL
	.comm	_FIMC_REG_MSCTRL_FLIP_Y_MIRROR,4,2 ## @FIMC_REG_MSCTRL_FLIP_Y_MIRROR
	.comm	_FIMC_REG_MSCTRL_FLIP_X_MIRROR,4,2 ## @FIMC_REG_MSCTRL_FLIP_X_MIRROR
	.comm	_FIMC_REG_MSCTRL_FLIP_180,4,2   ## @FIMC_REG_MSCTRL_FLIP_180
	.no_dead_strip	_fimc_hw_get_in_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_in_flip
_fimc_hw_get_in_flip:                   ; @fimc_hw_get_in_flip
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FIMC_REG_MSCTRL_FLIP_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIMC_REG_MSCTRL_FLIP_NORMAL@GOTPAGEOFF]
	ldp	x10, x9, [x0, #8]
Lloh2:
	adrp	x11, _FIMC_REG_MSCTRL_FLIP_Y_MIRROR@GOTPAGE
Lloh3:
	ldr	x11, [x11, _FIMC_REG_MSCTRL_FLIP_Y_MIRROR@GOTPAGEOFF]
Lloh4:
	adrp	x12, _FIMC_REG_MSCTRL_FLIP_X_MIRROR@GOTPAGE
Lloh5:
	ldr	x12, [x12, _FIMC_REG_MSCTRL_FLIP_X_MIRROR@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x11, eq
	cmp	x10, #0
	csel	x8, x8, x12, eq
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _FIMC_REG_MSCTRL_FLIP_180@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FIMC_REG_MSCTRL_FLIP_180@GOTPAGEOFF]
	ldr	w10, [x0]
Lloh8:
	ldr	w9, [x9]
	bic	w9, w9, w8
	cmp	w10, #91
	csel	w0, w8, w9, lt
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FIMC_REG_MSCTRL_FLIP_NORMAL,4,2 ; @FIMC_REG_MSCTRL_FLIP_NORMAL
	.comm	_FIMC_REG_MSCTRL_FLIP_Y_MIRROR,4,2 ; @FIMC_REG_MSCTRL_FLIP_Y_MIRROR
	.comm	_FIMC_REG_MSCTRL_FLIP_X_MIRROR,4,2 ; @FIMC_REG_MSCTRL_FLIP_X_MIRROR
	.comm	_FIMC_REG_MSCTRL_FLIP_180,4,2   ; @FIMC_REG_MSCTRL_FLIP_180
	.no_dead_strip	_fimc_hw_get_in_flip
.subsections_via_symbols
