	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in_intr
_in_intr:                               ## @in_intr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rsi
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_find_port_by_vq
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	leaq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_get_inbuf
	movl	%eax, 16(%rbx)
	cmpl	$0, 12(%rbx)
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_discard_port_data
LBB0_3:
	movq	%rbx, %rdi
	callq	_send_sigio_to_port
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_wake_up_interruptible
	movq	%rbx, %rdi
	callq	_is_console_port
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	callq	_hvc_poll
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hvc_kick                       ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_in_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in_intr
_in_intr:                               ; @in_intr
	.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	x1, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_find_port_by_vq
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x20, x0, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_get_inbuf
	str	w0, [x19, #16]
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_discard_port_data
LBB0_3:
	mov	x0, x19
	bl	_send_sigio_to_port
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x0, x19, #4
	bl	_wake_up_interruptible
	mov	x0, x19
	bl	_is_console_port
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x19]
	bl	_hvc_poll
	cbz	x0, LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hvc_kick
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_in_intr
.subsections_via_symbols
