	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_vbi
_setup_vbi:                             ## @setup_vbi
	.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	%rdi, %r14
	movq	_AU8522_TVDEC_VBI_CTRL_H_REG017H@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_CTRL_L_REG018H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_USER_TOTAL_BITS_REG019H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_USER_TUNIT_H_REG01AH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_USER_TUNIT_L_REG01BH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_USER_THRESH1_REG01CH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_USER_FRAME_PAT2_REG01EH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_USER_FRAME_PAT1_REG01FH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_USER_FRAME_PAT0_REG020H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_USER_FRAME_MASK2_REG021H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_USER_FRAME_MASK1_REG022H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_TVDEC_VBI_USER_FRAME_MASK0_REG023H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movl	$48, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$64, %edx
	callq	_au8522_writereg
	incl	%ebx
	cmpl	$96, %ebx
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movl	$68, %esi
	movl	$96, %edx
	callq	_au8522_writereg
	movl	(%r15), %esi
	movq	_AU8522_TVDEC_VBI_CTRL_H_REG017H_CCON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_au8522_writereg                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AU8522_TVDEC_VBI_CTRL_H_REG017H,4,2 ## @AU8522_TVDEC_VBI_CTRL_H_REG017H
	.comm	_AU8522_TVDEC_VBI_CTRL_L_REG018H,4,2 ## @AU8522_TVDEC_VBI_CTRL_L_REG018H
	.comm	_AU8522_TVDEC_VBI_USER_TOTAL_BITS_REG019H,4,2 ## @AU8522_TVDEC_VBI_USER_TOTAL_BITS_REG019H
	.comm	_AU8522_TVDEC_VBI_USER_TUNIT_H_REG01AH,4,2 ## @AU8522_TVDEC_VBI_USER_TUNIT_H_REG01AH
	.comm	_AU8522_TVDEC_VBI_USER_TUNIT_L_REG01BH,4,2 ## @AU8522_TVDEC_VBI_USER_TUNIT_L_REG01BH
	.comm	_AU8522_TVDEC_VBI_USER_THRESH1_REG01CH,4,2 ## @AU8522_TVDEC_VBI_USER_THRESH1_REG01CH
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_PAT2_REG01EH,4,2 ## @AU8522_TVDEC_VBI_USER_FRAME_PAT2_REG01EH
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_PAT1_REG01FH,4,2 ## @AU8522_TVDEC_VBI_USER_FRAME_PAT1_REG01FH
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_PAT0_REG020H,4,2 ## @AU8522_TVDEC_VBI_USER_FRAME_PAT0_REG020H
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_MASK2_REG021H,4,2 ## @AU8522_TVDEC_VBI_USER_FRAME_MASK2_REG021H
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_MASK1_REG022H,4,2 ## @AU8522_TVDEC_VBI_USER_FRAME_MASK1_REG022H
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_MASK0_REG023H,4,2 ## @AU8522_TVDEC_VBI_USER_FRAME_MASK0_REG023H
	.comm	_AU8522_TVDEC_VBI_CTRL_H_REG017H_CCON,4,2 ## @AU8522_TVDEC_VBI_CTRL_H_REG017H_CCON
	.no_dead_strip	_setup_vbi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_vbi
_setup_vbi:                             ; @setup_vbi
	.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	x19, x0
Lloh0:
	adrp	x21, _AU8522_TVDEC_VBI_CTRL_H_REG017H@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AU8522_TVDEC_VBI_CTRL_H_REG017H@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #0
	bl	_au8522_writereg
Lloh2:
	adrp	x8, _AU8522_TVDEC_VBI_CTRL_L_REG018H@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_CTRL_L_REG018H@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
Lloh5:
	adrp	x8, _AU8522_TVDEC_VBI_USER_TOTAL_BITS_REG019H@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_USER_TOTAL_BITS_REG019H@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
Lloh8:
	adrp	x8, _AU8522_TVDEC_VBI_USER_TUNIT_H_REG01AH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_USER_TUNIT_H_REG01AH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
Lloh11:
	adrp	x8, _AU8522_TVDEC_VBI_USER_TUNIT_L_REG01BH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_USER_TUNIT_L_REG01BH@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
