	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_analogix_dp_set_video_timing_mode ## -- Begin function analogix_dp_set_video_timing_mode
	.p2align	4, 0x90
_analogix_dp_set_video_timing_mode:     ## @analogix_dp_set_video_timing_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_VIDEO_TIMING_FROM_CAPTURE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_ANALOGIX_DP_VIDEO_CTL_10@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_FORMAT_SEL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rdi, %rcx
	orq	%rax, %rcx
	notq	%rdi
	andq	%rax, %rdi
	cmpq	%r14, %r15
	cmovneq	%rcx, %rdi
	movq	(%r12), %rsi
	addq	(%rbx), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDEO_TIMING_FROM_CAPTURE,8,3  ## @VIDEO_TIMING_FROM_CAPTURE
	.comm	_ANALOGIX_DP_VIDEO_CTL_10,8,3   ## @ANALOGIX_DP_VIDEO_CTL_10
	.comm	_FORMAT_SEL,8,3                 ## @FORMAT_SEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_analogix_dp_set_video_timing_mode ; -- Begin function analogix_dp_set_video_timing_mode
	.p2align	2
_analogix_dp_set_video_timing_mode:     ; @analogix_dp_set_video_timing_mode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _VIDEO_TIMING_FROM_CAPTURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDEO_TIMING_FROM_CAPTURE@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	x8, [x0]
Lloh3:
	adrp	x22, _ANALOGIX_DP_VIDEO_CTL_10@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ANALOGIX_DP_VIDEO_CTL_10@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
Lloh5:
	adrp	x8, _FORMAT_SEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FORMAT_SEL@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	orr	x9, x8, x0
	bic	x8, x0, x8
	cmp	x21, x19
	csel	x0, x8, x9, eq
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDEO_TIMING_FROM_CAPTURE,8,3  ; @VIDEO_TIMING_FROM_CAPTURE
	.comm	_ANALOGIX_DP_VIDEO_CTL_10,8,3   ; @ANALOGIX_DP_VIDEO_CTL_10
	.comm	_FORMAT_SEL,8,3                 ; @FORMAT_SEL
.subsections_via_symbols
