	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isacsx_cic_irq
_isacsx_cic_irq:                        ## @isacsx_cic_irq
	.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, %r14
	movq	_ISACX_CIR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ReadISAC
	movl	%eax, %ebx
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_ISACX_CIR0_CIC0@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_1
## %bb.2:
	movl	(%r14), %edx
	movl	4(%r14), %esi
	sarl	$4, %ebx
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_pr_debug
	movl	%ebx, (%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_isac_ph_state_change           ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISACX_CIR0,4,2                 ## @ISACX_CIR0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: ISACX CIR0 %02X\n"

	.comm	_ISACX_CIR0_CIC0,4,2            ## @ISACX_CIR0_CIC0
L_.str.1:                               ## @.str.1
	.asciz	"%s: ph_state change %x->%x\n"

	.no_dead_strip	_isacsx_cic_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isacsx_cic_irq
_isacsx_cic_irq:                        ; @isacsx_cic_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ISACX_CIR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISACX_CIR0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ReadISAC
	mov	x20, x0
	ldr	w1, [x19, #4]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_pr_debug
Lloh5:
	adrp	x8, _ISACX_CIR0_CIC0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ISACX_CIR0_CIC0@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldp	w2, w1, [x19]
	asr	w20, w20, #4
	str	x20, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	str	w20, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_isac_ph_state_change
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ISACX_CIR0,4,2                 ; @ISACX_CIR0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: ISACX CIR0 %02X\n"

	.comm	_ISACX_CIR0_CIC0,4,2            ; @ISACX_CIR0_CIC0
l_.str.1:                               ; @.str.1
	.asciz	"%s: ph_state change %x->%x\n"

	.no_dead_strip	_isacsx_cic_irq
.subsections_via_symbols
