	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chipreset
_chipreset:                             ## @chipreset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	12(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_R_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_Write_hfc8
	movq	_R_RAM_MISC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_Write_hfc8
	movq	_R_FIFO_MD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_Write_hfc8
	movq	_R_CIRM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_M_SRES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_Write_hfc8
	movq	$0, (%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	$3, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_Write_hfc8
	movq	%rbx, %rdi
	callq	_wait_busy
	movq	_R_PCM_MD0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_PCM_MD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_Write_hfc8
	movl	(%r15), %esi
	movq	_M_FZ_MD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_Write_hfc8
	cmpl	$1, 8(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_R_BRG_PCM_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_PCM_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_Write_hfc8
LBB0_2:
	movq	_R_TI_WD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANS_TIMER_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_Write_hfc8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R_CTRL,4,2                     ## @R_CTRL
	.comm	_R_RAM_MISC,4,2                 ## @R_RAM_MISC
	.comm	_R_FIFO_MD,4,2                  ## @R_FIFO_MD
	.comm	_R_CIRM,4,2                     ## @R_CIRM
	.comm	_M_SRES,4,2                     ## @M_SRES
	.comm	_R_PCM_MD0,4,2                  ## @R_PCM_MD0
	.comm	_M_PCM_MD,4,2                   ## @M_PCM_MD
	.comm	_M_FZ_MD,4,2                    ## @M_FZ_MD
	.comm	_R_BRG_PCM_CFG,4,2              ## @R_BRG_PCM_CFG
	.comm	_M_PCM_CLK,4,2                  ## @M_PCM_CLK
	.comm	_R_TI_WD,4,2                    ## @R_TI_WD
	.comm	_TRANS_TIMER_MODE,4,2           ## @TRANS_TIMER_MODE
	.no_dead_strip	_chipreset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chipreset
_chipreset:                             ; @chipreset
	.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
	add	x20, x0, #12
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _R_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_Write_hfc8
Lloh3:
	adrp	x21, _R_RAM_MISC@GOTPAGE
Lloh4:
	ldr	x21, [x21, _R_RAM_MISC@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_Write_hfc8
Lloh5:
	adrp	x8, _R_FIFO_MD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _R_FIFO_MD@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_Write_hfc8
Lloh8:
	adrp	x22, _R_CIRM@GOTPAGE
Lloh9:
	ldr	x22, [x22, _R_CIRM@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh10:
	adrp	x8, _M_SRES@GOTPAGE
Lloh11:
	ldr	x8, [x8, _M_SRES@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_Write_hfc8
	str	xzr, [x19]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	w0, #3
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_Write_hfc8
	mov	x0, x19
	bl	_wait_busy
Lloh13:
	adrp	x8, _R_PCM_MD0@GOTPAGE
Lloh14:
	ldr	x8, [x8, _R_PCM_MD0@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _M_PCM_MD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _M_PCM_MD@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_Write_hfc8
	ldr	w1, [x21]
Lloh19:
	adrp	x8, _M_FZ_MD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _M_FZ_MD@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_Write_hfc8
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
Lloh22:
	adrp	x8, _R_BRG_PCM_CFG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _R_BRG_PCM_CFG@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _M_PCM_CLK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _M_PCM_CLK@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_Write_hfc8
LBB0_2:
Lloh28:
	adrp	x8, _R_TI_WD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _R_TI_WD@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _TRANS_TIMER_MODE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TRANS_TIMER_MODE@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_Write_hfc8
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	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	_memset
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_R_CTRL,4,2                     ; @R_CTRL
	.comm	_R_RAM_MISC,4,2                 ; @R_RAM_MISC
	.comm	_R_FIFO_MD,4,2                  ; @R_FIFO_MD
	.comm	_R_CIRM,4,2                     ; @R_CIRM
	.comm	_M_SRES,4,2                     ; @M_SRES
	.comm	_R_PCM_MD0,4,2                  ; @R_PCM_MD0
	.comm	_M_PCM_MD,4,2                   ; @M_PCM_MD
	.comm	_M_FZ_MD,4,2                    ; @M_FZ_MD
	.comm	_R_BRG_PCM_CFG,4,2              ; @R_BRG_PCM_CFG
	.comm	_M_PCM_CLK,4,2                  ; @M_PCM_CLK
	.comm	_R_TI_WD,4,2                    ; @R_TI_WD
	.comm	_TRANS_TIMER_MODE,4,2           ; @TRANS_TIMER_MODE
	.no_dead_strip	_chipreset
.subsections_via_symbols
