	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w83977af_interrupt
_w83977af_interrupt:                    ## @w83977af_interrupt
	.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, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movl	(%rax), %eax
	movslq	%eax, %rbx
	movq	_SSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inb
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_SET0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_switch_bank
	movq	_ICR@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	callq	_inb
	movl	%eax, %r13d
	movq	_ISR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inb
	movl	%eax, %r12d
	movq	(%r14), %rsi
	addq	%rbx, %rsi
	xorl	%edi, %edi
	callq	_outb
	andl	%r13d, %r12d
	je	LBB0_5
## %bb.1:
	movq	8(%r15), %rax
	movq	_PIO_MAX_SPEED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_w83977af_fir_interrupt
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_w83977af_sir_interrupt
LBB0_4:
	movl	%eax, %r13d
LBB0_5:
	movq	(%r14), %rsi
	addq	%rbx, %rsi
	movl	%r13d, %edi
	callq	_outb
	movq	_SSR@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_outb
	movl	%r12d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SSR,8,3                        ## @SSR
	.comm	_SET0,4,2                       ## @SET0
	.comm	_ICR,8,3                        ## @ICR
	.comm	_ISR,8,3                        ## @ISR
	.comm	_PIO_MAX_SPEED,8,3              ## @PIO_MAX_SPEED
	.no_dead_strip	_w83977af_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w83977af_interrupt
_w83977af_interrupt:                    ; @w83977af_interrupt
	.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	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	w21, [x0]
	sxtw	x23, w21
Lloh0:
	adrp	x24, _SSR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SSR@GOTPAGEOFF]
	ldr	x8, [x24]
	add	x0, x8, x23
	bl	_inb
	mov	x19, x0
Lloh2:
	adrp	x8, _SET0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SET0@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_switch_bank
Lloh5:
	adrp	x25, _ICR@GOTPAGE
Lloh6:
	ldr	x25, [x25, _ICR@GOTPAGEOFF]
	ldr	x8, [x25]
	add	x0, x8, x23
	bl	_inb
	mov	x22, x0
Lloh7:
	adrp	x8, _ISR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ISR@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	add	x0, x8, x23
	bl	_inb
	and	w21, w0, w22
	ldr	x8, [x25]
	add	x1, x8, x23
	mov	w0, #0
	bl	_outb
	cbz	w21, LBB0_5
; %bb.1:
	ldr	x8, [x20, #8]
Lloh10:
	adrp	x9, _PIO_MAX_SPEED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PIO_MAX_SPEED@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	mov	x0, x20
	mov	x1, x21
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
	bl	_w83977af_fir_interrupt
	b	LBB0_4
LBB0_3:
	bl	_w83977af_sir_interrupt
LBB0_4:
	mov	x22, x0
LBB0_5:
	ldr	x8, [x25]
	add	x1, x8, x23
	mov	x0, x22
	bl	_outb
	ldr	x8, [x24]
	add	x1, x8, x23
	mov	x0, x19
	bl	_outb
	mov	x0, x21
	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
	b	_IRQ_RETVAL
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SSR,8,3                        ; @SSR
	.comm	_SET0,4,2                       ; @SET0
	.comm	_ICR,8,3                        ; @ICR
	.comm	_ISR,8,3                        ; @ISR
	.comm	_PIO_MAX_SPEED,8,3              ; @PIO_MAX_SPEED
	.no_dead_strip	_w83977af_interrupt
.subsections_via_symbols
