	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flite_hw_reset                 ## -- Begin function flite_hw_reset
	.p2align	4, 0x90
_flite_hw_reset:                        ## @flite_hw_reset
	.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, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_FLITE_RESET_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%rax, %r15
	addq	%rbx, %r15
	movq	_FLITE_REG_CIGCTRL@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movl	%eax, %ebx
	movq	_FLITE_REG_CIGCTRL_SWRST_REQ@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	(%r12), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	%r15, %rdi
	callq	_time_is_after_jiffies
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_FLITE_REG_CIGCTRL_SWRST_RDY@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movl	%eax, %ebx
	testl	%eax, (%r13)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$5000, %esi                     ## imm = 0x1388
	callq	_usleep_range
	movq	%r15, %rdi
	callq	_time_is_after_jiffies
	testq	%rax, %rax
	jne	LBB0_2
LBB0_4:
	movq	_FLITE_REG_CIGCTRL_SWRST@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	(%r12), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_FLITE_RESET_TIMEOUT,4,2        ## @FLITE_RESET_TIMEOUT
	.comm	_FLITE_REG_CIGCTRL,8,3          ## @FLITE_REG_CIGCTRL
	.comm	_FLITE_REG_CIGCTRL_SWRST_REQ,4,2 ## @FLITE_REG_CIGCTRL_SWRST_REQ
	.comm	_FLITE_REG_CIGCTRL_SWRST_RDY,4,2 ## @FLITE_REG_CIGCTRL_SWRST_RDY
	.comm	_FLITE_REG_CIGCTRL_SWRST,4,2    ## @FLITE_REG_CIGCTRL_SWRST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flite_hw_reset                 ; -- Begin function flite_hw_reset
	.p2align	2
_flite_hw_reset:                        ; @flite_hw_reset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _FLITE_RESET_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLITE_RESET_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x20, x0, x20
	ldr	x8, [x19]
Lloh6:
	adrp	x22, _FLITE_REG_CIGCTRL@GOTPAGE
Lloh7:
	ldr	x22, [x22, _FLITE_REG_CIGCTRL@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
Lloh8:
	adrp	x8, _FLITE_REG_CIGCTRL_SWRST_REQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FLITE_REG_CIGCTRL_SWRST_REQ@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w21, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel
	mov	x0, x20
	bl	_time_is_after_jiffies
	cbz	x0, LBB0_4
; %bb.1:
Lloh11:
	adrp	x23, _FLITE_REG_CIGCTRL_SWRST_RDY@GOTPAGE
Lloh12:
	ldr	x23, [x23, _FLITE_REG_CIGCTRL_SWRST_RDY@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1000
	mov	w1, #5000
	bl	_usleep_range
	mov	x0, x20
	bl	_time_is_after_jiffies
	cbnz	x0, LBB0_2
LBB0_4:
Lloh13:
	adrp	x8, _FLITE_REG_CIGCTRL_SWRST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FLITE_REG_CIGCTRL_SWRST@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w0, w8, w21
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_FLITE_RESET_TIMEOUT,4,2        ; @FLITE_RESET_TIMEOUT
	.comm	_FLITE_REG_CIGCTRL,8,3          ; @FLITE_REG_CIGCTRL
	.comm	_FLITE_REG_CIGCTRL_SWRST_REQ,4,2 ; @FLITE_REG_CIGCTRL_SWRST_REQ
	.comm	_FLITE_REG_CIGCTRL_SWRST_RDY,4,2 ; @FLITE_REG_CIGCTRL_SWRST_RDY
	.comm	_FLITE_REG_CIGCTRL_SWRST,4,2    ; @FLITE_REG_CIGCTRL_SWRST
.subsections_via_symbols
