	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tifm_7xx1_isr
_tifm_7xx1_isr:                         ## @tifm_7xx1_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	%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	%rsi, %r12
	leaq	8(%rsi), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	_FM_INTERRUPT_STATUS@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	16(%r12), %rdi
	callq	_readl
	movl	%eax, %r15d
	leal	1(%r15), %eax
	cmpl	$2, %eax
	jae	LBB0_2
## %bb.1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	jmp	LBB0_20
LBB0_2:
	movq	_TIFM_IRQ_ENABLE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	testl	%r15d, %edi
	je	LBB0_14
## %bb.3:
	movq	_FM_CLEAR_INTERRUPT_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r12), %rsi
	callq	_writel
	cmpl	$0, (%r12)
	je	LBB0_4
## %bb.5:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movl	(%r12), %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %rax
	movq	(%rax,%rbx,8), %r13
	testq	%r13, %r13
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%r15d, %r14d
	movl	%ebx, %ecx
	shrl	%cl, %r14d
	movl	$1, %edi
	callq	_TIFM_IRQ_FIFOMASK
	testl	%r14d, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	*8(%r13)
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	callq	_TIFM_IRQ_CARDMASK
	testl	%r14d, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	*(%r13)
	jmp	LBB0_11
LBB0_12:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	_TIFM_IRQ_ENABLE@GOTPCREL(%rip), %r13
	movq	_FM_INTERRUPT_STATUS@GOTPCREL(%rip), %rbx
	jmp	LBB0_13
LBB0_4:
	xorl	%ecx, %ecx
LBB0_13:
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %eax
	notl	%eax
	movl	%r15d, %ecx
	andl	%eax, %ecx
	orl	%ecx, 4(%r12)
LBB0_14:
	movq	(%rbx), %rsi
	addq	16(%r12), %rsi
	movl	%r15d, %edi
	callq	_writel
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_complete_all
	jmp	LBB0_19
LBB0_16:
	cmpl	$0, 4(%r12)
	je	LBB0_17
## %bb.18:
	addq	$12, %r12
	movq	%r12, %rdi
	callq	_tifm_queue_work
	jmp	LBB0_19
LBB0_17:
	movl	(%r13), %edi
	movq	_FM_SET_INTERRUPT_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r12), %rsi
	callq	_writel
LBB0_19:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
LBB0_20:
	movq	%r14, %rdi
	callq	_spin_unlock
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM_INTERRUPT_STATUS,8,3        ## @FM_INTERRUPT_STATUS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_TIFM_IRQ_ENABLE,4,2            ## @TIFM_IRQ_ENABLE
	.comm	_FM_CLEAR_INTERRUPT_ENABLE,8,3  ## @FM_CLEAR_INTERRUPT_ENABLE
	.comm	_FM_SET_INTERRUPT_ENABLE,8,3    ## @FM_SET_INTERRUPT_ENABLE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_tifm_7xx1_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tifm_7xx1_isr
_tifm_7xx1_isr:                         ; @tifm_7xx1_isr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	add	x19, x1, #8
	mov	x0, x19
	bl	_spin_lock
	ldr	x8, [x20, #16]
Lloh0:
	adrp	x24, _FM_INTERRUPT_STATUS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FM_INTERRUPT_STATUS@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x0, x9, x8
	bl	_readl
	add	w8, w0, #1
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
Lloh2:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_18
LBB0_2:
	mov	x21, x0
Lloh4:
	adrp	x23, _TIFM_IRQ_ENABLE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _TIFM_IRQ_ENABLE@GOTPAGEOFF]
	ldr	w0, [x23]
	tst	w0, w21
	b.eq	LBB0_12
; %bb.3:
	ldr	x8, [x20, #16]
Lloh6:
	adrp	x9, _FM_CLEAR_INTERRUPT_ENABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FM_CLEAR_INTERRUPT_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x20]
	cbz	w8, LBB0_11
; %bb.4:
	mov	x25, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	ldr	w8, [x20]
	cmp	x25, x8
	b.hs	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	ldr	x22, [x8, x25, lsl #3]
	cbz	x22, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	lsr	w26, w21, w25
	mov	w0, #1
	bl	_TIFM_IRQ_FIFOMASK
	tst	w0, w26
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22, #8]
	mov	x0, x22
	blr	x8
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	bl	_TIFM_IRQ_CARDMASK
	tst	w0, w26
	b.eq	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22]
	mov	x0, x22
	blr	x8
	b	LBB0_5
LBB0_11:
	mov	w9, #-1
	lsl	w8, w9, w8
	bic	w8, w21, w8
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_12:
	ldr	x8, [x20, #16]
	ldr	x9, [x24]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_14
; %bb.13:
	bl	_complete_all
	b	LBB0_17
LBB0_14:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_16
; %bb.15:
	add	x0, x20, #12
	bl	_tifm_queue_work
	b	LBB0_17
LBB0_16:
	ldr	w0, [x23]
	ldr	x8, [x20, #16]
Lloh9:
	adrp	x9, _FM_SET_INTERRUPT_ENABLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FM_SET_INTERRUPT_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
LBB0_17:
Lloh12:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_18:
	mov	x0, x19
	bl	_spin_unlock
	ldr	w0, [x20]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FM_INTERRUPT_STATUS,8,3        ; @FM_INTERRUPT_STATUS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_TIFM_IRQ_ENABLE,4,2            ; @TIFM_IRQ_ENABLE
	.comm	_FM_CLEAR_INTERRUPT_ENABLE,8,3  ; @FM_CLEAR_INTERRUPT_ENABLE
	.comm	_FM_SET_INTERRUPT_ENABLE,8,3    ; @FM_SET_INTERRUPT_ENABLE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_tifm_7xx1_isr
.subsections_via_symbols
