	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aureon_ac97_init
_aureon_ac97_init:                      ## @aureon_ac97_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	callq	_snd_ice1712_gpio_read
	movq	_AUREON_AC97_RESET@GOTPCREL(%rip), %r13
	orl	(%r13), %eax
	movq	_AUREON_AC97_DATA_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	notl	%r12d
	andl	%eax, %r12d
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_snd_ice1712_gpio_write
	movl	$3, %edi
	callq	_udelay
	movl	(%r13), %ebx
	notl	%ebx
	andl	%r12d, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_snd_ice1712_gpio_write
	movl	$3, %edi
	callq	_udelay
	orl	(%r13), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_snd_ice1712_gpio_write
	movl	$3, %edi
	callq	_udelay
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	(%r14), %rax
	movl	$3, %ecx
	leaq	_aureon_ac97_init.ac97_defaults(%rip), %rdx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzwl	-6(%rdx,%rcx,2), %esi
	andl	$-2, %esi
	movzwl	-4(%rdx,%rcx,2), %edi
	movzwl	(%rdx,%rcx,2), %ebx
	movw	%di, (%rax,%rsi)
	movzwl	-2(%rdx,%rcx,2), %esi
	andl	$-2, %esi
	movw	%bx, (%rax,%rsi)
	addq	$4, %rcx
	cmpq	$39, %rcx
	jne	LBB0_1
## %bb.2:
	movq	_AC97_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_aureon_ac97_write
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @aureon_ac97_init.ac97_defaults
_aureon_ac97_init.ac97_defaults:
	.short	0                               ## 0x0
	.short	38464                           ## 0x9640
	.short	2                               ## 0x2
	.short	32768                           ## 0x8000
	.short	4                               ## 0x4
	.short	32768                           ## 0x8000
	.short	6                               ## 0x6
	.short	32768                           ## 0x8000
	.short	12                              ## 0xc
	.short	32776                           ## 0x8008
	.short	14                              ## 0xe
	.short	32776                           ## 0x8008
	.short	16                              ## 0x10
	.short	34824                           ## 0x8808
	.short	18                              ## 0x12
	.short	34824                           ## 0x8808
	.short	20                              ## 0x14
	.short	34824                           ## 0x8808
	.short	22                              ## 0x16
	.short	34824                           ## 0x8808
	.short	24                              ## 0x18
	.short	34824                           ## 0x8808
	.short	28                              ## 0x1c
	.short	32768                           ## 0x8000
	.short	38                              ## 0x26
	.short	15                              ## 0xf
	.short	40                              ## 0x28
	.short	513                             ## 0x201
	.short	44                              ## 0x2c
	.short	48000                           ## 0xbb80
	.short	50                              ## 0x32
	.short	48000                           ## 0xbb80
	.short	124                             ## 0x7c
	.short	33668                           ## 0x8384
	.short	126                             ## 0x7e
	.short	30276                           ## 0x7644
	.short	65535                           ## 0xffff

	.comm	_AUREON_AC97_RESET,4,2          ## @AUREON_AC97_RESET
	.comm	_AUREON_AC97_DATA_MASK,4,2      ## @AUREON_AC97_DATA_MASK
	.comm	_AC97_MASTER,4,2                ## @AC97_MASTER
	.no_dead_strip	_aureon_ac97_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 aureon_ac97_init
lCPI0_0:
	.short	38464                           ; 0x9640
	.short	32768                           ; 0x8000
	.short	32768                           ; 0x8000
	.short	32768                           ; 0x8000
lCPI0_1:
	.short	32776                           ; 0x8008
	.short	32776                           ; 0x8008
	.short	34824                           ; 0x8808
	.short	34824                           ; 0x8808
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_aureon_ac97_init:                      ; @aureon_ac97_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	x20, [x0]
	bl	_snd_ice1712_gpio_read
Lloh0:
	adrp	x22, _AUREON_AC97_RESET@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AUREON_AC97_RESET@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w8, w8, w0
Lloh2:
	adrp	x9, _AUREON_AC97_DATA_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AUREON_AC97_DATA_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	bic	w21, w8, w9
	mov	x0, x19
	mov	x1, x21
	bl	_snd_ice1712_gpio_write
	mov	w0, #3
	bl	_udelay
	ldr	w8, [x22]
	bic	w21, w21, w8
	mov	x0, x19
	mov	x1, x21
	bl	_snd_ice1712_gpio_write
	mov	w0, #3
	bl	_udelay
	ldr	w8, [x22]
	orr	w1, w8, w21
	mov	x0, x19
	bl	_snd_ice1712_gpio_write
	mov	w0, #3
	bl	_udelay
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x20]
Lloh5:
	adrp	x9, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
Lloh7:
	adrp	x9, lCPI0_1@PAGE
Lloh8:
	ldr	d0, [x9, lCPI0_1@PAGEOFF]
	stur	d0, [x8, #12]
	mov	w9, #34824
	movk	w9, #34824, lsl #16
	str	w9, [x8, #20]
	mov	w9, #34824
	strh	w9, [x8, #24]
	mov	w9, #32768
	strh	w9, [x8, #28]
	mov	w9, #15
	movk	w9, #513, lsl #16
	stur	w9, [x8, #38]
	mov	w9, #48000
	strh	w9, [x8, #44]
	strh	w9, [x8, #50]
	mov	w9, #33668
	movk	w9, #30276, lsl #16
	str	w9, [x8, #124]
Lloh9:
	adrp	x8, _AC97_MASTER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AC97_MASTER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_aureon_ac97_write
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AUREON_AC97_RESET,4,2          ; @AUREON_AC97_RESET
	.comm	_AUREON_AC97_DATA_MASK,4,2      ; @AUREON_AC97_DATA_MASK
	.comm	_AC97_MASTER,4,2                ; @AC97_MASTER
	.no_dead_strip	_aureon_ac97_init
.subsections_via_symbols
