	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_infoframe_uptodate
_hdmi_infoframe_uptodate:               ## @hdmi_infoframe_uptodate
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_AC_VERB_GET_HDMI_DIP_XMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	movq	_AC_DIPXMIT_BEST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	%r13, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_hdmi_set_dip_index
	movl	$1, %ebx
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.2:
	movl	%r12d, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_AC_VERB_GET_HDMI_DIP_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	cmpq	(%r14,%r12,8), %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	cmpq	%r12, %rbx
	jne	LBB0_3
## %bb.5:
	movl	$1, %ebx
	jmp	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_VERB_GET_HDMI_DIP_XMIT,4,2  ## @AC_VERB_GET_HDMI_DIP_XMIT
	.comm	_AC_DIPXMIT_BEST,8,3            ## @AC_DIPXMIT_BEST
	.comm	_AC_VERB_GET_HDMI_DIP_DATA,4,2  ## @AC_VERB_GET_HDMI_DIP_DATA
	.no_dead_strip	_hdmi_infoframe_uptodate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_infoframe_uptodate
_hdmi_infoframe_uptodate:               ; @hdmi_infoframe_uptodate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _AC_VERB_GET_HDMI_DIP_XMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_VERB_GET_HDMI_DIP_XMIT@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
	mov	x8, x0
	mov	w0, #0
Lloh3:
	adrp	x9, _AC_DIPXMIT_BEST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AC_DIPXMIT_BEST@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_hdmi_set_dip_index
	cmp	w22, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w22, w22
Lloh6:
	adrp	x23, _AC_VERB_GET_HDMI_DIP_DATA@GOTPAGE
Lloh7:
	ldr	x23, [x23, _AC_VERB_GET_HDMI_DIP_DATA@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x23]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #8
	subs	x22, x22, #1
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_VERB_GET_HDMI_DIP_XMIT,4,2  ; @AC_VERB_GET_HDMI_DIP_XMIT
	.comm	_AC_DIPXMIT_BEST,8,3            ; @AC_DIPXMIT_BEST
	.comm	_AC_VERB_GET_HDMI_DIP_DATA,4,2  ; @AC_VERB_GET_HDMI_DIP_DATA
	.no_dead_strip	_hdmi_infoframe_uptodate
.subsections_via_symbols
