	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdmi_wp_init_vid_fmt_timings   ## -- Begin function hdmi_wp_init_vid_fmt_timings
	.p2align	4, 0x90
_hdmi_wp_init_vid_fmt_timings:          ## @hdmi_wp_init_vid_fmt_timings
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DSSDBG
	movq	_HDMI_PACK_10b_RGB_YUV444@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movl	4(%rbx), %r8d
	movl	%r8d, 4(%r14)
	movdqu	8(%rbx), %xmm0
	movdqu	%xmm0, (%r15)
	movl	24(%rbx), %esi
	movl	%esi, 16(%r15)
	movl	28(%rbx), %edx
	movl	%edx, 20(%r15)
	movl	32(%rbx), %ecx
	movl	%ecx, 24(%r15)
	movq	_DISPLAY_FLAGS_INTERLACED@GOTPCREL(%rip), %rbx
	testl	%ecx, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	movl	%edi, (%r14)
	pextrd	$3, %xmm0, %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	movl	%edi, 12(%r15)
	movl	%esi, %eax
	shrl	$31, %eax
	addl	%esi, %eax
	sarl	%eax
	movl	%eax, 16(%r15)
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, 20(%r15)
LBB0_2:
	movq	_DISPLAY_FLAGS_DOUBLECLK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	addl	%r8d, %r8d
	movl	%r8d, 4(%r14)
	pextrd	$1, %xmm0, %eax
	addl	%eax, %eax
	movl	%eax, 4(%r15)
	pextrd	$2, %xmm0, %eax
	addl	%eax, %eax
	movl	%eax, 8(%r15)
	movd	%xmm0, %eax
	addl	%eax, %eax
	movl	%eax, (%r15)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter hdmi_wp_video_init_format\n"

	.comm	_HDMI_PACK_10b_RGB_YUV444,4,2   ## @HDMI_PACK_10b_RGB_YUV444
	.comm	_DISPLAY_FLAGS_INTERLACED,4,2   ## @DISPLAY_FLAGS_INTERLACED
	.comm	_DISPLAY_FLAGS_DOUBLECLK,4,2    ## @DISPLAY_FLAGS_DOUBLECLK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdmi_wp_init_vid_fmt_timings   ; -- Begin function hdmi_wp_init_vid_fmt_timings
	.p2align	2
_hdmi_wp_init_vid_fmt_timings:          ; @hdmi_wp_init_vid_fmt_timings
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DSSDBG
Lloh2:
	adrp	x8, _HDMI_PACK_10b_RGB_YUV444@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HDMI_PACK_10b_RGB_YUV444@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	ldp	w13, w9, [x21]
	stp	w13, w9, [x20]
	ldp	w8, w10, [x21, #8]
	stp	w8, w10, [x19]
	ldp	w11, w16, [x21, #16]
	stp	w11, w16, [x19, #8]
	ldp	w15, w14, [x21, #24]
	stp	w15, w14, [x19, #16]
	ldr	w12, [x21, #32]
	str	w12, [x19, #24]
Lloh5:
	adrp	x17, _DISPLAY_FLAGS_INTERLACED@GOTPAGE
Lloh6:
	ldr	x17, [x17, _DISPLAY_FLAGS_INTERLACED@GOTPAGEOFF]
Lloh7:
	ldr	w17, [x17]
	tst	w17, w12
	b.eq	LBB0_2
; %bb.1:
	cmp	w13, #0
	cinc	w13, w13, lt
	asr	w13, w13, #1
	str	w13, [x20]
	cmp	w16, #0
	cinc	w13, w16, lt
	asr	w13, w13, #1
	cmp	w15, #0
	cinc	w15, w15, lt
	asr	w15, w15, #1
	stp	w13, w15, [x19, #12]
	cmp	w14, #0
	cinc	w13, w14, lt
	asr	w13, w13, #1
	str	w13, [x19, #20]
LBB0_2:
Lloh8:
	adrp	x13, _DISPLAY_FLAGS_DOUBLECLK@GOTPAGE
Lloh9:
	ldr	x13, [x13, _DISPLAY_FLAGS_DOUBLECLK@GOTPAGEOFF]
Lloh10:
	ldr	w13, [x13]
	tst	w13, w12
	b.eq	LBB0_4
; %bb.3:
	lsl	w9, w9, #1
	str	w9, [x20, #4]
	lsl	w9, w10, #1
	lsl	w10, w11, #1
	stp	w9, w10, [x19, #4]
	lsl	w8, w8, #1
	str	w8, [x19]
LBB0_4:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter hdmi_wp_video_init_format\n"

	.comm	_HDMI_PACK_10b_RGB_YUV444,4,2   ; @HDMI_PACK_10b_RGB_YUV444
	.comm	_DISPLAY_FLAGS_INTERLACED,4,2   ; @DISPLAY_FLAGS_INTERLACED
	.comm	_DISPLAY_FLAGS_DOUBLECLK,4,2    ; @DISPLAY_FLAGS_DOUBLECLK
.subsections_via_symbols
