	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocores_isr
_ocores_isr:                            ## @ocores_isr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_OCI2C_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_oc_getreg
	movq	_OCORES_FLAG_BROKEN_IRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_OCI2C_STAT_IF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%edx, (%rbx)
	je	LBB0_4
## %bb.1:
	testl	%eax, %ecx
	je	LBB0_5
## %bb.2:
	movq	_OCI2C_STAT_BUSY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
LBB0_3:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	testl	%eax, %ecx
	je	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ocores_process
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCI2C_STATUS,4,2               ## @OCI2C_STATUS
	.comm	_OCORES_FLAG_BROKEN_IRQ,4,2     ## @OCORES_FLAG_BROKEN_IRQ
	.comm	_OCI2C_STAT_IF,4,2              ## @OCI2C_STAT_IF
	.comm	_OCI2C_STAT_BUSY,4,2            ## @OCI2C_STAT_BUSY
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ocores_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocores_isr
_ocores_isr:                            ; @ocores_isr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _OCI2C_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCI2C_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_oc_getreg
	mov	x1, x0
	ldr	w9, [x19]
Lloh3:
	adrp	x8, _OCORES_FLAG_BROKEN_IRQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OCORES_FLAG_BROKEN_IRQ@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
Lloh6:
	adrp	x8, _OCI2C_STAT_IF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OCI2C_STAT_IF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w0
	tst	w10, w9
	b.eq	LBB0_4
; %bb.1:
	cbz	w8, LBB0_5
; %bb.2:
Lloh9:
	adrp	x8, _OCI2C_STAT_BUSY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OCI2C_STAT_BUSY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w1
	b.ne	LBB0_5
LBB0_3:
Lloh12:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	cbz	w8, LBB0_3
LBB0_5:
	mov	x0, x19
	bl	_ocores_process
Lloh14:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_OCI2C_STATUS,4,2               ; @OCI2C_STATUS
	.comm	_OCORES_FLAG_BROKEN_IRQ,4,2     ; @OCORES_FLAG_BROKEN_IRQ
	.comm	_OCI2C_STAT_IF,4,2              ; @OCI2C_STAT_IF
	.comm	_OCI2C_STAT_BUSY,4,2            ; @OCI2C_STAT_BUSY
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ocores_isr
.subsections_via_symbols
