	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda998x_write_avi
_tda998x_write_avi:                     ## @tda998x_write_avi
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	4(%rdi), %r15
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_drm_hdmi_avi_infoframe_from_display_mode
	movq	_HDMI_QUANTIZATION_RANGE_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_drm_hdmi_avi_infoframe_quant_range
	movq	_DIP_IF_FLAGS_IF2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_IF2_HB0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rcx
	callq	_tda998x_write_if
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_QUANTIZATION_RANGE_FULL,4,2 ## @HDMI_QUANTIZATION_RANGE_FULL
	.comm	_DIP_IF_FLAGS_IF2,4,2           ## @DIP_IF_FLAGS_IF2
	.comm	_REG_IF2_HB0,4,2                ## @REG_IF2_HB0
	.no_dead_strip	_tda998x_write_avi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda998x_write_avi
_tda998x_write_avi:                     ; @tda998x_write_avi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	add	x21, x0, #4
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x19
	bl	_drm_hdmi_avi_infoframe_from_display_mode
Lloh0:
	adrp	x8, _HDMI_QUANTIZATION_RANGE_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_QUANTIZATION_RANGE_FULL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	w3, [x20]
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x19
	bl	_drm_hdmi_avi_infoframe_quant_range
Lloh3:
	adrp	x8, _DIP_IF_FLAGS_IF2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIP_IF_FLAGS_IF2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _REG_IF2_HB0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_IF2_HB0@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	bl	_tda998x_write_if
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_QUANTIZATION_RANGE_FULL,4,2 ; @HDMI_QUANTIZATION_RANGE_FULL
	.comm	_DIP_IF_FLAGS_IF2,4,2           ; @DIP_IF_FLAGS_IF2
	.comm	_REG_IF2_HB0,4,2                ; @REG_IF2_HB0
	.no_dead_strip	_tda998x_write_avi
.subsections_via_symbols
