	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_encoder_update_videomode_flags
_omap_encoder_update_videomode_flags:   ## @omap_encoder_update_videomode_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	movq	_DISPLAY_FLAGS_DE_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_DISPLAY_FLAGS_DE_HIGH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	movl	%eax, %edx
	orl	%ecx, %edx
	testl	%r8d, %edx
	jne	LBB0_4
## %bb.1:
	movq	_DRM_BUS_FLAG_DE_LOW@GOTPCREL(%rip), %rdx
	testl	%esi, (%rdx)
	jne	LBB0_3
## %bb.2:
	movq	_DRM_BUS_FLAG_DE_HIGH@GOTPCREL(%rip), %rdx
	movl	%eax, %ecx
	testl	%esi, (%rdx)
	je	LBB0_4
LBB0_3:
	orl	%ecx, %r8d
	movl	%r8d, (%rdi)
LBB0_4:
	movq	_DISPLAY_FLAGS_PIXDATA_POSEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DISPLAY_FLAGS_PIXDATA_NEGEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %eax
	orl	%ecx, %eax
	testl	%r8d, %eax
	jne	LBB0_8
## %bb.5:
	movq	_DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE@GOTPCREL(%rip), %rax
	movl	%edx, %ecx
	testl	%esi, (%rax)
	je	LBB0_8
LBB0_7:
	orl	%ecx, %r8d
	movl	%r8d, (%rdi)
LBB0_8:
	movq	_DISPLAY_FLAGS_SYNC_POSEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DISPLAY_FLAGS_SYNC_NEGEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %eax
	orl	%ecx, %eax
	testl	%r8d, %eax
	je	LBB0_9
LBB0_12:
	popq	%rbp
	retq
LBB0_9:
	movq	_DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_11
## %bb.10:
	movq	_DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE@GOTPCREL(%rip), %rax
	movl	%edx, %ecx
	testl	%esi, (%rax)
	je	LBB0_12
LBB0_11:
	orl	%r8d, %ecx
	movl	%ecx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DISPLAY_FLAGS_DE_LOW,4,2       ## @DISPLAY_FLAGS_DE_LOW
	.comm	_DISPLAY_FLAGS_DE_HIGH,4,2      ## @DISPLAY_FLAGS_DE_HIGH
	.comm	_DRM_BUS_FLAG_DE_LOW,4,2        ## @DRM_BUS_FLAG_DE_LOW
	.comm	_DRM_BUS_FLAG_DE_HIGH,4,2       ## @DRM_BUS_FLAG_DE_HIGH
	.comm	_DISPLAY_FLAGS_PIXDATA_POSEDGE,4,2 ## @DISPLAY_FLAGS_PIXDATA_POSEDGE
	.comm	_DISPLAY_FLAGS_PIXDATA_NEGEDGE,4,2 ## @DISPLAY_FLAGS_PIXDATA_NEGEDGE
	.comm	_DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,4,2 ## @DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE
	.comm	_DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE,4,2 ## @DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE
	.comm	_DISPLAY_FLAGS_SYNC_POSEDGE,4,2 ## @DISPLAY_FLAGS_SYNC_POSEDGE
	.comm	_DISPLAY_FLAGS_SYNC_NEGEDGE,4,2 ## @DISPLAY_FLAGS_SYNC_NEGEDGE
	.comm	_DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE,4,2 ## @DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE
	.comm	_DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE,4,2 ## @DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE
	.no_dead_strip	_omap_encoder_update_videomode_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_encoder_update_videomode_flags
_omap_encoder_update_videomode_flags:   ; @omap_encoder_update_videomode_flags
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _DISPLAY_FLAGS_DE_LOW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DISPLAY_FLAGS_DE_LOW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _DISPLAY_FLAGS_DE_HIGH@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DISPLAY_FLAGS_DE_HIGH@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w11, w10, w9
	tst	w11, w8
	b.ne	LBB0_4
; %bb.1:
Lloh6:
	adrp	x11, _DRM_BUS_FLAG_DE_LOW@GOTPAGE
