	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_core_init
_hdmi_core_init:                        ## @hdmi_core_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DSSDBG
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movups	%xmm0, 16(%r14)
	movups	%xmm1, 32(%r14)
	movl	32(%rbx), %eax
	movl	%eax, 48(%r14)
	movl	$1, (%r14)
	movl	4(%rbx), %eax
	addl	(%rbx), %eax
	addl	8(%rbx), %eax
	movl	%eax, 4(%r14)
	movl	$0, 8(%r14)
	movl	16(%rbx), %edx
	addl	12(%rbx), %edx
	addl	20(%rbx), %edx
	movl	%edx, 12(%r14)
	movl	36(%rbx), %ecx
	movl	%ecx, 52(%r14)
	movl	24(%rbx), %ecx
	movq	_DISPLAY_FLAGS_INTERLACED@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_4
## %bb.1:
	testb	$1, %dl
	je	LBB0_3
## %bb.2:
	movl	$1, 8(%r14)
LBB0_3:
	movl	44(%r14), %esi
	movl	%esi, %edi
	shrl	$31, %edi
	addl	%esi, %edi
	sarl	%edi
	movl	%edi, 44(%r14)
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	movl	%esi, 12(%r14)
	movl	28(%r14), %edx
	movl	32(%r14), %esi
	movl	%esi, %edi
	shrl	$31, %edi
	addl	%esi, %edi
	sarl	%edi
	movl	%edi, 32(%r14)
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	movl	%esi, 28(%r14)
	movl	36(%r14), %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	movl	%esi, 36(%r14)
LBB0_4:
	movq	_DISPLAY_FLAGS_DOUBLECLK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_6
## %bb.5:
	shll	48(%r14)
	addl	%eax, %eax
	movl	%eax, 4(%r14)
	shll	16(%r14)
	shll	24(%r14)
	shll	20(%r14)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hdmi_core_init\n"

	.comm	_DISPLAY_FLAGS_INTERLACED,4,2   ## @DISPLAY_FLAGS_INTERLACED
	.comm	_DISPLAY_FLAGS_DOUBLECLK,4,2    ## @DISPLAY_FLAGS_DOUBLECLK
	.no_dead_strip	_hdmi_core_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_core_init
_hdmi_core_init:                        ; @hdmi_core_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DSSDBG
	ldr	w8, [x20, #32]
	ldp	q1, q0, [x20]
	stp	q1, q0, [x19, #16]
	str	w8, [x19, #48]
	mov	w9, #1
	ldp	w8, w10, [x20]
	ldp	w11, w12, [x20, #8]
	add	w8, w10, w8
	add	w8, w8, w11
	stp	w9, w8, [x19]
	ldp	w9, w10, [x20, #16]
	add	w9, w9, w12
	add	w10, w9, w10
	stp	wzr, w10, [x19, #8]
	ldr	w9, [x20, #36]
	str	w9, [x19, #52]
	ldr	w9, [x20, #24]
Lloh2:
	adrp	x11, _DISPLAY_FLAGS_INTERLACED@GOTPAGE
Lloh3:
	ldr	x11, [x11, _DISPLAY_FLAGS_INTERLACED@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_4
; %bb.1:
	tbz	w10, #0, LBB0_3
; %bb.2:
	mov	w11, #1
	str	w11, [x19, #8]
LBB0_3:
	ldr	w11, [x19, #44]
	cmp	w11, #0
	cinc	w11, w11, lt
	asr	w11, w11, #1
	str	w11, [x19, #44]
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	str	w10, [x19, #12]
	ldp	w11, w10, [x19, #28]
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	cmp	w11, #0
	cinc	w11, w11, lt
	asr	w11, w11, #1
	stp	w11, w10, [x19, #28]
	ldr	w10, [x19, #36]
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	str	w10, [x19, #36]
LBB0_4:
Lloh5:
	adrp	x10, _DISPLAY_FLAGS_DOUBLECLK@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DISPLAY_FLAGS_DOUBLECLK@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.5:
	ldr	w9, [x19, #48]
	lsl	w9, w9, #1
	str	w9, [x19, #48]
	lsl	w8, w8, #1
	str	w8, [x19, #4]
	ldr	w8, [x19, #24]
	lsl	w8, w8, #1
	str	w8, [x19, #24]
	ldr	d0, [x19, #16]
	shl.2s	v0, v0, #1
	str	d0, [x19, #16]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hdmi_core_init\n"

	.comm	_DISPLAY_FLAGS_INTERLACED,4,2   ; @DISPLAY_FLAGS_INTERLACED
	.comm	_DISPLAY_FLAGS_DOUBLECLK,4,2    ; @DISPLAY_FLAGS_DOUBLECLK
	.no_dead_strip	_hdmi_core_init
.subsections_via_symbols
