	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ac97_spdif_default_put
_snd_ac97_spdif_default_put:            ## @snd_ac97_spdif_default_put
	.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
	movq	%rsi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r14
	movq	%rax, %r15
	movq	(%rbx), %rcx
	movl	(%rcx), %edi
	movq	_IEC958_AES0_PROFESSIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IEC958_AES0_NONAUDIO@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	orl	%edx, %eax
	andl	%edi, %eax
	movzwl	%ax, %ebx
	testl	%edi, %edx
	je	LBB0_8
## %bb.1:
	movq	_IEC958_AES0_PRO_FS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IEC958_AES0_PRO_EMPHASIS_5015@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %r12d
	orl	%edx, %r12d
	andl	%edi, %r12d
	orl	%ebx, %r12d
	andl	%r12d, %edx
	cmpl	$133, %edx
	je	LBB0_5
## %bb.2:
	cmpl	$132, %edx
	je	LBB0_7
## %bb.3:
	cmpl	$131, %edx
	jne	LBB0_6
## %bb.4:
	orl	$8192, %eax                     ## imm = 0x2000
	jmp	LBB0_7
LBB0_8:
	movq	_IEC958_AES0_CON_EMPHASIS_5015@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_IEC958_AES0_CON_NOT_COPYRIGHT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	%r8d, %edx
	orl	%esi, %edx
	andl	%edi, %edx
	orl	%ebx, %edx
	movq	_IEC958_AES1_CON_CATEGORY@GOTPCREL(%rip), %rdi
	movq	_IEC958_AES1_CON_ORIGINAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	orl	(%rdi), %ebx
	andl	4(%rcx), %ebx
	shll	$8, %ebx
	orl	%edx, %ebx
	movq	_IEC958_AES3_CON_FS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	andl	12(%rcx), %r12d
	shll	$24, %r12d
	orl	%ebx, %r12d
	movq	_IEC958_AES0_CON_EMPHASIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r12d, %ecx
	movl	%eax, %edx
	orl	$8, %edx
	cmpl	%esi, %ecx
	cmovnel	%eax, %edx
	movl	%edx, %eax
	orl	$4, %eax
	testl	%r8d, %r12d
	cmovnel	%edx, %eax
	shrl	$4, %ebx
	andl	$4080, %ebx                     ## imm = 0xFF0
	orl	%eax, %ebx
	movl	%r12d, %eax
	shrl	$24, %eax
	cmpb	$-126, %al
	je	LBB0_12
## %bb.9:
	cmpb	$-127, %al
	je	LBB0_14
## %bb.10:
	cmpb	$-128, %al
	jne	LBB0_13
## %bb.11:
	orl	$8192, %ebx                     ## imm = 0x2000
	jmp	LBB0_14
LBB0_5:
	orl	$12288, %eax                    ## imm = 0x3000
	jmp	LBB0_7
LBB0_6:
	orl	$4096, %eax                     ## imm = 0x1000
LBB0_7:
	movq	_IEC958_AES0_PRO_EMPHASIS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%r12d, %edx
	movl	%eax, %ebx
	orl	$8, %ebx
	cmpl	%ecx, %edx
	cmovnel	%eax, %ebx
LBB0_14:
	addq	$16, %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	(%r15), %esi
	movl	4(%r15), %eax
	movl	%r12d, (%r15)
	movq	_AC97_CS_SPDIF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	testl	$12288, %ebx                    ## imm = 0x3000
	sete	%al
	shll	$12, %eax
	movq	_AC97_CSR_SPDIF@GOTPCREL(%rip), %rcx
	movl	%esi, %r13d
	movl	(%rcx), %esi
	andl	$-12289, %ebx                   ## imm = 0xCFFF
	orl	%eax, %ebx
	movzwl	%bx, %ecx
	movq	%r15, %rdi
	movl	$16383, %edx                    ## imm = 0x3FFF
	callq	_snd_ac97_update_bits_nolock
	movl	%r13d, %ecx
	movl	%eax, %r13d
	jmp	LBB0_26
LBB0_16:
	movq	_AC97_CX_SPDIF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.17:
	movq	_IEC958_AES0_CON_EMPHASIS_5015@GOTPCREL(%rip), %rax
	movq	_IEC958_AES0_CON_NOT_COPYRIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%edx, %edx
	testl	%r12d, %ecx
	movq	_AC97_CXR_COPYRGT@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	cmovel	%eax, %edx
	movzwl	%dx, %edx
	movl	(%r13), %ecx
	movl	%esi, %ebx
	andl	%r12d, %ecx
	jne	LBB0_18
