	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isac_init
_isac_init:                             ## @isac_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
	cmpl	$0, 28(%rdi)
	je	LBB0_1
LBB0_2:
	leaq	24(%r15), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r15)
	movq	_dbusy_timer_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	movl	$170, (%r15)
	movq	_IPAC_TYPE_ISACX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_6
## %bb.3:
	movq	_ISACX_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$255, %edx
	callq	_WriteISAC
	movq	_ISACX_STARD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movl	16(%r15), %esi
	leaq	L_.str(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_debug
	movq	_ISACX_ISTAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movl	16(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_debug
	movq	_ISACX_ISTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movl	16(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_debug
	movq	_ISACX_TR_CONF0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
	movq	_ISACX_TR_CONF2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
	movq	_ISACX_MODED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$201, %edx
	callq	_WriteISAC
	movq	_ISACX_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movq	_DEBUG_HW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 20(%r15)
	je	LBB0_5
## %bb.4:
	movl	16(%r15), %esi
	andl	$63, %eax
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_notice
LBB0_5:
	movq	_ISACX_CIR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movl	%eax, %ebx
	movl	16(%r15), %esi
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_debug
	sarl	$4, %ebx
	movl	%ebx, 8(%r15)
	movq	%r15, %rdi
	callq	_isac_ph_state_change
	movq	_ISAC_CMD_RS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ph_command
	movl	(%r12), %esi
	movq	_IPACX__ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_WriteISAC
	movq	_ISACX_MASKD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_14
LBB0_1:
	leaq	20(%r15), %rdi
	movq	_isac_l1cmd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_create_l1
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
	jmp	LBB0_2
LBB0_6:
	movq	_ISAC_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$255, %edx
	callq	_WriteISAC
	movq	_ISAC_STAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movl	16(%r15), %esi
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_debug
	movq	_ISAC_MODE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movl	16(%r15), %esi
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_debug
	movq	_ISAC_ADF2@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movl	16(%r15), %esi
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_debug
	movq	_ISAC_ISTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movl	%eax, %ebx
	movl	16(%r15), %esi
	leaq	L_.str.8(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_debug
	testb	$1, %bl
	je	LBB0_8
## %bb.7:
	movq	_ISAC_EXIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movl	16(%r15), %esi
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_debug
LBB0_8:
	movq	_ISAC_RBCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movq	_DEBUG_HW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 20(%r15)
	je	LBB0_9
## %bb.10:
	movl	16(%r15), %esi
	movq	_ISACVer@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %ebx
	shrl	$5, %ebx
	andl	$3, %ebx
	movl	(%rcx,%rbx,4), %ecx
	leaq	L_.str.10(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_notice
	movl	%ebx, %eax
	jmp	LBB0_11
LBB0_9:
	shrl	$5, %eax
	andl	$3, %eax
LBB0_11:
	orl	%eax, 4(%r15)
	movl	12(%r15), %edx
	testl	%edx, %edx
	je	LBB0_12
## %bb.15:
	testb	$-128, %dl
	jne	LBB0_13
## %bb.16:
	movl	16(%r15), %esi
	leaq	L_.str.11(%rip), %rdi
	callq	_pr_info
	movq	%r15, %rdi
	callq	_isac_release
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_17
LBB0_12:
	movl	$128, 12(%r15)
	movl	$128, %edx
LBB0_13:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_WriteISAC
	movq	_ISAC_SQXR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$47, %edx
	callq	_WriteISAC
	movq	_ISAC_SPCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
	movq	_ISAC_STCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$112, %edx
	callq	_WriteISAC
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	$201, %edx
	callq	_WriteISAC
	movq	_ISAC_TIMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
	movq	_ISAC_ADF1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
	movq	_ISAC_CIR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ReadISAC
	movl	%eax, %ebx
	movl	16(%r15), %esi
	leaq	L_.str.12(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_debug
	shrl	$2, %ebx
	andl	$15, %ebx
	movl	%ebx, 8(%r15)
	movq	%r15, %rdi
	callq	_isac_ph_state_change
	movq	_ISAC_CMD_RS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ph_command
	movl	(%r12), %esi
LBB0_14:
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
LBB0_17:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_isac_l1cmd,4,2                 ## @isac_l1cmd
	.comm	_dbusy_timer_handler,4,2        ## @dbusy_timer_handler
	.comm	_IPAC_TYPE_ISACX,4,2            ## @IPAC_TYPE_ISACX
	.comm	_ISACX_MASK,4,2                 ## @ISACX_MASK
	.comm	_ISACX_STARD,4,2                ## @ISACX_STARD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: ISACX STARD %x\n"

	.comm	_ISACX_ISTAD,4,2                ## @ISACX_ISTAD
L_.str.1:                               ## @.str.1
	.asciz	"%s: ISACX ISTAD %x\n"

	.comm	_ISACX_ISTA,4,2                 ## @ISACX_ISTA
L_.str.2:                               ## @.str.2
	.asciz	"%s: ISACX ISTA %x\n"

	.comm	_ISACX_TR_CONF0,4,2             ## @ISACX_TR_CONF0
	.comm	_ISACX_TR_CONF2,4,2             ## @ISACX_TR_CONF2
	.comm	_ISACX_MODED,4,2                ## @ISACX_MODED
	.comm	_ISACX_ID,4,2                   ## @ISACX_ID
	.comm	_DEBUG_HW,4,2                   ## @DEBUG_HW
L_.str.3:                               ## @.str.3
	.asciz	"%s: ISACX Design ID %x\n"

	.comm	_ISACX_CIR0,4,2                 ## @ISACX_CIR0
L_.str.4:                               ## @.str.4
	.asciz	"%s: ISACX CIR0 %02X\n"

	.comm	_ISAC_CMD_RS,4,2                ## @ISAC_CMD_RS
	.comm	_IPACX__ON,4,2                  ## @IPACX__ON
	.comm	_ISACX_MASKD,4,2                ## @ISACX_MASKD
	.comm	_ISAC_MASK,4,2                  ## @ISAC_MASK
	.comm	_ISAC_STAR,4,2                  ## @ISAC_STAR
L_.str.5:                               ## @.str.5
	.asciz	"%s: ISAC STAR %x\n"

	.comm	_ISAC_MODE,4,2                  ## @ISAC_MODE
L_.str.6:                               ## @.str.6
	.asciz	"%s: ISAC MODE %x\n"

	.comm	_ISAC_ADF2,4,2                  ## @ISAC_ADF2
L_.str.7:                               ## @.str.7
	.asciz	"%s: ISAC ADF2 %x\n"

	.comm	_ISAC_ISTA,4,2                  ## @ISAC_ISTA
L_.str.8:                               ## @.str.8
	.asciz	"%s: ISAC ISTA %x\n"

	.comm	_ISAC_EXIR,4,2                  ## @ISAC_EXIR
L_.str.9:                               ## @.str.9
	.asciz	"%s: ISAC EXIR %x\n"

	.comm	_ISAC_RBCH,4,2                  ## @ISAC_RBCH
L_.str.10:                              ## @.str.10
	.asciz	"%s: ISAC version (%x): %s\n"

	.comm	_ISACVer,8,3                    ## @ISACVer
L_.str.11:                              ## @.str.11
	.asciz	"%s: only support IOM2 mode but adf2=%02x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ISAC_SQXR,4,2                  ## @ISAC_SQXR
	.comm	_ISAC_SPCR,4,2                  ## @ISAC_SPCR
	.comm	_ISAC_STCR,4,2                  ## @ISAC_STCR
	.comm	_ISAC_TIMR,4,2                  ## @ISAC_TIMR
	.comm	_ISAC_ADF1,4,2                  ## @ISAC_ADF1
	.comm	_ISAC_CIR0,4,2                  ## @ISAC_CIR0
L_.str.12:                              ## @.str.12
	.asciz	"%s: ISAC CIR0 %x\n"

	.no_dead_strip	_isac_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isac_init
_isac_init:                             ; @isac_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x0, #28]
	cbz	w8, LBB0_5
LBB0_1:
	add	x0, x19, #24
	stp	xzr, xzr, [x19, #32]
Lloh0:
	adrp	x8, _dbusy_timer_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dbusy_timer_handler@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	mov	w8, #170
	str	w8, [x19]
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x9, _IPAC_TYPE_ISACX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPAC_TYPE_ISACX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
Lloh6:
	adrp	x21, _ISACX_MASK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ISACX_MASK@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #255
	bl	_WriteISAC
Lloh8:
	adrp	x8, _ISACX_STARD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISACX_STARD@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadISAC
	mov	x2, x0
	ldr	w1, [x19, #16]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh13:
	adrp	x8, _ISACX_ISTAD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ISACX_ISTAD@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadISAC
	mov	x2, x0
	ldr	w1, [x19, #16]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
Lloh18:
	adrp	x8, _ISACX_ISTA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ISACX_ISTA@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadISAC
	mov	x2, x0
	ldr	w1, [x19, #16]
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
Lloh23:
	adrp	x8, _ISACX_TR_CONF0@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ISACX_TR_CONF0@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
Lloh26:
	adrp	x8, _ISACX_TR_CONF2@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ISACX_TR_CONF2@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
Lloh29:
	adrp	x8, _ISACX_MODED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ISACX_MODED@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #201
	bl	_WriteISAC
Lloh32:
	adrp	x8, _ISACX_ID@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ISACX_ID@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadISAC
	ldr	w8, [x19, #20]
Lloh35:
	adrp	x9, _DEBUG_HW@GOTPAGE
Lloh36:
	ldr	x9, [x9, _DEBUG_HW@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x19, #16]
	and	w2, w0, #0x3f
Lloh38:
	adrp	x0, l_.str.3@PAGE
Lloh39:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_notice
LBB0_4:
Lloh40:
	adrp	x8, _ISACX_CIR0@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ISACX_CIR0@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadISAC
	mov	x20, x0
	ldr	w1, [x19, #16]
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x20
	bl	_pr_debug
	asr	w8, w20, #4
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_isac_ph_state_change
Lloh45:
	adrp	x8, _ISAC_CMD_RS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ISAC_CMD_RS@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ph_command
	ldr	w1, [x21]
Lloh48:
	adrp	x8, _IPACX__ON@GOTPAGE
Lloh49:
	ldr	x8, [x8, _IPACX__ON@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_WriteISAC
Lloh51:
	adrp	x8, _ISACX_MASKD@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ISACX_MASKD@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	b	LBB0_16
LBB0_5:
	add	x0, x19, #20
Lloh54:
	adrp	x8, _isac_l1cmd@GOTPAGE
Lloh55:
	ldr	x8, [x8, _isac_l1cmd@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_create_l1
	cbnz	w0, LBB0_17
	b	LBB0_1
LBB0_6:
Lloh57:
	adrp	x21, _ISAC_MASK@GOTPAGE
Lloh58:
	ldr	x21, [x21, _ISAC_MASK@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #255
	bl	_WriteISAC
Lloh59:
	adrp	x8, _ISAC_STAR@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ISAC_STAR@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadISAC
	mov	x2, x0
	ldr	w1, [x19, #16]
Lloh62:
	adrp	x0, l_.str.5@PAGE
Lloh63:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_debug
Lloh64:
	adrp	x22, _ISAC_MODE@GOTPAGE
Lloh65:
	ldr	x22, [x22, _ISAC_MODE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ReadISAC
	mov	x2, x0
	ldr	w1, [x19, #16]
Lloh66:
	adrp	x0, l_.str.6@PAGE
Lloh67:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_debug
Lloh68:
	adrp	x23, _ISAC_ADF2@GOTPAGE
Lloh69:
	ldr	x23, [x23, _ISAC_ADF2@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ReadISAC
	mov	x2, x0
	ldr	w1, [x19, #16]
Lloh70:
	adrp	x0, l_.str.7@PAGE
Lloh71:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_debug
Lloh72:
	adrp	x8, _ISAC_ISTA@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ISAC_ISTA@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadISAC
	mov	x20, x0
	ldr	w1, [x19, #16]
Lloh75:
	adrp	x0, l_.str.8@PAGE
Lloh76:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x2, x20
	bl	_pr_debug
	tbz	w20, #0, LBB0_8
; %bb.7:
Lloh77:
	adrp	x8, _ISAC_EXIR@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ISAC_EXIR@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadISAC
	mov	x2, x0
	ldr	w1, [x19, #16]
Lloh80:
	adrp	x0, l_.str.9@PAGE
Lloh81:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pr_debug
LBB0_8:
Lloh82:
	adrp	x8, _ISAC_RBCH@GOTPAGE
Lloh83:
	ldr	x8, [x8, _ISAC_RBCH@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadISAC
	mov	x2, x0
	ldr	w8, [x19, #20]
Lloh85:
	adrp	x9, _DEBUG_HW@GOTPAGE
Lloh86:
	ldr	x9, [x9, _DEBUG_HW@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	ldr	w1, [x19, #16]
Lloh88:
	adrp	x8, _ISACVer@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ISACVer@GOTPAGEOFF]
Lloh90:
	ldr	x8, [x8]
	ubfx	w20, w2, #5, #2
	ldr	w8, [x8, w20, uxtw #2]
	str	x8, [sp]
Lloh91:
	adrp	x0, l_.str.10@PAGE
Lloh92:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_pr_notice
	b	LBB0_11
LBB0_10:
	ubfx	w20, w2, #5, #2
LBB0_11:
	ldr	w8, [x19, #4]
	orr	w8, w8, w20
	str	w8, [x19, #4]
	ldr	w2, [x19, #12]
	cbz	w2, LBB0_14
; %bb.12:
	tbnz	w2, #7, LBB0_15
; %bb.13:
	ldr	w1, [x19, #16]
Lloh93:
	adrp	x0, l_.str.11@PAGE
Lloh94:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_pr_info
	mov	x0, x19
	bl	_isac_release
Lloh95:
	adrp	x8, _EINVAL@GOTPAGE
Lloh96:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_14:
	mov	w2, #128
	str	w2, [x19, #12]
LBB0_15:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_WriteISAC
Lloh98:
	adrp	x8, _ISAC_SQXR@GOTPAGE
Lloh99:
	ldr	x8, [x8, _ISAC_SQXR@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #47
	bl	_WriteISAC
Lloh101:
	adrp	x8, _ISAC_SPCR@GOTPAGE
Lloh102:
	ldr	x8, [x8, _ISAC_SPCR@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
Lloh104:
	adrp	x8, _ISAC_STCR@GOTPAGE
Lloh105:
	ldr	x8, [x8, _ISAC_STCR@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #112
	bl	_WriteISAC
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #201
	bl	_WriteISAC
Lloh107:
	adrp	x8, _ISAC_TIMR@GOTPAGE
Lloh108:
	ldr	x8, [x8, _ISAC_TIMR@GOTPAGEOFF]
Lloh109:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
Lloh110:
	adrp	x8, _ISAC_ADF1@GOTPAGE
Lloh111:
	ldr	x8, [x8, _ISAC_ADF1@GOTPAGEOFF]
Lloh112:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
Lloh113:
	adrp	x8, _ISAC_CIR0@GOTPAGE
Lloh114:
	ldr	x8, [x8, _ISAC_CIR0@GOTPAGEOFF]
Lloh115:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadISAC
	mov	x20, x0
	ldr	w1, [x19, #16]
Lloh116:
	adrp	x0, l_.str.12@PAGE
Lloh117:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	x2, x20
	bl	_pr_debug
	ubfx	w8, w20, #2, #4
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_isac_ph_state_change
Lloh118:
	adrp	x8, _ISAC_CMD_RS@GOTPAGE
Lloh119:
	ldr	x8, [x8, _ISAC_CMD_RS@GOTPAGEOFF]
Lloh120:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ph_command
	ldr	w1, [x21]
LBB0_16:
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.cfi_endproc
                                        ; -- End function
	.comm	_isac_l1cmd,4,2                 ; @isac_l1cmd
	.comm	_dbusy_timer_handler,4,2        ; @dbusy_timer_handler
	.comm	_IPAC_TYPE_ISACX,4,2            ; @IPAC_TYPE_ISACX
	.comm	_ISACX_MASK,4,2                 ; @ISACX_MASK
	.comm	_ISACX_STARD,4,2                ; @ISACX_STARD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: ISACX STARD %x\n"

	.comm	_ISACX_ISTAD,4,2                ; @ISACX_ISTAD
l_.str.1:                               ; @.str.1
	.asciz	"%s: ISACX ISTAD %x\n"

	.comm	_ISACX_ISTA,4,2                 ; @ISACX_ISTA
l_.str.2:                               ; @.str.2
	.asciz	"%s: ISACX ISTA %x\n"

	.comm	_ISACX_TR_CONF0,4,2             ; @ISACX_TR_CONF0
	.comm	_ISACX_TR_CONF2,4,2             ; @ISACX_TR_CONF2
	.comm	_ISACX_MODED,4,2                ; @ISACX_MODED
	.comm	_ISACX_ID,4,2                   ; @ISACX_ID
	.comm	_DEBUG_HW,4,2                   ; @DEBUG_HW
l_.str.3:                               ; @.str.3
	.asciz	"%s: ISACX Design ID %x\n"

	.comm	_ISACX_CIR0,4,2                 ; @ISACX_CIR0
l_.str.4:                               ; @.str.4
	.asciz	"%s: ISACX CIR0 %02X\n"

	.comm	_ISAC_CMD_RS,4,2                ; @ISAC_CMD_RS
	.comm	_IPACX__ON,4,2                  ; @IPACX__ON
	.comm	_ISACX_MASKD,4,2                ; @ISACX_MASKD
	.comm	_ISAC_MASK,4,2                  ; @ISAC_MASK
	.comm	_ISAC_STAR,4,2                  ; @ISAC_STAR
l_.str.5:                               ; @.str.5
	.asciz	"%s: ISAC STAR %x\n"

	.comm	_ISAC_MODE,4,2                  ; @ISAC_MODE
l_.str.6:                               ; @.str.6
	.asciz	"%s: ISAC MODE %x\n"

	.comm	_ISAC_ADF2,4,2                  ; @ISAC_ADF2
l_.str.7:                               ; @.str.7
	.asciz	"%s: ISAC ADF2 %x\n"

	.comm	_ISAC_ISTA,4,2                  ; @ISAC_ISTA
l_.str.8:                               ; @.str.8
	.asciz	"%s: ISAC ISTA %x\n"

	.comm	_ISAC_EXIR,4,2                  ; @ISAC_EXIR
l_.str.9:                               ; @.str.9
	.asciz	"%s: ISAC EXIR %x\n"

	.comm	_ISAC_RBCH,4,2                  ; @ISAC_RBCH
l_.str.10:                              ; @.str.10
	.asciz	"%s: ISAC version (%x): %s\n"

	.comm	_ISACVer,8,3                    ; @ISACVer
l_.str.11:                              ; @.str.11
	.asciz	"%s: only support IOM2 mode but adf2=%02x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ISAC_SQXR,4,2                  ; @ISAC_SQXR
	.comm	_ISAC_SPCR,4,2                  ; @ISAC_SPCR
	.comm	_ISAC_STCR,4,2                  ; @ISAC_STCR
	.comm	_ISAC_TIMR,4,2                  ; @ISAC_TIMR
	.comm	_ISAC_ADF1,4,2                  ; @ISAC_ADF1
	.comm	_ISAC_CIR0,4,2                  ; @ISAC_CIR0
l_.str.12:                              ; @.str.12
	.asciz	"%s: ISAC CIR0 %x\n"

	.no_dead_strip	_isac_init
.subsections_via_symbols
