	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tvp5150_reset
_tvp5150_reset:                         ## @tvp5150_reset
	.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
	movq	%rdi, %rbx
	callq	_to_tvp5150
	movq	%rax, %r14
	movq	_tvp5150_init_default@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tvp5150_write_inittab
	movq	_vbi_ram_default@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tvp5150_vdp_init
	movq	%rbx, %rdi
	callq	_tvp5150_selmux
	movq	_tvp5150_init_enable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tvp5150_write_inittab
	movq	_TVP5150_BRIGHT_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r14), %edx
	movq	%rbx, %rdi
	callq	_tvp5150_write
	movq	_TVP5150_CONTRAST_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	callq	_tvp5150_write
	movq	_TVP5150_SATURATION_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	callq	_tvp5150_write
	movq	_TVP5150_HUE_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	callq	_tvp5150_write
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_tvp5150_set_std
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tvp5150_init_default,4,2       ## @tvp5150_init_default
	.comm	_vbi_ram_default,4,2            ## @vbi_ram_default
	.comm	_tvp5150_init_enable,4,2        ## @tvp5150_init_enable
	.comm	_TVP5150_BRIGHT_CTL,4,2         ## @TVP5150_BRIGHT_CTL
	.comm	_TVP5150_CONTRAST_CTL,4,2       ## @TVP5150_CONTRAST_CTL
	.comm	_TVP5150_SATURATION_CTL,4,2     ## @TVP5150_SATURATION_CTL
	.comm	_TVP5150_HUE_CTL,4,2            ## @TVP5150_HUE_CTL
	.no_dead_strip	_tvp5150_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tvp5150_reset
_tvp5150_reset:                         ; @tvp5150_reset
	.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, x0
	bl	_to_tvp5150
	mov	x20, x0
Lloh0:
	adrp	x8, _tvp5150_init_default@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tvp5150_init_default@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tvp5150_write_inittab
Lloh3:
	adrp	x8, _vbi_ram_default@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vbi_ram_default@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tvp5150_vdp_init
	mov	x0, x19
	bl	_tvp5150_selmux
Lloh6:
	adrp	x8, _tvp5150_init_enable@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tvp5150_init_enable@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tvp5150_write_inittab
Lloh9:
	adrp	x8, _TVP5150_BRIGHT_CTL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TVP5150_BRIGHT_CTL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_tvp5150_write
Lloh12:
	adrp	x8, _TVP5150_CONTRAST_CTL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TVP5150_CONTRAST_CTL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_tvp5150_write
Lloh15:
	adrp	x8, _TVP5150_SATURATION_CTL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TVP5150_SATURATION_CTL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_tvp5150_write
Lloh18:
	adrp	x8, _TVP5150_HUE_CTL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TVP5150_HUE_CTL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_tvp5150_write
	ldr	w1, [x20]
	mov	x0, x19
	bl	_tvp5150_set_std
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_tvp5150_init_default,4,2       ; @tvp5150_init_default
	.comm	_vbi_ram_default,4,2            ; @vbi_ram_default
	.comm	_tvp5150_init_enable,4,2        ; @tvp5150_init_enable
	.comm	_TVP5150_BRIGHT_CTL,4,2         ; @TVP5150_BRIGHT_CTL
	.comm	_TVP5150_CONTRAST_CTL,4,2       ; @TVP5150_CONTRAST_CTL
	.comm	_TVP5150_SATURATION_CTL,4,2     ; @TVP5150_SATURATION_CTL
	.comm	_TVP5150_HUE_CTL,4,2            ; @TVP5150_HUE_CTL
	.no_dead_strip	_tvp5150_reset
.subsections_via_symbols
