	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function td043mtea1_write_mirror
_td043mtea1_write_mirror:               ## @td043mtea1_write_mirror
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TPO_R04_NFLIP_H@GOTPCREL(%rip), %rax
	movq	_TPO_R04_NFLIP_V@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %eax
	orl	%ecx, %eax
	movq	_TPO_R04_CP_CLK_FREQ_1H@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_TPO_R04_VGL_FREQ_1H@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	xorl	%edx, %edx
	cmpq	$1, (%rdi)
	sbbl	%edx, %edx
	notl	%ecx
	orl	%ecx, %edx
	andl	%eax, %edx
	movl	$4, %esi
	popq	%rbp
	jmp	_td043mtea1_write               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TPO_R04_NFLIP_H,4,2            ## @TPO_R04_NFLIP_H
	.comm	_TPO_R04_NFLIP_V,4,2            ## @TPO_R04_NFLIP_V
	.comm	_TPO_R04_CP_CLK_FREQ_1H,4,2     ## @TPO_R04_CP_CLK_FREQ_1H
	.comm	_TPO_R04_VGL_FREQ_1H,4,2        ## @TPO_R04_VGL_FREQ_1H
	.no_dead_strip	_td043mtea1_write_mirror
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function td043mtea1_write_mirror
_td043mtea1_write_mirror:               ; @td043mtea1_write_mirror
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TPO_R04_NFLIP_H@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TPO_R04_NFLIP_H@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TPO_R04_NFLIP_V@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TPO_R04_NFLIP_V@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x10, _TPO_R04_CP_CLK_FREQ_1H@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TPO_R04_CP_CLK_FREQ_1H@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w8, w8, w10
Lloh9:
	adrp	x10, _TPO_R04_VGL_FREQ_1H@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TPO_R04_VGL_FREQ_1H@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w8, w8, w10
	ldr	x10, [x0]
	cmp	x10, #0
	mov	w10, #-1
	csinv	w9, w10, w9, eq
	and	w2, w9, w8
	mov	w1, #4
	b	_td043mtea1_write
	.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	_TPO_R04_NFLIP_H,4,2            ; @TPO_R04_NFLIP_H
	.comm	_TPO_R04_NFLIP_V,4,2            ; @TPO_R04_NFLIP_V
	.comm	_TPO_R04_CP_CLK_FREQ_1H,4,2     ; @TPO_R04_CP_CLK_FREQ_1H
	.comm	_TPO_R04_VGL_FREQ_1H,4,2        ; @TPO_R04_VGL_FREQ_1H
	.no_dead_strip	_td043mtea1_write_mirror
.subsections_via_symbols
