	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun5i_a13_tcon_set_mux
_sun5i_a13_tcon_set_mux:                ## @sun5i_a13_tcon_set_mux
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	_DRM_MODE_ENCODER_TVDAC@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	(%rdi), %edi
	movq	_SUN4I_TCON_MUX_CTRL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_regmap_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_ENCODER_TVDAC,8,3     ## @DRM_MODE_ENCODER_TVDAC
	.comm	_SUN4I_TCON_MUX_CTRL_REG,4,2    ## @SUN4I_TCON_MUX_CTRL_REG
	.no_dead_strip	_sun5i_a13_tcon_set_mux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun5i_a13_tcon_set_mux
_sun5i_a13_tcon_set_mux:                ; @sun5i_a13_tcon_set_mux
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _DRM_MODE_ENCODER_TVDAC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_MODE_ENCODER_TVDAC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w2, eq
	ldr	w0, [x0]
Lloh3:
	adrp	x8, _SUN4I_TCON_MUX_CTRL_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUN4I_TCON_MUX_CTRL_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_regmap_write
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_ENCODER_TVDAC,8,3     ; @DRM_MODE_ENCODER_TVDAC
	.comm	_SUN4I_TCON_MUX_CTRL_REG,4,2    ; @SUN4I_TCON_MUX_CTRL_REG
	.no_dead_strip	_sun5i_a13_tcon_set_mux
.subsections_via_symbols
