	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_audio_register
_hdmi_audio_register:                   ## @hdmi_audio_register
	.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	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$5, -40(%rbp)
	movq	_hdmi_audio_ops@GOTPCREL(%rip), %rax
	movq	%rax, -32(%rbp)
	callq	_hdmi_wp_get_audio_dma_addr
	movl	%eax, -24(%rbp)
	movq	16(%rbx), %rdi
	movq	%rdi, -16(%rbp)
	movq	_PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rcx
	movl	$32, %r8d
	callq	_platform_device_register_data
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_PTR_ERR
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_hdmi_runtime_get
	movl	(%rbx), %edi
	movq	_HDMI_WP_SYSCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$3, %edx
	movl	$2, %ecx
	callq	_REG_GET
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_hdmi_runtime_put
	xorl	%eax, %eax
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hdmi_audio_ops,4,2             ## @hdmi_audio_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"omap-hdmi-audio"

	.comm	_PLATFORM_DEVID_AUTO,4,2        ## @PLATFORM_DEVID_AUTO
	.comm	_HDMI_WP_SYSCONFIG,4,2          ## @HDMI_WP_SYSCONFIG
	.no_dead_strip	_hdmi_audio_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_audio_register
_hdmi_audio_register:                   ; @hdmi_audio_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	mov	w8, #5
	str	w8, [sp]
Lloh0:
	adrp	x8, _hdmi_audio_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hdmi_audio_ops@GOTPAGEOFF]
	str	x8, [sp, #8]
	bl	_hdmi_wp_get_audio_dma_addr
	str	w0, [sp, #16]
	ldr	x0, [x19, #16]
	str	x0, [sp, #24]
Lloh2:
	adrp	x8, _PLATFORM_DEVID_AUTO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, sp
	mov	w4, #32
	bl	_platform_device_register_data
	str	w0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_PTR_ERR
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_hdmi_runtime_get
	ldr	w0, [x19]
Lloh7:
	adrp	x8, _HDMI_WP_SYSCONFIG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDMI_WP_SYSCONFIG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w2, #3
	mov	w3, #2
	bl	_REG_GET
	str	w0, [x19, #4]
	mov	x0, x19
	bl	_hdmi_runtime_put
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_hdmi_audio_ops,4,2             ; @hdmi_audio_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"omap-hdmi-audio"

	.comm	_PLATFORM_DEVID_AUTO,4,2        ; @PLATFORM_DEVID_AUTO
	.comm	_HDMI_WP_SYSCONFIG,4,2          ; @HDMI_WP_SYSCONFIG
	.no_dead_strip	_hdmi_audio_register
.subsections_via_symbols
