	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wbsd_irq
_wbsd_irq:                              ## @wbsd_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_WBSD_ISR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	24(%rsi), %rdi
	callq	_inb
	movq	_IRQ_NONE@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	movl	%eax, %ebx
	cmpl	$255, %eax
	je	LBB0_12
## %bb.2:
	orl	%ebx, (%r14)
	movq	_WBSD_INT_CARD@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	20(%r14), %rdi
	callq	_tasklet_schedule
LBB0_4:
	movq	_WBSD_INT_FIFO_THRE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	16(%r14), %rdi
	callq	_tasklet_schedule
LBB0_6:
	movq	_WBSD_INT_CRC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	12(%r14), %rdi
	callq	_tasklet_hi_schedule
LBB0_8:
	movq	_WBSD_INT_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	8(%r14), %rdi
	callq	_tasklet_hi_schedule
LBB0_10:
	movq	_WBSD_INT_TC@GOTPCREL(%rip), %rax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_tasklet_schedule
LBB0_12:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WBSD_ISR,8,3                   ## @WBSD_ISR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_WBSD_INT_CARD,4,2              ## @WBSD_INT_CARD
	.comm	_WBSD_INT_FIFO_THRE,4,2         ## @WBSD_INT_FIFO_THRE
	.comm	_WBSD_INT_CRC,4,2               ## @WBSD_INT_CRC
	.comm	_WBSD_INT_TIMEOUT,4,2           ## @WBSD_INT_TIMEOUT
	.comm	_WBSD_INT_TC,4,2                ## @WBSD_INT_TC
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_wbsd_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wbsd_irq
_wbsd_irq:                              ; @wbsd_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
	ldr	x8, [x1, #24]
Lloh0:
	adrp	x9, _WBSD_ISR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WBSD_ISR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_inb
Lloh3:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	cbz	w0, LBB0_13
; %bb.1:
	mov	x20, x0
	cmp	w0, #255
	b.eq	LBB0_13
; %bb.2:
	ldr	w8, [x19]
	orr	w8, w8, w20
	str	w8, [x19]
Lloh5:
	adrp	x8, _WBSD_INT_CARD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WBSD_INT_CARD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	add	x0, x19, #20
	bl	_tasklet_schedule
LBB0_4:
Lloh8:
	adrp	x8, _WBSD_INT_FIFO_THRE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WBSD_INT_FIFO_THRE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	add	x0, x19, #16
	bl	_tasklet_schedule
LBB0_6:
Lloh11:
	adrp	x8, _WBSD_INT_CRC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WBSD_INT_CRC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	add	x0, x19, #12
	bl	_tasklet_hi_schedule
LBB0_8:
Lloh14:
	adrp	x8, _WBSD_INT_TIMEOUT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WBSD_INT_TIMEOUT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
	add	x0, x19, #8
	bl	_tasklet_hi_schedule
LBB0_10:
Lloh17:
	adrp	x8, _WBSD_INT_TC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WBSD_INT_TC@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_12
; %bb.11:
	add	x0, x19, #4
	bl	_tasklet_schedule
LBB0_12:
Lloh20:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_WBSD_ISR,8,3                   ; @WBSD_ISR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_WBSD_INT_CARD,4,2              ; @WBSD_INT_CARD
	.comm	_WBSD_INT_FIFO_THRE,4,2         ; @WBSD_INT_FIFO_THRE
	.comm	_WBSD_INT_CRC,4,2               ; @WBSD_INT_CRC
	.comm	_WBSD_INT_TIMEOUT,4,2           ; @WBSD_INT_TIMEOUT
	.comm	_WBSD_INT_TC,4,2                ; @WBSD_INT_TC
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_wbsd_irq
.subsections_via_symbols
