	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce4_afmt_write_latency_fields ## -- Begin function dce4_afmt_write_latency_fields
	.p2align	4, 0x90
_dce4_afmt_write_latency_fields:        ## @dce4_afmt_write_latency_fields
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%rsi), %rax
	testl	%ecx, (%rdx)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.2:
	movq	(%r14), %rax
	movl	4(%rax), %edi
	callq	_VIDEO_LIPSYNC
	movl	%eax, %ebx
	movq	8(%r14), %rax
	movl	4(%rax), %r14d
	jmp	LBB0_6
LBB0_3:
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_VIDEO_LIPSYNC
	movl	%eax, %ebx
	movq	8(%r14), %rax
	movl	(%rax), %r14d
	jmp	LBB0_6
LBB0_5:
	movl	$255, %r14d
	movl	$255, %edi
	callq	_VIDEO_LIPSYNC
	movl	%eax, %ebx
LBB0_6:
	movl	%r14d, %edi
	callq	_AUDIO_LIPSYNC
	orl	%eax, %ebx
	movq	_AZ_F0_CODEC_PIN0_CONTROL_RESPONSE_LIPSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WREG32_ENDPOINT                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_AZ_F0_CODEC_PIN0_CONTROL_RESPONSE_LIPSYNC,4,2 ## @AZ_F0_CODEC_PIN0_CONTROL_RESPONSE_LIPSYNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce4_afmt_write_latency_fields ; -- Begin function dce4_afmt_write_latency_fields
	.p2align	2
_dce4_afmt_write_latency_fields:        ; @dce4_afmt_write_latency_fields
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	w9, [x2]
Lloh0:
	adrp	x8, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	ldr	x8, [x1, #16]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	bl	_VIDEO_LIPSYNC
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	w19, [x8, #4]
	b	LBB0_6
LBB0_3:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_VIDEO_LIPSYNC
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	w19, [x8]
	b	LBB0_6
LBB0_5:
	mov	w19, #255
	mov	w0, #255
	bl	_VIDEO_LIPSYNC
	mov	x20, x0
LBB0_6:
	mov	x0, x19
	bl	_AUDIO_LIPSYNC
	orr	w2, w0, w20
Lloh3:
	adrp	x8, _AZ_F0_CODEC_PIN0_CONTROL_RESPONSE_LIPSYNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AZ_F0_CODEC_PIN0_CONTROL_RESPONSE_LIPSYNC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32_ENDPOINT
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_AZ_F0_CODEC_PIN0_CONTROL_RESPONSE_LIPSYNC,4,2 ; @AZ_F0_CODEC_PIN0_CONTROL_RESPONSE_LIPSYNC
.subsections_via_symbols
