	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iec958_to_oxygen
_iec958_to_oxygen:                      ## @iec958_to_oxygen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rsi
	movq	_OXYGEN_SPDIF_NONAUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_OXYGEN_SPDIF_C@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	%eax, %edi
	movq	_OXYGEN_SPDIF_PREEMPHASIS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movq	_OXYGEN_SPDIF_CATEGORY_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	4(%rsi), %edx
	shll	%cl, %edx
	andl	(%rsi), %edi
	orl	%edi, %edx
	andl	%edx, %eax
	je	LBB0_2
## %bb.1:
	movq	_OXYGEN_SPDIF_V@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	orl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OXYGEN_SPDIF_NONAUDIO,4,2      ## @OXYGEN_SPDIF_NONAUDIO
	.comm	_OXYGEN_SPDIF_C,4,2             ## @OXYGEN_SPDIF_C
	.comm	_OXYGEN_SPDIF_PREEMPHASIS,4,2   ## @OXYGEN_SPDIF_PREEMPHASIS
	.comm	_OXYGEN_SPDIF_CATEGORY_SHIFT,4,2 ## @OXYGEN_SPDIF_CATEGORY_SHIFT
	.comm	_OXYGEN_SPDIF_V,4,2             ## @OXYGEN_SPDIF_V
	.no_dead_strip	_iec958_to_oxygen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iec958_to_oxygen
_iec958_to_oxygen:                      ; @iec958_to_oxygen
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _OXYGEN_SPDIF_NONAUDIO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OXYGEN_SPDIF_NONAUDIO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _OXYGEN_SPDIF_C@GOTPAGE
Lloh4:
	ldr	x10, [x10, _OXYGEN_SPDIF_C@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _OXYGEN_SPDIF_PREEMPHASIS@GOTPAGE
Lloh7:
	ldr	x11, [x11, _OXYGEN_SPDIF_PREEMPHASIS@GOTPAGEOFF]
	orr	w10, w10, w9
Lloh8:
	ldr	w11, [x11]
	orr	w10, w10, w11
	ldp	w11, w8, [x8]
	and	w10, w10, w11
Lloh9:
	adrp	x11, _OXYGEN_SPDIF_CATEGORY_SHIFT@GOTPAGE
Lloh10:
	ldr	x11, [x11, _OXYGEN_SPDIF_CATEGORY_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	lsl	w8, w8, w11
Lloh12:
	adrp	x11, _OXYGEN_SPDIF_V@GOTPAGE
Lloh13:
	ldr	x11, [x11, _OXYGEN_SPDIF_V@GOTPAGEOFF]
	orr	w8, w8, w10
Lloh14:
	ldr	w10, [x11]
	tst	w8, w9
	csel	w9, wzr, w10, eq
	orr	w0, w9, w8
	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	_OXYGEN_SPDIF_NONAUDIO,4,2      ; @OXYGEN_SPDIF_NONAUDIO
	.comm	_OXYGEN_SPDIF_C,4,2             ; @OXYGEN_SPDIF_C
	.comm	_OXYGEN_SPDIF_PREEMPHASIS,4,2   ; @OXYGEN_SPDIF_PREEMPHASIS
	.comm	_OXYGEN_SPDIF_CATEGORY_SHIFT,4,2 ; @OXYGEN_SPDIF_CATEGORY_SHIFT
	.comm	_OXYGEN_SPDIF_V,4,2             ; @OXYGEN_SPDIF_V
	.no_dead_strip	_iec958_to_oxygen
.subsections_via_symbols
