	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function au8522_setup_svideo_mode
_au8522_setup_svideo_mode:              ## @au8522_setup_svideo_mode
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_AU8522_MODULE_CLOCK_CONTROL_REG0A3H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AU8522_MODULE_CLOCK_CONTROL_REG0A3H_SVIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_au8522_writereg
	movq	_AU8522_INPUT_CONTROL_REG081H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_au8522_writereg
	movq	_AU8522_PGA_CONTROL_REG082H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	_AU8522_CLAMPING_CONTROL_REG083H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_au8522_writereg
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_setup_decoder_defaults
	movq	_AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_CVBS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_au8522_writereg                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AU8522_MODULE_CLOCK_CONTROL_REG0A3H,4,2 ## @AU8522_MODULE_CLOCK_CONTROL_REG0A3H
	.comm	_AU8522_MODULE_CLOCK_CONTROL_REG0A3H_SVIDEO,4,2 ## @AU8522_MODULE_CLOCK_CONTROL_REG0A3H_SVIDEO
	.comm	_AU8522_INPUT_CONTROL_REG081H,4,2 ## @AU8522_INPUT_CONTROL_REG081H
	.comm	_AU8522_PGA_CONTROL_REG082H,4,2 ## @AU8522_PGA_CONTROL_REG082H
	.comm	_AU8522_CLAMPING_CONTROL_REG083H,4,2 ## @AU8522_CLAMPING_CONTROL_REG083H
	.comm	_AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H,4,2 ## @AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H
	.comm	_AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_CVBS,4,2 ## @AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_CVBS
	.no_dead_strip	_au8522_setup_svideo_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function au8522_setup_svideo_mode
_au8522_setup_svideo_mode:              ; @au8522_setup_svideo_mode
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _AU8522_MODULE_CLOCK_CONTROL_REG0A3H@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AU8522_MODULE_CLOCK_CONTROL_REG0A3H@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AU8522_MODULE_CLOCK_CONTROL_REG0A3H_SVIDEO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AU8522_MODULE_CLOCK_CONTROL_REG0A3H_SVIDEO@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_au8522_writereg
Lloh6:
	adrp	x8, _AU8522_INPUT_CONTROL_REG081H@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AU8522_INPUT_CONTROL_REG081H@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_au8522_writereg
Lloh9:
	adrp	x8, _AU8522_PGA_CONTROL_REG082H@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AU8522_PGA_CONTROL_REG082H@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_au8522_writereg
Lloh12:
	adrp	x8, _AU8522_CLAMPING_CONTROL_REG083H@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AU8522_CLAMPING_CONTROL_REG083H@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_au8522_writereg
	mov	x0, x20
	mov	w1, #1
	bl	_setup_decoder_defaults
Lloh15:
	adrp	x8, _AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_CVBS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_CVBS@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_au8522_writereg
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AU8522_MODULE_CLOCK_CONTROL_REG0A3H,4,2 ; @AU8522_MODULE_CLOCK_CONTROL_REG0A3H
	.comm	_AU8522_MODULE_CLOCK_CONTROL_REG0A3H_SVIDEO,4,2 ; @AU8522_MODULE_CLOCK_CONTROL_REG0A3H_SVIDEO
	.comm	_AU8522_INPUT_CONTROL_REG081H,4,2 ; @AU8522_INPUT_CONTROL_REG081H
	.comm	_AU8522_PGA_CONTROL_REG082H,4,2 ; @AU8522_PGA_CONTROL_REG082H
	.comm	_AU8522_CLAMPING_CONTROL_REG083H,4,2 ; @AU8522_CLAMPING_CONTROL_REG083H
	.comm	_AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H,4,2 ; @AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H
	.comm	_AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_CVBS,4,2 ; @AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H_CVBS
	.no_dead_strip	_au8522_setup_svideo_mode
.subsections_via_symbols
