	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zx_tvenc_encoder_enable
_zx_tvenc_encoder_enable:               ## @zx_tvenc_encoder_enable
	.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, %r14
	callq	_to_zx_tvenc
	movq	%rax, %rbx
	movl	16(%rax), %edi
	movl	8(%rax), %ecx
	movl	12(%rax), %esi
	movl	%ecx, %edx
	callq	_regmap_update_bits
	movq	_VOU_TV_ENC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_vou_inf_enable
	movq	_VENC_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_zx_writel                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VOU_TV_ENC,4,2                 ## @VOU_TV_ENC
	.comm	_VENC_ENABLE,8,3                ## @VENC_ENABLE
	.no_dead_strip	_zx_tvenc_encoder_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zx_tvenc_encoder_enable
_zx_tvenc_encoder_enable:               ; @zx_tvenc_encoder_enable
	.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_zx_tvenc
	mov	x20, x0
	ldr	w0, [x0, #16]
	ldp	w2, w1, [x20, #8]
	mov	x3, x2
	bl	_regmap_update_bits
Lloh0:
	adrp	x8, _VOU_TV_ENC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VOU_TV_ENC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_vou_inf_enable
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _VENC_ENABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VENC_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_zx_writel
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VOU_TV_ENC,4,2                 ; @VOU_TV_ENC
	.comm	_VENC_ENABLE,8,3                ; @VENC_ENABLE
	.no_dead_strip	_zx_tvenc_encoder_enable
.subsections_via_symbols
