	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function snd_ice1712_spdif_maskp_get
LCPI0_0:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_snd_ice1712_spdif_maskp_get:           ## @snd_ice1712_spdif_maskp_get
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_snd_kcontrol_chip
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_IEC958_AES0_NONAUDIO@GOTPCREL(%rip), %rax
	movq	_IEC958_AES0_PROFESSIONAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IEC958_AES0_PRO_FS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_IEC958_AES0_PRO_EMPHASIS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	(%rbx), %rax
	movl	%ecx, (%rax)
	movq	_IEC958_AES1_PRO_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,255,255,255]
	movups	%xmm0, (%rax)
	movl	$255, 16(%rax)
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEC958_AES0_NONAUDIO,4,2       ## @IEC958_AES0_NONAUDIO
	.comm	_IEC958_AES0_PROFESSIONAL,4,2   ## @IEC958_AES0_PROFESSIONAL
	.comm	_IEC958_AES0_PRO_FS,4,2         ## @IEC958_AES0_PRO_FS
	.comm	_IEC958_AES0_PRO_EMPHASIS,4,2   ## @IEC958_AES0_PRO_EMPHASIS
	.comm	_IEC958_AES1_PRO_MODE,4,2       ## @IEC958_AES1_PRO_MODE
	.no_dead_strip	_snd_ice1712_spdif_maskp_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ice1712_spdif_maskp_get
_snd_ice1712_spdif_maskp_get:           ; @snd_ice1712_spdif_maskp_get
	.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
	bl	_snd_kcontrol_chip
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IEC958_AES0_NONAUDIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEC958_AES0_NONAUDIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IEC958_AES0_PROFESSIONAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEC958_AES0_PROFESSIONAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _IEC958_AES0_PRO_FS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEC958_AES0_PRO_FS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _IEC958_AES0_PRO_EMPHASIS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEC958_AES0_PRO_EMPHASIS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	x9, [x19]
	str	w8, [x9]
Lloh12:
	adrp	x8, _IEC958_AES1_PRO_MODE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEC958_AES1_PRO_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x9, #4]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	movi.2d	v0, #0x0000ff000000ff
	str	q0, [x8]
	mov	w9, #255
	str	w9, [x8, #16]
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEC958_AES0_NONAUDIO,4,2       ; @IEC958_AES0_NONAUDIO
	.comm	_IEC958_AES0_PROFESSIONAL,4,2   ; @IEC958_AES0_PROFESSIONAL
	.comm	_IEC958_AES0_PRO_FS,4,2         ; @IEC958_AES0_PRO_FS
	.comm	_IEC958_AES0_PRO_EMPHASIS,4,2   ; @IEC958_AES0_PRO_EMPHASIS
	.comm	_IEC958_AES1_PRO_MODE,4,2       ; @IEC958_AES1_PRO_MODE
	.no_dead_strip	_snd_ice1712_spdif_maskp_get
.subsections_via_symbols