Lloh14:
	adrp	x8, _AU8522_TVDEC_VBI_USER_THRESH1_REG01CH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_USER_THRESH1_REG01CH@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
Lloh17:
	adrp	x8, _AU8522_TVDEC_VBI_USER_FRAME_PAT2_REG01EH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_USER_FRAME_PAT2_REG01EH@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
Lloh20:
	adrp	x8, _AU8522_TVDEC_VBI_USER_FRAME_PAT1_REG01FH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_USER_FRAME_PAT1_REG01FH@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
Lloh23:
	adrp	x8, _AU8522_TVDEC_VBI_USER_FRAME_PAT0_REG020H@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_USER_FRAME_PAT0_REG020H@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
Lloh26:
	adrp	x8, _AU8522_TVDEC_VBI_USER_FRAME_MASK2_REG021H@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_USER_FRAME_MASK2_REG021H@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
Lloh29:
	adrp	x8, _AU8522_TVDEC_VBI_USER_FRAME_MASK1_REG022H@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_USER_FRAME_MASK1_REG022H@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
Lloh32:
	adrp	x8, _AU8522_TVDEC_VBI_USER_FRAME_MASK0_REG023H@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_USER_FRAME_MASK0_REG023H@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au8522_writereg
	mov	w20, #48
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #64
	bl	_au8522_writereg
	add	w20, w20, #1
	cmp	w20, #96
	b.ne	LBB0_1
; %bb.2:
	mov	x0, x19
	mov	w1, #68
	mov	w2, #96
	bl	_au8522_writereg
	ldr	w1, [x21]
Lloh35:
	adrp	x8, _AU8522_TVDEC_VBI_CTRL_H_REG017H_CCON@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AU8522_TVDEC_VBI_CTRL_H_REG017H_CCON@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x19
	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
	b	_au8522_writereg
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_AU8522_TVDEC_VBI_CTRL_H_REG017H,4,2 ; @AU8522_TVDEC_VBI_CTRL_H_REG017H
	.comm	_AU8522_TVDEC_VBI_CTRL_L_REG018H,4,2 ; @AU8522_TVDEC_VBI_CTRL_L_REG018H
	.comm	_AU8522_TVDEC_VBI_USER_TOTAL_BITS_REG019H,4,2 ; @AU8522_TVDEC_VBI_USER_TOTAL_BITS_REG019H
	.comm	_AU8522_TVDEC_VBI_USER_TUNIT_H_REG01AH,4,2 ; @AU8522_TVDEC_VBI_USER_TUNIT_H_REG01AH
	.comm	_AU8522_TVDEC_VBI_USER_TUNIT_L_REG01BH,4,2 ; @AU8522_TVDEC_VBI_USER_TUNIT_L_REG01BH
	.comm	_AU8522_TVDEC_VBI_USER_THRESH1_REG01CH,4,2 ; @AU8522_TVDEC_VBI_USER_THRESH1_REG01CH
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_PAT2_REG01EH,4,2 ; @AU8522_TVDEC_VBI_USER_FRAME_PAT2_REG01EH
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_PAT1_REG01FH,4,2 ; @AU8522_TVDEC_VBI_USER_FRAME_PAT1_REG01FH
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_PAT0_REG020H,4,2 ; @AU8522_TVDEC_VBI_USER_FRAME_PAT0_REG020H
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_MASK2_REG021H,4,2 ; @AU8522_TVDEC_VBI_USER_FRAME_MASK2_REG021H
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_MASK1_REG022H,4,2 ; @AU8522_TVDEC_VBI_USER_FRAME_MASK1_REG022H
	.comm	_AU8522_TVDEC_VBI_USER_FRAME_MASK0_REG023H,4,2 ; @AU8522_TVDEC_VBI_USER_FRAME_MASK0_REG023H
	.comm	_AU8522_TVDEC_VBI_CTRL_H_REG017H_CCON,4,2 ; @AU8522_TVDEC_VBI_CTRL_H_REG017H_CCON
	.no_dead_strip	_setup_vbi
.subsections_via_symbols
