	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diva20x_irq
_diva20x_irq:                           ## @diva20x_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	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_spin_lock
	movl	4(%rbx), %edi
	callq	_readb
	movq	_PITA_INT0_STATUS@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	je	LBB0_1
## %bb.2:
	incl	12(%rbx)
	leaq	8(%rbx), %rdi
	movq	_irqloops@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mISDNipac_irq
	movl	(%r14), %edi
	movl	4(%rbx), %esi
	callq	_writeb
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r14
	jmp	LBB0_3
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r14
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PITA_INT0_STATUS,4,2           ## @PITA_INT0_STATUS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_irqloops,4,2                   ## @irqloops
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_diva20x_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diva20x_irq
_diva20x_irq:                           ; @diva20x_irq
	.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
	mov	x0, x1
	bl	_spin_lock
	ldr	w0, [x19, #4]
	bl	_readb
Lloh0:
	adrp	x20, _PITA_INT0_STATUS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PITA_INT0_STATUS@GOTPAGEOFF]
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	add	x0, x19, #8
Lloh2:
	adrp	x8, _irqloops@GOTPAGE
Lloh3:
	ldr	x8, [x8, _irqloops@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_mISDNipac_irq
	ldr	w0, [x20]
	ldr	w1, [x19, #4]
	bl	_writeb
Lloh5:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh8:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PITA_INT0_STATUS,4,2           ; @PITA_INT0_STATUS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_irqloops,4,2                   ; @irqloops
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_diva20x_irq
.subsections_via_symbols