Lloh7:
	ldr	x11, [x11, _DRM_BUS_FLAG_DE_LOW@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w11, w1
	b.ne	LBB0_3
; %bb.2:
Lloh9:
	adrp	x9, _DRM_BUS_FLAG_DE_HIGH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DRM_BUS_FLAG_DE_HIGH@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x9]
	mov	x9, x10
	tst	w11, w1
	b.eq	LBB0_4
LBB0_3:
	orr	w8, w9, w8
	str	w8, [x0]
LBB0_4:
Lloh12:
	adrp	x9, _DISPLAY_FLAGS_PIXDATA_POSEDGE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DISPLAY_FLAGS_PIXDATA_POSEDGE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _DISPLAY_FLAGS_PIXDATA_NEGEDGE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _DISPLAY_FLAGS_PIXDATA_NEGEDGE@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w11, w10, w9
	tst	w11, w8
	b.ne	LBB0_8
; %bb.5:
Lloh18:
	adrp	x11, _DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE@GOTPAGE
Lloh19:
	ldr	x11, [x11, _DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	tst	w11, w1
	b.ne	LBB0_7
; %bb.6:
Lloh21:
	adrp	x9, _DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x9]
	mov	x9, x10
	tst	w11, w1
	b.eq	LBB0_8
LBB0_7:
	orr	w8, w9, w8
	str	w8, [x0]
LBB0_8:
Lloh24:
	adrp	x9, _DISPLAY_FLAGS_SYNC_POSEDGE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _DISPLAY_FLAGS_SYNC_POSEDGE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _DISPLAY_FLAGS_SYNC_NEGEDGE@GOTPAGE
Lloh28:
	ldr	x10, [x10, _DISPLAY_FLAGS_SYNC_NEGEDGE@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	orr	w11, w10, w9
	tst	w11, w8
	b.eq	LBB0_10
LBB0_9:
	ret
LBB0_10:
Lloh30:
	adrp	x11, _DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE@GOTPAGE
Lloh31:
	ldr	x11, [x11, _DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE@GOTPAGEOFF]
Lloh32:
	ldr	w11, [x11]
	tst	w11, w1
	b.ne	LBB0_12
; %bb.11:
Lloh33:
	adrp	x9, _DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE@GOTPAGEOFF]
Lloh35:
	ldr	w11, [x9]
	mov	x9, x10
	tst	w11, w1
	b.eq	LBB0_9
LBB0_12:
	orr	w8, w9, w8
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_DISPLAY_FLAGS_DE_LOW,4,2       ; @DISPLAY_FLAGS_DE_LOW
	.comm	_DISPLAY_FLAGS_DE_HIGH,4,2      ; @DISPLAY_FLAGS_DE_HIGH
	.comm	_DRM_BUS_FLAG_DE_LOW,4,2        ; @DRM_BUS_FLAG_DE_LOW
	.comm	_DRM_BUS_FLAG_DE_HIGH,4,2       ; @DRM_BUS_FLAG_DE_HIGH
	.comm	_DISPLAY_FLAGS_PIXDATA_POSEDGE,4,2 ; @DISPLAY_FLAGS_PIXDATA_POSEDGE
	.comm	_DISPLAY_FLAGS_PIXDATA_NEGEDGE,4,2 ; @DISPLAY_FLAGS_PIXDATA_NEGEDGE
	.comm	_DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,4,2 ; @DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE
	.comm	_DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE,4,2 ; @DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE
	.comm	_DISPLAY_FLAGS_SYNC_POSEDGE,4,2 ; @DISPLAY_FLAGS_SYNC_POSEDGE
	.comm	_DISPLAY_FLAGS_SYNC_NEGEDGE,4,2 ; @DISPLAY_FLAGS_SYNC_NEGEDGE
	.comm	_DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE,4,2 ; @DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE
	.comm	_DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE,4,2 ; @DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE
	.no_dead_strip	_omap_encoder_update_videomode_flags
.subsections_via_symbols
