	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sti_hdmi_register_audio_driver
_sti_hdmi_register_audio_driver:        ## @sti_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movups	l___const.sti_hdmi_register_audio_driver.codec_data(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	movl	$0, 4(%rbx)
	movq	_HDMI_CODEC_DRV_NAME@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movl	$16, %r8d
	callq	_platform_device_register_data
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_PTR_ERR
	jmp	LBB0_3
LBB0_2:
	movl	(%r15), %ebx
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_DRM_INFO
	xorl	%eax, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_audio_codec_ops,4,2            ## @audio_codec_ops
	.section	__DATA,__const
	.p2align	3                               ## @__const.sti_hdmi_register_audio_driver.codec_data
l___const.sti_hdmi_register_audio_driver.codec_data:
	.long	8                               ## 0x8
	.long	1                               ## 0x1
	.quad	_audio_codec_ops

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_HDMI_CODEC_DRV_NAME,4,2        ## @HDMI_CODEC_DRV_NAME
	.comm	_PLATFORM_DEVID_AUTO,4,2        ## @PLATFORM_DEVID_AUTO
L_.str.1:                               ## @.str.1
	.asciz	"%s Driver bound %s\n"

	.no_dead_strip	_sti_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 sti_hdmi_register_audio_driver
_sti_hdmi_register_audio_driver:        ; @sti_hdmi_register_audio_driver
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, l___const.sti_hdmi_register_audio_driver.codec_data@PAGE
Lloh1:
	add	x8, x8, l___const.sti_hdmi_register_audio_driver.codec_data@PAGEOFF
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	str	wzr, [x20, #4]
Lloh5:
	adrp	x21, _HDMI_CODEC_DRV_NAME@GOTPAGE
Lloh6:
	ldr	x21, [x21, _HDMI_CODEC_DRV_NAME@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh7:
	adrp	x8, _PLATFORM_DEVID_AUTO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x3, sp
	mov	x0, x19
	mov	w4, #16
	bl	_platform_device_register_data
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_PTR_ERR
	b	LBB0_3
LBB0_2:
	ldr	w20, [x21]
	mov	x0, x19
	bl	_dev_name
	mov	x2, x0
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_DRM_INFO
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAddLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_audio_codec_ops,4,2            ; @audio_codec_ops
	.section	__DATA,__const
	.p2align	3                               ; @__const.sti_hdmi_register_audio_driver.codec_data
l___const.sti_hdmi_register_audio_driver.codec_data:
	.long	8                               ; 0x8
	.long	1                               ; 0x1
	.quad	_audio_codec_ops

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_HDMI_CODEC_DRV_NAME,4,2        ; @HDMI_CODEC_DRV_NAME
	.comm	_PLATFORM_DEVID_AUTO,4,2        ; @PLATFORM_DEVID_AUTO
l_.str.1:                               ; @.str.1
	.asciz	"%s Driver bound %s\n"

	.no_dead_strip	_sti_hdmi_register_audio_driver
.subsections_via_symbols
