	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xonar_d2_init
_xonar_d2_init:                         ## @xonar_d2_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	$300, 4(%rax)                   ## imm = 0x12C
	movq	_GPIO_D2_OUTPUT_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	$4, (%rax)
	callq	_pcm1796_init
	movq	_OXYGEN_GPIO_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GPIO_D2_ALT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_oxygen_set_bits16
	movq	_OXYGEN_GPIO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_oxygen_clear_bits16
	movq	_CM9780_JACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CM9780_FMIC2MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_oxygen_ac97_set_bits
	movq	%rbx, %rdi
	callq	_xonar_init_cs53x1
	movq	%rbx, %rdi
	callq	_xonar_enable_output
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_snd_component_add
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_component_add              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_D2_OUTPUT_ENABLE,4,2      ## @GPIO_D2_OUTPUT_ENABLE
	.comm	_OXYGEN_GPIO_CONTROL,4,2        ## @OXYGEN_GPIO_CONTROL
	.comm	_GPIO_D2_ALT,4,2                ## @GPIO_D2_ALT
	.comm	_OXYGEN_GPIO_DATA,4,2           ## @OXYGEN_GPIO_DATA
	.comm	_CM9780_JACK,4,2                ## @CM9780_JACK
	.comm	_CM9780_FMIC2MIC,4,2            ## @CM9780_FMIC2MIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCM1796"

L_.str.1:                               ## @.str.1
	.asciz	"CS5381"

	.no_dead_strip	_xonar_d2_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function xonar_d2_init
lCPI0_0:
	.long	4                               ; 0x4
	.long	300                             ; 0x12c
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_xonar_d2_init:                         ; @xonar_d2_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
	mov	x19, x0
Lloh0:
	adrp	x8, _GPIO_D2_OUTPUT_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_D2_OUTPUT_ENABLE@GOTPAGEOFF]
	ldr	x9, [x0, #8]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x9, #8]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x9]
	bl	_pcm1796_init
Lloh5:
	adrp	x8, _OXYGEN_GPIO_CONTROL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OXYGEN_GPIO_CONTROL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x20, _GPIO_D2_ALT@GOTPAGE
Lloh9:
	ldr	x20, [x20, _GPIO_D2_ALT@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_oxygen_set_bits16
Lloh10:
	adrp	x8, _OXYGEN_GPIO_DATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OXYGEN_GPIO_DATA@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_oxygen_clear_bits16
Lloh13:
	adrp	x8, _CM9780_JACK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CM9780_JACK@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _CM9780_FMIC2MIC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CM9780_FMIC2MIC@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_oxygen_ac97_set_bits
	mov	x0, x19
	bl	_xonar_init_cs53x1
	mov	x0, x19
	bl	_xonar_enable_output
	ldr	w0, [x19]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_snd_component_add
	ldr	w0, [x19]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_component_add
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_D2_OUTPUT_ENABLE,4,2      ; @GPIO_D2_OUTPUT_ENABLE
	.comm	_OXYGEN_GPIO_CONTROL,4,2        ; @OXYGEN_GPIO_CONTROL
	.comm	_GPIO_D2_ALT,4,2                ; @GPIO_D2_ALT
	.comm	_OXYGEN_GPIO_DATA,4,2           ; @OXYGEN_GPIO_DATA
	.comm	_CM9780_JACK,4,2                ; @CM9780_JACK
	.comm	_CM9780_FMIC2MIC,4,2            ; @CM9780_FMIC2MIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCM1796"

l_.str.1:                               ; @.str.1
	.asciz	"CS5381"

	.no_dead_strip	_xonar_d2_init
.subsections_via_symbols
