	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda998x_write_vsi
_tda998x_write_vsi:                     ## @tda998x_write_vsi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	leaq	-16(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_drm_hdmi_vendor_infoframe_from_display_mode
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_REG_DIP_IF_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DIP_IF_FLAGS_IF1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_reg_clear
	jmp	LBB0_3
LBB0_2:
	movq	_DIP_IF_FLAGS_IF1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_IF1_HB0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-16(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_tda998x_write_if
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_DIP_IF_FLAGS,4,2           ## @REG_DIP_IF_FLAGS
	.comm	_DIP_IF_FLAGS_IF1,4,2           ## @DIP_IF_FLAGS_IF1
	.comm	_REG_IF1_HB0,4,2                ## @REG_IF1_HB0
	.no_dead_strip	_tda998x_write_vsi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda998x_write_vsi
_tda998x_write_vsi:                     ; @tda998x_write_vsi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x2, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_drm_hdmi_vendor_infoframe_from_display_mode
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _REG_DIP_IF_FLAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_DIP_IF_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DIP_IF_FLAGS_IF1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIP_IF_FLAGS_IF1@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_reg_clear
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _DIP_IF_FLAGS_IF1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DIP_IF_FLAGS_IF1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _REG_IF1_HB0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_IF1_HB0@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	bl	_tda998x_write_if
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_DIP_IF_FLAGS,4,2           ; @REG_DIP_IF_FLAGS
	.comm	_DIP_IF_FLAGS_IF1,4,2           ; @DIP_IF_FLAGS_IF1
	.comm	_REG_IF1_HB0,4,2                ; @REG_IF1_HB0
	.no_dead_strip	_tda998x_write_vsi
.subsections_via_symbols
