	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_venc_hdmi_encoder_enable
_meson_venc_hdmi_encoder_enable:        ## @meson_venc_hdmi_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_encoder_to_meson_dw_hdmi
	movq	(%rax), %rbx
	cmpq	$0, 8(%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	cmpq	$0, 8(%rbx)
	movq	(%rbx), %rbx
	jne	LBB0_1
## %bb.2:
	movq	_ENCP_VIDEO_EN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ENCI_VIDEO_EN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	__REG
	addq	%rax, %rbx
	movl	$1, %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"VENCI"

L_.str.2:                               ## @.str.2
	.asciz	"VENCP"

	.comm	_ENCI_VIDEO_EN,4,2              ## @ENCI_VIDEO_EN
	.comm	_ENCP_VIDEO_EN,4,2              ## @ENCP_VIDEO_EN
	.no_dead_strip	_meson_venc_hdmi_encoder_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_venc_hdmi_encoder_enable
_meson_venc_hdmi_encoder_enable:        ; @meson_venc_hdmi_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
	bl	_encoder_to_meson_dw_hdmi
	ldr	x19, [x0]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, l_.str.1@PAGE
Lloh1:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
Lloh6:
	adrp	x8, _ENCP_VIDEO_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENCP_VIDEO_EN@GOTPAGEOFF]
	ldp	x19, x9, [x19]
Lloh8:
	adrp	x10, _ENCI_VIDEO_EN@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ENCI_VIDEO_EN@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w0, [x8]
	bl	__REG
	add	x1, x0, x19
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel_relaxed
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"VENCI"

l_.str.2:                               ; @.str.2
	.asciz	"VENCP"

	.comm	_ENCI_VIDEO_EN,4,2              ; @ENCI_VIDEO_EN
	.comm	_ENCP_VIDEO_EN,4,2              ; @ENCP_VIDEO_EN
	.no_dead_strip	_meson_venc_hdmi_encoder_enable
.subsections_via_symbols
