	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdla_isr
_sdla_isr:                              ## @sdla_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, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	cmpl	$0, 12(%rax)
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_SDLA_S508@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_3
## %bb.4:
	movq	_SDLA_508_IRQ_INTERFACE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movsbl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_warn
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_3:
	movq	_SDLA_502_IRQ_INTERFACE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sdla_byte
	movq	(%rbx), %rax
	movq	_SDLA_S502E@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_SDLA_S502E_INTACK@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	notl	%edi
	andl	8(%rbx), %edi
	movl	%edi, 8(%rbx)
	movq	_SDLA_REG_CONTROL@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	addq	8(%r14), %rsi
	callq	_outb
	movl	8(%rbx), %edi
	orl	(%r12), %edi
	movl	%edi, 8(%rbx)
	movq	(%r13), %rsi
	addq	8(%r14), %rsi
	callq	_outb
	movq	(%rbx), %rax
LBB0_7:
	movb	$0, -41(%rbp)
	cmpq	(%r15), %rax
	jne	LBB0_8
## %bb.9:
	movq	_SDLA_508_IRQ_INTERFACE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_SDLA_502_IRQ_INTERFACE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %esi
	leaq	-41(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_sdla_write
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"irq %d for uninitialized device\n"

	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_SDLA_S508,8,3                  ## @SDLA_S508
	.comm	_SDLA_508_IRQ_INTERFACE,4,2     ## @SDLA_508_IRQ_INTERFACE
	.comm	_SDLA_502_IRQ_INTERFACE,4,2     ## @SDLA_502_IRQ_INTERFACE
	.comm	_SDLA_READ_DLC_STATUS,4,2       ## @SDLA_READ_DLC_STATUS
	.comm	_SDLA_S502E,8,3                 ## @SDLA_S502E
	.comm	_SDLA_S502E_INTACK,4,2          ## @SDLA_S502E_INTACK
	.comm	_SDLA_REG_CONTROL,8,3           ## @SDLA_REG_CONTROL
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_sdla_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdla_isr
_sdla_isr:                              ; @sdla_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x0, x1
	bl	_netdev_priv
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _SDLA_S508@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SDLA_S508@GOTPAGEOFF]
Lloh2:
	adrp	x22, _SDLA_508_IRQ_INTERFACE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SDLA_508_IRQ_INTERFACE@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh4:
	adrp	x23, _SDLA_502_IRQ_INTERFACE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _SDLA_502_IRQ_INTERFACE@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x22, x23, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sdla_byte
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _SDLA_S502E@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SDLA_S502E@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh9:
	adrp	x24, _SDLA_S502E_INTACK@GOTPAGE
Lloh10:
	ldr	x24, [x24, _SDLA_S502E_INTACK@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	w9, [x20, #8]
	bic	w0, w9, w8
	str	w0, [x20, #8]
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x25, _SDLA_REG_CONTROL@GOTPAGE
Lloh12:
	ldr	x25, [x25, _SDLA_REG_CONTROL@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x1, x9, x8
	bl	_outb
	ldr	w8, [x24]
	ldr	w9, [x20, #8]
	orr	w0, w9, w8
	str	w0, [x20, #8]
	ldr	x8, [x19, #8]
	ldr	x9, [x25]
	add	x1, x9, x8
	bl	_outb
	ldr	x8, [x20]
LBB0_3:
	strb	wzr, [sp, #15]
	ldr	x9, [x21]
	cmp	x8, x9
	csel	x8, x22, x23, eq
	ldr	w1, [x8]
	add	x2, sp, #15
	mov	x0, x19
	mov	w3, #1
	bl	_sdla_write
Lloh13:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldrsb	w2, [x19]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_warn
Lloh17:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"irq %d for uninitialized device\n"

	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_SDLA_S508,8,3                  ; @SDLA_S508
	.comm	_SDLA_508_IRQ_INTERFACE,4,2     ; @SDLA_508_IRQ_INTERFACE
	.comm	_SDLA_502_IRQ_INTERFACE,4,2     ; @SDLA_502_IRQ_INTERFACE
	.comm	_SDLA_READ_DLC_STATUS,4,2       ; @SDLA_READ_DLC_STATUS
	.comm	_SDLA_S502E,8,3                 ; @SDLA_S502E
	.comm	_SDLA_S502E_INTACK,4,2          ; @SDLA_S502E_INTACK
	.comm	_SDLA_REG_CONTROL,8,3           ; @SDLA_REG_CONTROL
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_sdla_isr
.subsections_via_symbols
