	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_hdmi_register_audio_driver
_mtk_hdmi_register_audio_driver:        ## @mtk_hdmi_register_audio_driver
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movups	l___const.mtk_hdmi_register_audio_driver.codec_data(%rip), %xmm0
	movaps	%xmm0, -32(%rbp)
	movq	_HDMI_CODEC_DRV_NAME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movl	$16, %r8d
	callq	_platform_device_register_data
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DRM_INFO
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mtk_hdmi_audio_codec_ops,4,2   ## @mtk_hdmi_audio_codec_ops
	.section	__DATA,__const
	.p2align	3                               ## @__const.mtk_hdmi_register_audio_driver.codec_data
l___const.mtk_hdmi_register_audio_driver.codec_data:
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.quad	_mtk_hdmi_audio_codec_ops

	.comm	_HDMI_CODEC_DRV_NAME,4,2        ## @HDMI_CODEC_DRV_NAME
	.comm	_PLATFORM_DEVID_AUTO,4,2        ## @PLATFORM_DEVID_AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s driver bound to HDMI\n"

	.no_dead_strip	_mtk_hdmi_register_audio_driver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_hdmi_register_audio_driver
_mtk_hdmi_register_audio_driver:        ; @mtk_hdmi_register_audio_driver
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, l___const.mtk_hdmi_register_audio_driver.codec_data@PAGE
Lloh1:
	add	x8, x8, l___const.mtk_hdmi_register_audio_driver.codec_data@PAGEOFF
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh3:
	adrp	x19, _HDMI_CODEC_DRV_NAME@GOTPAGE
Lloh4:
	ldr	x19, [x19, _HDMI_CODEC_DRV_NAME@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh5:
	adrp	x8, _PLATFORM_DEVID_AUTO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x3, sp
	mov	w4, #16
	bl	_platform_device_register_data
	bl	_IS_ERR
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_INFO
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAddLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_mtk_hdmi_audio_codec_ops,4,2   ; @mtk_hdmi_audio_codec_ops
	.section	__DATA,__const
	.p2align	3                               ; @__const.mtk_hdmi_register_audio_driver.codec_data
l___const.mtk_hdmi_register_audio_driver.codec_data:
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.quad	_mtk_hdmi_audio_codec_ops

	.comm	_HDMI_CODEC_DRV_NAME,4,2        ; @HDMI_CODEC_DRV_NAME
	.comm	_PLATFORM_DEVID_AUTO,4,2        ; @PLATFORM_DEVID_AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s driver bound to HDMI\n"

	.no_dead_strip	_mtk_hdmi_register_audio_driver
.subsections_via_symbols
