	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xonar_st_init
_xonar_st_init:                         ## @xonar_st_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movl	$100, 24(%rax)
	xorl	%ecx, %ecx
	cmpl	$3, 4(%rdi)
	setge	%cl
	movl	%ecx, (%rax)
	movl	$1, 4(%rax)
	movq	_CS2000_REF_CLK_DIV_1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	16(%rax), %rdx
	movq	_CS2000_FUN_CFG_1@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%ecx, (%rdx,%rsi,4)
	movl	$1, 8(%rax)
	movq	_OXYGEN_I2S_A_FORMAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	_OXYGEN_RATE_48000@GOTPCREL(%rip), %rcx
	movq	_OXYGEN_I2S_FORMAT_I2S@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	cmpl	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_MCLK_512@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MCLK_256@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_OXYGEN_I2S_MCLK
	orl	%eax, %ebx
	movq	_OXYGEN_I2S_BITS_16@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_OXYGEN_I2S_MASTER@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_OXYGEN_I2S_BCLK_64@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_oxygen_write16
	movq	%r15, %rdi
	callq	_xonar_st_init_i2c
	movq	%r15, %rdi
	callq	_cs2000_registers_init
	movq	%r15, %rdi
	callq	_xonar_st_init_common
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_component_add              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CS2000_REF_CLK_DIV_1,4,2       ## @CS2000_REF_CLK_DIV_1
	.comm	_CS2000_FUN_CFG_1,8,3           ## @CS2000_FUN_CFG_1
	.comm	_OXYGEN_I2S_A_FORMAT,4,2        ## @OXYGEN_I2S_A_FORMAT
	.comm	_OXYGEN_RATE_48000,4,2          ## @OXYGEN_RATE_48000
	.comm	_OXYGEN_I2S_FORMAT_I2S,4,2      ## @OXYGEN_I2S_FORMAT_I2S
	.comm	_MCLK_256,4,2                   ## @MCLK_256
	.comm	_MCLK_512,4,2                   ## @MCLK_512
	.comm	_OXYGEN_I2S_BITS_16,4,2         ## @OXYGEN_I2S_BITS_16
	.comm	_OXYGEN_I2S_MASTER,4,2          ## @OXYGEN_I2S_MASTER
	.comm	_OXYGEN_I2S_BCLK_64,4,2         ## @OXYGEN_I2S_BCLK_64
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CS2000"

	.no_dead_strip	_xonar_st_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xonar_st_init
_xonar_st_init:                         ; @xonar_st_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	mov	w9, #100
	str	w9, [x8, #24]
	ldr	w9, [x0, #4]
	cmp	w9, #2
	cset	w9, gt
	mov	w10, #1
	stp	w9, w10, [x8]
Lloh0:
	adrp	x9, _CS2000_REF_CLK_DIV_1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CS2000_REF_CLK_DIV_1@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	x11, [x8, #16]
Lloh3:
	adrp	x12, _CS2000_FUN_CFG_1@GOTPAGE
Lloh4:
	ldr	x12, [x12, _CS2000_FUN_CFG_1@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
	str	w9, [x11, x12, lsl #2]
	str	w10, [x8, #8]
Lloh6:
	adrp	x9, _OXYGEN_I2S_A_FORMAT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OXYGEN_I2S_A_FORMAT@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x9]
Lloh9:
	adrp	x9, _OXYGEN_RATE_48000@GOTPAGE
Lloh10:
	ldr	x9, [x9, _OXYGEN_RATE_48000@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _OXYGEN_I2S_FORMAT_I2S@GOTPAGE
Lloh13:
	ldr	x10, [x10, _OXYGEN_I2S_FORMAT_I2S@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w21, w10, w9
Lloh15:
	adrp	x9, _MCLK_256@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MCLK_256@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh17:
	adrp	x10, _MCLK_512@GOTPAGE
Lloh18:
	ldr	x10, [x10, _MCLK_512@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	bl	_OXYGEN_I2S_MCLK
	orr	w8, w21, w0
Lloh19:
	adrp	x9, _OXYGEN_I2S_BITS_16@GOTPAGE
Lloh20:
	ldr	x9, [x9, _OXYGEN_I2S_BITS_16@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _OXYGEN_I2S_MASTER@GOTPAGE
Lloh23:
	ldr	x9, [x9, _OXYGEN_I2S_MASTER@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh25:
	adrp	x9, _OXYGEN_I2S_BCLK_64@GOTPAGE
Lloh26:
	ldr	x9, [x9, _OXYGEN_I2S_BCLK_64@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x20
	bl	_oxygen_write16
	mov	x0, x19
	bl	_xonar_st_init_i2c
	mov	x0, x19
	bl	_cs2000_registers_init
	mov	x0, x19
	bl	_xonar_st_init_common
	ldr	w0, [x19]
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_component_add
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.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	_CS2000_REF_CLK_DIV_1,4,2       ; @CS2000_REF_CLK_DIV_1
	.comm	_CS2000_FUN_CFG_1,8,3           ; @CS2000_FUN_CFG_1
	.comm	_OXYGEN_I2S_A_FORMAT,4,2        ; @OXYGEN_I2S_A_FORMAT
	.comm	_OXYGEN_RATE_48000,4,2          ; @OXYGEN_RATE_48000
	.comm	_OXYGEN_I2S_FORMAT_I2S,4,2      ; @OXYGEN_I2S_FORMAT_I2S
	.comm	_MCLK_256,4,2                   ; @MCLK_256
	.comm	_MCLK_512,4,2                   ; @MCLK_512
	.comm	_OXYGEN_I2S_BITS_16,4,2         ; @OXYGEN_I2S_BITS_16
	.comm	_OXYGEN_I2S_MASTER,4,2          ; @OXYGEN_I2S_MASTER
	.comm	_OXYGEN_I2S_BCLK_64,4,2         ; @OXYGEN_I2S_BCLK_64
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CS2000"

	.no_dead_strip	_xonar_st_init
.subsections_via_symbols
