	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcm1796_init
_pcm1796_init:                          ## @pcm1796_init
	.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	(%rdi), %rbx
	movq	_PCM1796_DMF_DISABLED@GOTPCREL(%rip), %rax
	movq	_PCM1796_FMT_24_I2S@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_PCM1796_ATLD@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_PCM1796_REG_BASE@GOTPCREL(%rip), %r8
	movslq	(%r8), %rcx
	movl	$18, %r9d
	movl	$18, %edx
	subq	%rcx, %rdx
	movl	%esi, (%rax,%rdx,4)
	cmpl	$0, 24(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_PCM1796_MUTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movslq	(%r8), %rdx
	subq	%rdx, %r9
	orl	%ecx, (%rax,%r9,4)
LBB0_2:
	movq	_PCM1796_FLT_SHARP@GOTPCREL(%rip), %rcx
	movq	_PCM1796_ATS_1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movslq	(%r8), %rcx
	movl	$19, %esi
	subq	%rcx, %rsi
	movl	%edx, (%rax,%rsi,4)
	cmpq	$0, 16(%rbx)
	jne	LBB0_3
## %bb.4:
	movq	_PCM1796_OS_128@GOTPCREL(%rip), %rdx
	jmp	LBB0_5
LBB0_3:
	movq	_PCM1796_OS_64@GOTPCREL(%rip), %rdx
LBB0_5:
	movl	(%rdx), %ecx
	movslq	(%r8), %rdx
	movl	$20, %esi
	subq	%rdx, %rsi
	movl	%ecx, (%rax,%rsi,4)
	callq	_pcm1796_registers_init
	movl	$48000, 8(%rbx)                 ## imm = 0xBB80
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCM1796_DMF_DISABLED,4,2       ## @PCM1796_DMF_DISABLED
	.comm	_PCM1796_FMT_24_I2S,4,2         ## @PCM1796_FMT_24_I2S
	.comm	_PCM1796_ATLD,4,2               ## @PCM1796_ATLD
	.comm	_PCM1796_REG_BASE,4,2           ## @PCM1796_REG_BASE
	.comm	_PCM1796_MUTE,4,2               ## @PCM1796_MUTE
	.comm	_PCM1796_FLT_SHARP,4,2          ## @PCM1796_FLT_SHARP
	.comm	_PCM1796_ATS_1,4,2              ## @PCM1796_ATS_1
	.comm	_PCM1796_OS_64,4,2              ## @PCM1796_OS_64
	.comm	_PCM1796_OS_128,4,2             ## @PCM1796_OS_128
	.no_dead_strip	_pcm1796_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcm1796_init
_pcm1796_init:                          ; @pcm1796_init
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _PCM1796_DMF_DISABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCM1796_DMF_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PCM1796_FMT_24_I2S@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCM1796_FMT_24_I2S@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _PCM1796_ATLD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCM1796_ATLD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w10, w8, w9
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _PCM1796_REG_BASE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PCM1796_REG_BASE@GOTPAGEOFF]
	ldrsw	x11, [x9]
	mov	w12, #18
	sub	x11, x12, x11
	str	w10, [x8, x11, lsl #2]
	ldr	w10, [x19, #24]
	cbnz	w10, LBB0_2
; %bb.1:
Lloh11:
	adrp	x10, _PCM1796_MUTE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _PCM1796_MUTE@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	ldrsw	x11, [x9]
	mov	w12, #18
	sub	x11, x12, x11
	lsl	x11, x11, #2
	ldr	w12, [x8, x11]
	orr	w10, w12, w10
	str	w10, [x8, x11]
LBB0_2:
Lloh14:
	adrp	x10, _PCM1796_FLT_SHARP@GOTPAGE
Lloh15:
	ldr	x10, [x10, _PCM1796_FLT_SHARP@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	adrp	x11, _PCM1796_ATS_1@GOTPAGE
Lloh18:
	ldr	x11, [x11, _PCM1796_ATS_1@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	orr	w10, w11, w10
	ldrsw	x11, [x9]
	mov	w12, #19
	sub	x11, x12, x11
	str	w10, [x8, x11, lsl #2]
	ldr	x10, [x19, #16]
Lloh20:
	adrp	x11, _PCM1796_OS_64@GOTPAGE
Lloh21:
	ldr	x11, [x11, _PCM1796_OS_64@GOTPAGEOFF]
Lloh22:
	adrp	x12, _PCM1796_OS_128@GOTPAGE
Lloh23:
	ldr	x12, [x12, _PCM1796_OS_128@GOTPAGEOFF]
	cmp	x10, #0
	csel	x10, x12, x11, eq
	ldr	w10, [x10]
	ldrsw	x9, [x9]
	mov	w11, #20
	sub	x9, x11, x9
	str	w10, [x8, x9, lsl #2]
	bl	_pcm1796_registers_init
	mov	w8, #48000
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PCM1796_DMF_DISABLED,4,2       ; @PCM1796_DMF_DISABLED
	.comm	_PCM1796_FMT_24_I2S,4,2         ; @PCM1796_FMT_24_I2S
	.comm	_PCM1796_ATLD,4,2               ; @PCM1796_ATLD
	.comm	_PCM1796_REG_BASE,4,2           ; @PCM1796_REG_BASE
	.comm	_PCM1796_MUTE,4,2               ; @PCM1796_MUTE
	.comm	_PCM1796_FLT_SHARP,4,2          ; @PCM1796_FLT_SHARP
	.comm	_PCM1796_ATS_1,4,2              ; @PCM1796_ATS_1
	.comm	_PCM1796_OS_64,4,2              ; @PCM1796_OS_64
	.comm	_PCM1796_OS_128,4,2             ; @PCM1796_OS_128
	.no_dead_strip	_pcm1796_init
.subsections_via_symbols