## %bb.19:
	movq	_AC97_CXR_SPDIF_PCM@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
LBB0_21:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r15), %rax
	movq	_AC97_ID_YMF743@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.22:
	movq	_AC97_YMF7X3_DIT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %eax
	andl	$-16, %eax
	shll	$4, %eax
	andl	$14, %ebx
	leal	(%rax,%rbx,4), %eax
	movzwl	%ax, %ecx
	movq	%r15, %rdi
	movl	$65336, %edx                    ## imm = 0xFF38
	callq	_snd_ac97_update_bits_nolock
	movl	%eax, %r13d
	jmp	LBB0_25
LBB0_18:
	movq	_AC97_CXR_SPDIF_AC3@GOTPCREL(%rip), %rcx
LBB0_20:
	movzwl	(%rcx), %ecx
	orl	%edx, %ecx
	movq	_AC97_CXR_AUDIO_MISC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_AC97_CXR_SPDIF_MASK@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %edx
	orw	%ax, %dx
	movzwl	%dx, %edx
	movq	%r15, %rdi
	callq	_snd_ac97_update_bits_nolock
	movl	%eax, %r13d
	movl	%ebx, %ecx
	jmp	LBB0_26
LBB0_12:
	orl	$12288, %ebx                    ## imm = 0x3000
	jmp	LBB0_14
LBB0_13:
	orl	$4096, %ebx                     ## imm = 0x1000
	jmp	LBB0_14
LBB0_23:
	movq	_AC97_EXTENDED_STATUS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_snd_ac97_read_cache
	movw	%ax, -46(%rbp)                  ## 2-byte Spill
	movl	(%r13), %esi
	movq	_AC97_EA_SPDIF@GOTPCREL(%rip), %rax
	movzwl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_snd_ac97_update_bits_nolock
	movq	_AC97_SPDIF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzwl	%bx, %ecx
	movq	%r15, %rdi
	movl	$16383, %edx                    ## imm = 0x3FFF
	callq	_snd_ac97_update_bits_nolock
	movl	%eax, %r13d
	movq	_AC97_EA_SPDIF@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	testw	%ax, -46(%rbp)                  ## 2-byte Folded Reload
	je	LBB0_25
## %bb.24:
	movq	_AC97_EXTENDED_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movzwl	%ax, %ecx
	movq	%r15, %rdi
	movl	%ecx, %edx
	callq	_snd_ac97_update_bits_nolock
LBB0_25:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_26:
	xorl	%ebx, %ebx
	cmpl	%r12d, %ecx
	setne	%bl
	orl	%r13d, %ebx
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEC958_AES0_PROFESSIONAL,4,2   ## @IEC958_AES0_PROFESSIONAL
	.comm	_IEC958_AES0_NONAUDIO,4,2       ## @IEC958_AES0_NONAUDIO
	.comm	_IEC958_AES0_PRO_FS,4,2         ## @IEC958_AES0_PRO_FS
	.comm	_IEC958_AES0_PRO_EMPHASIS_5015,4,2 ## @IEC958_AES0_PRO_EMPHASIS_5015
	.comm	_IEC958_AES0_PRO_EMPHASIS,4,2   ## @IEC958_AES0_PRO_EMPHASIS
	.comm	_IEC958_AES0_CON_EMPHASIS_5015,4,2 ## @IEC958_AES0_CON_EMPHASIS_5015
	.comm	_IEC958_AES0_CON_NOT_COPYRIGHT,4,2 ## @IEC958_AES0_CON_NOT_COPYRIGHT
	.comm	_IEC958_AES1_CON_CATEGORY,4,2   ## @IEC958_AES1_CON_CATEGORY
	.comm	_IEC958_AES1_CON_ORIGINAL,4,2   ## @IEC958_AES1_CON_ORIGINAL
	.comm	_IEC958_AES3_CON_FS,4,2         ## @IEC958_AES3_CON_FS
	.comm	_IEC958_AES0_CON_EMPHASIS,4,2   ## @IEC958_AES0_CON_EMPHASIS
	.comm	_AC97_CS_SPDIF,4,2              ## @AC97_CS_SPDIF
	.comm	_AC97_CSR_SPDIF,4,2             ## @AC97_CSR_SPDIF
	.comm	_AC97_CX_SPDIF,4,2              ## @AC97_CX_SPDIF
	.comm	_AC97_CXR_COPYRGT,2,1           ## @AC97_CXR_COPYRGT
	.comm	_AC97_CXR_SPDIF_AC3,4,2         ## @AC97_CXR_SPDIF_AC3
	.comm	_AC97_CXR_SPDIF_PCM,4,2         ## @AC97_CXR_SPDIF_PCM
	.comm	_AC97_CXR_AUDIO_MISC,4,2        ## @AC97_CXR_AUDIO_MISC
	.comm	_AC97_CXR_SPDIF_MASK,2,1        ## @AC97_CXR_SPDIF_MASK
	.comm	_AC97_ID_YMF743,8,3             ## @AC97_ID_YMF743
	.comm	_AC97_YMF7X3_DIT_CTRL,4,2       ## @AC97_YMF7X3_DIT_CTRL
	.comm	_AC97_EXTENDED_STATUS,4,2       ## @AC97_EXTENDED_STATUS
	.comm	_AC97_EA_SPDIF,2,1              ## @AC97_EA_SPDIF
	.comm	_AC97_SPDIF,4,2                 ## @AC97_SPDIF
	.no_dead_strip	_snd_ac97_spdif_default_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ac97_spdif_default_put
