	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function goldfish_interrupt_task
_goldfish_interrupt_task:               ## @goldfish_interrupt_task
	.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	%rdi, %r14
	leaq	-44(%rbp), %rsi
	callq	_signalled_pipes_pop_front
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	_PIPE_WAKE_CLOSED@GOTPCREL(%rip), %r12
	leaq	-44(%rbp), %r15
	movq	_BIT_CLOSED_ON_HOST@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r13), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	movl	%eax, (%rbx)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_wake_up_interruptible
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_signalled_pipes_pop_front
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %eax
	testl	%eax, (%r12)
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PIPE_WAKE_READ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BIT_WAKE_ON_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movl	-44(%rbp), %eax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_PIPE_WAKE_WRITE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BIT_WAKE_ON_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPE_WAKE_CLOSED,4,2           ## @PIPE_WAKE_CLOSED
	.comm	_BIT_CLOSED_ON_HOST,4,2         ## @BIT_CLOSED_ON_HOST
	.comm	_PIPE_WAKE_READ,4,2             ## @PIPE_WAKE_READ
	.comm	_BIT_WAKE_ON_READ,4,2           ## @BIT_WAKE_ON_READ
	.comm	_PIPE_WAKE_WRITE,4,2            ## @PIPE_WAKE_WRITE
	.comm	_BIT_WAKE_ON_WRITE,4,2          ## @BIT_WAKE_ON_WRITE
	.no_dead_strip	_goldfish_interrupt_task
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function goldfish_interrupt_task
_goldfish_interrupt_task:               ; @goldfish_interrupt_task
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	add	x1, sp, #12
	bl	_signalled_pipes_pop_front
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x21, _PIPE_WAKE_CLOSED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PIPE_WAKE_CLOSED@GOTPAGEOFF]
Lloh2:
	adrp	x22, _PIPE_WAKE_READ@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PIPE_WAKE_READ@GOTPAGEOFF]
Lloh4:
	adrp	x23, _PIPE_WAKE_WRITE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _PIPE_WAKE_WRITE@GOTPAGEOFF]
Lloh6:
	adrp	x24, _BIT_WAKE_ON_WRITE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _BIT_WAKE_ON_WRITE@GOTPAGEOFF]
Lloh8:
	adrp	x25, _BIT_WAKE_ON_READ@GOTPAGE
Lloh9:
	ldr	x25, [x25, _BIT_WAKE_ON_READ@GOTPAGEOFF]
	mov	w26, #1
Lloh10:
	adrp	x27, _BIT_CLOSED_ON_HOST@GOTPAGE
Lloh11:
	ldr	x27, [x27, _BIT_CLOSED_ON_HOST@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	lsl	w8, w26, w8
	str	w8, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x20, #4
	bl	_wake_up_interruptible
	add	x1, sp, #12
	mov	x0, x19
	bl	_signalled_pipes_pop_front
	mov	x20, x0
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	mov	x1, x20
	bl	_clear_bit
	ldr	w8, [sp, #12]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24]
	mov	x1, x20
	bl	_clear_bit
	b	LBB0_3
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PIPE_WAKE_CLOSED,4,2           ; @PIPE_WAKE_CLOSED
	.comm	_BIT_CLOSED_ON_HOST,4,2         ; @BIT_CLOSED_ON_HOST
	.comm	_PIPE_WAKE_READ,4,2             ; @PIPE_WAKE_READ
	.comm	_BIT_WAKE_ON_READ,4,2           ; @BIT_WAKE_ON_READ
	.comm	_PIPE_WAKE_WRITE,4,2            ; @PIPE_WAKE_WRITE
	.comm	_BIT_WAKE_ON_WRITE,4,2          ; @BIT_WAKE_ON_WRITE
	.no_dead_strip	_goldfish_interrupt_task
.subsections_via_symbols
