	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdmi_wp_video_config_interface ## -- Begin function hdmi_wp_video_config_interface
	.p2align	4, 0x90
_hdmi_wp_video_config_interface:        ## @hdmi_wp_video_config_interface
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DSSDBG
	movl	(%r15), %eax
	movq	_DISPLAY_FLAGS_VSYNC_LOW@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%bl
	movq	_DISPLAY_FLAGS_HSYNC_LOW@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	andl	(%rcx), %eax
	setne	%r12b
	movl	(%r14), %edi
	movq	_HDMI_WP_VIDEO_CFG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_hdmi_read_reg
	movl	%eax, %edi
	movl	$1, %esi
	movl	$7, %edx
	movl	$7, %ecx
	callq	_FLD_MOD
	movl	%eax, %edi
	movl	$1, %esi
	movl	$6, %edx
	movl	$6, %ecx
	callq	_FLD_MOD
	movl	%eax, %edi
	movl	%ebx, %esi
	movl	$5, %edx
	movl	$5, %ecx
	callq	_FLD_MOD
	movl	%eax, %edi
	movl	%r12d, %esi
	movl	$4, %edx
	movl	$4, %ecx
	callq	_FLD_MOD
	movq	_DISPLAY_FLAGS_INTERLACED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%esi, %esi
	andl	(%r15), %ecx
	setne	%sil
	movl	%eax, %edi
	movl	$3, %edx
	movl	$3, %ecx
	callq	_FLD_MOD
	movl	%eax, %edi
	movl	$1, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_FLD_MOD
	movl	(%r14), %edi
	movl	(%r13), %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_write_reg                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter hdmi_wp_video_config_interface\n"

	.comm	_DISPLAY_FLAGS_VSYNC_LOW,4,2    ## @DISPLAY_FLAGS_VSYNC_LOW
	.comm	_DISPLAY_FLAGS_HSYNC_LOW,4,2    ## @DISPLAY_FLAGS_HSYNC_LOW
	.comm	_HDMI_WP_VIDEO_CFG,4,2          ## @HDMI_WP_VIDEO_CFG
	.comm	_DISPLAY_FLAGS_INTERLACED,4,2   ## @DISPLAY_FLAGS_INTERLACED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdmi_wp_video_config_interface ; -- Begin function hdmi_wp_video_config_interface
	.p2align	2
_hdmi_wp_video_config_interface:        ; @hdmi_wp_video_config_interface
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DSSDBG
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _DISPLAY_FLAGS_VSYNC_LOW@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DISPLAY_FLAGS_VSYNC_LOW@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w21, ne
Lloh5:
	adrp	x9, _DISPLAY_FLAGS_HSYNC_LOW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DISPLAY_FLAGS_HSYNC_LOW@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w22, ne
	ldr	w0, [x19]
Lloh8:
	adrp	x23, _HDMI_WP_VIDEO_CFG@GOTPAGE
Lloh9:
	ldr	x23, [x23, _HDMI_WP_VIDEO_CFG@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_hdmi_read_reg
	mov	w1, #1
	mov	w2, #7
	mov	w3, #7
	bl	_FLD_MOD
	mov	w1, #1
	mov	w2, #6
	mov	w3, #6
	bl	_FLD_MOD
	mov	x1, x21
	mov	w2, #5
	mov	w3, #5
	bl	_FLD_MOD
	mov	x1, x22
	mov	w2, #4
	mov	w3, #4
	bl	_FLD_MOD
	ldr	w8, [x20]
Lloh10:
	adrp	x9, _DISPLAY_FLAGS_INTERLACED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DISPLAY_FLAGS_INTERLACED@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w1, ne
	mov	w2, #3
	mov	w3, #3
	bl	_FLD_MOD
	mov	w1, #1
	mov	w2, #1
	mov	w3, #0
	bl	_FLD_MOD
	mov	x2, x0
	ldr	w0, [x19]
	ldr	w1, [x23]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_hdmi_write_reg
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter hdmi_wp_video_config_interface\n"

	.comm	_DISPLAY_FLAGS_VSYNC_LOW,4,2    ; @DISPLAY_FLAGS_VSYNC_LOW
	.comm	_DISPLAY_FLAGS_HSYNC_LOW,4,2    ; @DISPLAY_FLAGS_HSYNC_LOW
	.comm	_HDMI_WP_VIDEO_CFG,4,2          ; @HDMI_WP_VIDEO_CFG
	.comm	_DISPLAY_FLAGS_INTERLACED,4,2   ; @DISPLAY_FLAGS_INTERLACED
.subsections_via_symbols