_snd_ac97_spdif_default_put:            ; @snd_ac97_spdif_default_put
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	x9, [x20]
	ldr	w10, [x9]
Lloh0:
	adrp	x8, _IEC958_AES0_PROFESSIONAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEC958_AES0_PROFESSIONAL@GOTPAGEOFF]
Lloh2:
	adrp	x21, _IEC958_AES0_NONAUDIO@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IEC958_AES0_NONAUDIO@GOTPAGEOFF]
Lloh4:
	ldr	w12, [x8]
	ldr	w8, [x21]
	orr	w8, w8, w12
	and	w8, w8, w10
	and	w11, w8, #0xffff
	tst	w12, w10
	b.eq	LBB0_4
; %bb.1:
Lloh5:
	adrp	x9, _IEC958_AES0_PRO_FS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEC958_AES0_PRO_FS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x12, _IEC958_AES0_PRO_EMPHASIS_5015@GOTPAGE
Lloh9:
	ldr	x12, [x12, _IEC958_AES0_PRO_EMPHASIS_5015@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x12]
	orr	w13, w12, w9
	and	w10, w13, w10
	orr	w23, w10, w11
	and	w9, w23, w9
	orr	w10, w8, #0x3000
	orr	w11, w8, #0x1000
	orr	w13, w8, #0x2000
	cmp	w9, #131
	csel	w11, w11, w13, ne
	cmp	w9, #132
	csel	w8, w8, w11, eq
Lloh11:
	adrp	x11, _IEC958_AES0_PRO_EMPHASIS@GOTPAGE
Lloh12:
	ldr	x11, [x11, _IEC958_AES0_PRO_EMPHASIS@GOTPAGEOFF]
	cmp	w9, #133
	csel	w8, w10, w8, eq
Lloh13:
	ldr	w9, [x11]
	and	w9, w9, w23
	orr	w10, w8, #0x8
	cmp	w9, w12
	csel	w25, w10, w8, eq
LBB0_2:
	add	x20, x19, #16
	mov	x0, x20
	bl	_mutex_lock
	ldp	w24, w8, [x19]
	str	w23, [x19]
Lloh14:
	adrp	x9, _AC97_CS_SPDIF@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AC97_CS_SPDIF@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.3:
	tst	w25, #0x3000
	cset	w8, eq
Lloh17:
	adrp	x9, _AC97_CSR_SPDIF@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AC97_CSR_SPDIF@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x9]
	mov	w9, #53247
	and	w3, w25, w9
	bfi	w3, w8, #12, #1
	mov	x0, x19
	mov	w2, #16383
	b	LBB0_12
LBB0_4:
Lloh20:
	adrp	x12, _IEC958_AES0_CON_EMPHASIS_5015@GOTPAGE
Lloh21:
	ldr	x12, [x12, _IEC958_AES0_CON_EMPHASIS_5015@GOTPAGEOFF]
Lloh22:
	adrp	x13, _IEC958_AES0_CON_NOT_COPYRIGHT@GOTPAGE
Lloh23:
	ldr	x13, [x13, _IEC958_AES0_CON_NOT_COPYRIGHT@GOTPAGEOFF]
Lloh24:
	ldr	w12, [x12]
