	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_intrinsic_event
_hdmi_intrinsic_event:                  ## @hdmi_intrinsic_event
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	_AC_UNSOL_RES_TAG_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrl	%cl, %esi
	callq	_snd_hda_jack_tbl_get_from_tag
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rax), %r12d
	movl	$1, 4(%rax)
	movq	_SND_PR_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	movq	_AC_UNSOL_RES_PD@GOTPCREL(%rip), %rax
	xorl	%r8d, %r8d
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%r8b
	movq	_AC_UNSOL_RES_ELDV@GOTPCREL(%rip), %rax
	xorl	%r9d, %r9d
	andl	(%rax), %ebx
	setne	%r9b
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %ecx
	callq	__snd_printd
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_pin_nid_to_pin_index
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_get_pin
	movl	%eax, %edi
	movl	$1, %esi
	callq	_hdmi_present_sense
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_hda_jack_report_sync       ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_UNSOL_RES_TAG_SHIFT,4,2     ## @AC_UNSOL_RES_TAG_SHIFT
	.comm	_SND_PR_VERBOSE,4,2             ## @SND_PR_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HDMI hot plug event: Codec=%d Pin=%d Presence_Detect=%d ELD_Valid=%d\n"

	.comm	_AC_UNSOL_RES_PD,4,2            ## @AC_UNSOL_RES_PD
	.comm	_AC_UNSOL_RES_ELDV,4,2          ## @AC_UNSOL_RES_ELDV
	.no_dead_strip	_hdmi_intrinsic_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_intrinsic_event
_hdmi_intrinsic_event:                  ; @hdmi_intrinsic_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _AC_UNSOL_RES_TAG_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_UNSOL_RES_TAG_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsr	w1, w1, w8
	bl	_snd_hda_jack_tbl_get_from_tag
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w22, [x0]
	mov	w8, #1
	str	w8, [x0, #4]
Lloh3:
	adrp	x8, _SND_PR_VERBOSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SND_PR_VERBOSE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh6:
	adrp	x8, _AC_UNSOL_RES_PD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AC_UNSOL_RES_PD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	cset	w4, ne
Lloh9:
	adrp	x8, _AC_UNSOL_RES_ELDV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AC_UNSOL_RES_ELDV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	cset	w5, ne
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x22
	bl	__snd_printd
	mov	x0, x20
	mov	x1, x22
	bl	_pin_nid_to_pin_index
	tbnz	w0, #31, LBB0_3
; %bb.2:
	mov	x1, x0
	mov	x0, x20
	bl	_get_pin
	mov	w1, #1
	bl	_hdmi_present_sense
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_hda_jack_report_sync
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_UNSOL_RES_TAG_SHIFT,4,2     ; @AC_UNSOL_RES_TAG_SHIFT
	.comm	_SND_PR_VERBOSE,4,2             ; @SND_PR_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HDMI hot plug event: Codec=%d Pin=%d Presence_Detect=%d ELD_Valid=%d\n"

	.comm	_AC_UNSOL_RES_PD,4,2            ; @AC_UNSOL_RES_PD
	.comm	_AC_UNSOL_RES_ELDV,4,2          ; @AC_UNSOL_RES_ELDV
	.no_dead_strip	_hdmi_intrinsic_event
.subsections_via_symbols