Lloh25:
	ldr	w13, [x13]
	orr	w14, w13, w12
	and	w10, w14, w10
	orr	w10, w10, w11
	ldr	w11, [x9, #4]
Lloh26:
	adrp	x14, _IEC958_AES1_CON_CATEGORY@GOTPAGE
Lloh27:
	ldr	x14, [x14, _IEC958_AES1_CON_CATEGORY@GOTPAGEOFF]
Lloh28:
	ldr	w14, [x14]
Lloh29:
	adrp	x15, _IEC958_AES1_CON_ORIGINAL@GOTPAGE
Lloh30:
	ldr	x15, [x15, _IEC958_AES1_CON_ORIGINAL@GOTPAGEOFF]
Lloh31:
	ldr	w15, [x15]
	orr	w14, w15, w14
	and	w11, w14, w11
	orr	w10, w10, w11, lsl #8
	ldr	w9, [x9, #12]
Lloh32:
	adrp	x11, _IEC958_AES3_CON_FS@GOTPAGE
Lloh33:
	ldr	x11, [x11, _IEC958_AES3_CON_FS@GOTPAGEOFF]
Lloh34:
	ldr	w11, [x11]
	and	w9, w11, w9
	orr	w23, w10, w9, lsl #24
Lloh35:
	adrp	x9, _IEC958_AES0_CON_EMPHASIS@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IEC958_AES0_CON_EMPHASIS@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	and	w9, w23, w9
	orr	w11, w8, #0x8
	cmp	w9, w12
	csel	w8, w11, w8, eq
	orr	w9, w8, #0x4
	tst	w23, w13
	csel	w8, w9, w8, eq
	lsr	w9, w10, #4
	and	w9, w9, #0xff0
	orr	w25, w8, w9
	lsr	w8, w23, #24
	cmp	w8, #130
	b.eq	LBB0_14
; %bb.5:
	cmp	w8, #129
	b.eq	LBB0_2
; %bb.6:
	cmp	w8, #128
	b.ne	LBB0_15
; %bb.7:
	orr	w25, w25, #0x2000
	b	LBB0_2
LBB0_8:
Lloh38:
	adrp	x9, _AC97_CX_SPDIF@GOTPAGE
Lloh39:
	ldr	x9, [x9, _AC97_CX_SPDIF@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
Lloh41:
	adrp	x8, _IEC958_AES0_CON_EMPHASIS_5015@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IEC958_AES0_CON_EMPHASIS_5015@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _IEC958_AES0_CON_NOT_COPYRIGHT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _IEC958_AES0_CON_NOT_COPYRIGHT@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh47:
	adrp	x9, _AC97_CXR_COPYRGT@GOTPAGE
Lloh48:
	ldr	x9, [x9, _AC97_CXR_COPYRGT@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w8, w23
	csel	w8, w9, wzr, eq
	and	w8, w8, #0xffff
	ldr	w10, [x21]
Lloh49:
	adrp	x11, _AC97_CXR_SPDIF_AC3@GOTPAGE
Lloh50:
	ldr	x11, [x11, _AC97_CXR_SPDIF_AC3@GOTPAGEOFF]
Lloh51:
	adrp	x12, _AC97_CXR_SPDIF_PCM@GOTPAGE
Lloh52:
	ldr	x12, [x12, _AC97_CXR_SPDIF_PCM@GOTPAGEOFF]
	tst	w10, w23
	csel	x10, x12, x11, eq
	ldrh	w10, [x10]
	orr	w3, w10, w8
Lloh53:
	adrp	x8, _AC97_CXR_AUDIO_MISC@GOTPAGE
Lloh54:
	ldr	x8, [x8, _AC97_CXR_AUDIO_MISC@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
Lloh56:
	adrp	x8, _AC97_CXR_SPDIF_MASK@GOTPAGE
Lloh57:
	ldr	x8, [x8, _AC97_CXR_SPDIF_MASK@GOTPAGEOFF]
	ldrh	w8, [x8]
	orr	w8, w8, w9
	and	w2, w8, #0xffff
	mov	x0, x19
	b	LBB0_12
LBB0_10:
	ldr	x8, [x19, #8]
Lloh58:
	adrp	x9, _AC97_ID_YMF743@GOTPAGE
Lloh59:
	ldr	x9, [x9, _AC97_ID_YMF743@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.11:
Lloh61:
	adrp	x8, _AC97_YMF7X3_DIT_CTRL@GOTPAGE
Lloh62:
	ldr	x8, [x8, _AC97_YMF7X3_DIT_CTRL@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	lsr	w8, w25, #4
	lsl	w9, w25, #2
	and	w3, w9, #0x38
	bfi	w3, w8, #8, #8
	mov	x0, x19
	mov	w2, #65336
LBB0_12:
	bl	_snd_ac97_update_bits_nolock
	mov	x21, x0
LBB0_13:
	cmp	w24, w23
	cset	w8, ne
	orr	w19, w21, w8
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	orr	w25, w25, #0x3000
	b	LBB0_2
LBB0_15:
	orr	w25, w25, #0x1000
	b	LBB0_2
LBB0_16:
Lloh64:
	adrp	x26, _AC97_EXTENDED_STATUS@GOTPAGE
Lloh65:
	ldr	x26, [x26, _AC97_EXTENDED_STATUS@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_snd_ac97_read_cache
	mov	x22, x0
	ldr	w1, [x26]
Lloh66:
	adrp	x27, _AC97_EA_SPDIF@GOTPAGE
Lloh67:
	ldr	x27, [x27, _AC97_EA_SPDIF@GOTPAGEOFF]
	ldrh	w2, [x27]
	mov	x0, x19
	mov	w3, #0
	bl	_snd_ac97_update_bits_nolock
Lloh68:
	adrp	x8, _AC97_SPDIF@GOTPAGE
Lloh69:
	ldr	x8, [x8, _AC97_SPDIF@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	and	w3, w25, #0xffff
	mov	x0, x19
	mov	w2, #16383
	bl	_snd_ac97_update_bits_nolock
	mov	x21, x0
	ldrh	w2, [x27]
	tst	w2, w22
	b.eq	LBB0_13
; %bb.17:
	ldr	w1, [x26]
	mov	x0, x19
	mov	x3, x2
	bl	_snd_ac97_update_bits_nolock
	b	LBB0_13
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_IEC958_AES0_PROFESSIONAL,4,2   ; @IEC958_AES0_PROFESSIONAL
	.comm	_IEC958_AES0_NONAUDIO,4,2       ; @IEC958_AES0_NONAUDIO
	.comm	_IEC958_AES0_PRO_FS,4,2         ; @IEC958_AES0_PRO_FS
	.comm	_IEC958_AES0_PRO_EMPHASIS_5015,4,2 ; @IEC958_AES0_PRO_EMPHASIS_5015
	.comm	_IEC958_AES0_PRO_EMPHASIS,4,2   ; @IEC958_AES0_PRO_EMPHASIS
	.comm	_IEC958_AES0_CON_EMPHASIS_5015,4,2 ; @IEC958_AES0_CON_EMPHASIS_5015
	.comm	_IEC958_AES0_CON_NOT_COPYRIGHT,4,2 ; @IEC958_AES0_CON_NOT_COPYRIGHT
	.comm	_IEC958_AES1_CON_CATEGORY,4,2   ; @IEC958_AES1_CON_CATEGORY
	.comm	_IEC958_AES1_CON_ORIGINAL,4,2   ; @IEC958_AES1_CON_ORIGINAL
	.comm	_IEC958_AES3_CON_FS,4,2         ; @IEC958_AES3_CON_FS
	.comm	_IEC958_AES0_CON_EMPHASIS,4,2   ; @IEC958_AES0_CON_EMPHASIS
	.comm	_AC97_CS_SPDIF,4,2              ; @AC97_CS_SPDIF
	.comm	_AC97_CSR_SPDIF,4,2             ; @AC97_CSR_SPDIF
	.comm	_AC97_CX_SPDIF,4,2              ; @AC97_CX_SPDIF
	.comm	_AC97_CXR_COPYRGT,2,1           ; @AC97_CXR_COPYRGT
	.comm	_AC97_CXR_SPDIF_AC3,4,2         ; @AC97_CXR_SPDIF_AC3
	.comm	_AC97_CXR_SPDIF_PCM,4,2         ; @AC97_CXR_SPDIF_PCM
	.comm	_AC97_CXR_AUDIO_MISC,4,2        ; @AC97_CXR_AUDIO_MISC
	.comm	_AC97_CXR_SPDIF_MASK,2,1        ; @AC97_CXR_SPDIF_MASK
	.comm	_AC97_ID_YMF743,8,3             ; @AC97_ID_YMF743
	.comm	_AC97_YMF7X3_DIT_CTRL,4,2       ; @AC97_YMF7X3_DIT_CTRL
	.comm	_AC97_EXTENDED_STATUS,4,2       ; @AC97_EXTENDED_STATUS
	.comm	_AC97_EA_SPDIF,2,1              ; @AC97_EA_SPDIF
	.comm	_AC97_SPDIF,4,2                 ; @AC97_SPDIF
	.no_dead_strip	_snd_ac97_spdif_default_put
.subsections_via_symbols
